About

Some prompts snippets I have found useful and [mostly] effective through my agentic coding workflows.

/research

  • 1 Read {X{,Y,Z)}} in depth, understand how it works deeply, what it does and all its specificities. When that’s done,
  • 1 Study {X{,Y,Z)}} in great details, understand the intricacies of it and
    • write a detailed report of your learnings and findings in research.md
    • help me refactor…
    • help me test…
    • help me debug…
    • help me implement…

/refactor

  • What should we refactor next?
  • Where is complexity increasing?

DRY

  • Can you identify DRY opportunities between X and Y implementations?
  • Can you identify significant simplification opportunities to reduce cognitive load?
  • Can you identify separation of concerns?

/test


  • What tests are missing?

  • Are there any missing important tests when compared to similar implementations X/Y/Z?

  • Are there any re-organization opportunities to homogenize & reduce cognitive load (compared to other implementations)?

/debug

  • 1 Go through {X{,Y,Z)}}, understand it deeply and look for potential bugs. There definitely are bugs in the system as it sometimes {DO A(,B,C)}. Keep researching the flow until you find all the bugs, don’t stop until all the bugs are found. When you’re done, write a detailed report of your findings in research.md

Coder vs Reviewer roles:

OK I went ahead and made the refactor/fix myself. Can you compare it against your recommendations/plan, and let me know any constructive critiques, gaps or improvements I might be missing?


Citations

Footnotes

  1. boristane.com/blog/how-i-use-claude-code 2 3