Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 627 Bytes

ai_coder_prompt_sequence.md

File metadata and controls

14 lines (11 loc) · 627 Bytes

Fancy prompt chain for building up a context for greenfield AI coding

labels: prompting, llm, open_source

Eliminate ambiguity as much as possible as early as possible.

  1. Start with requirements and completion criteria.
  2. Turn that into a PR/FAQ.
  3. Systems diagrams (mermaid) to accompany narrative explanations.
  4. README for ergonomics.
  5. Check in on anything that was hallucinated you might want to address upstream.
  6. Generate tests to formalize the desired behaviors and completion criteria.
  7. Double check that tests cover desired behaviors and aren't overly complicated/mocked
  8. Generate non test code.