Skip to content

Instantly share code, notes, and snippets.

@librz
Last active July 10, 2026 07:12
Show Gist options
  • Select an option

  • Save librz/710c80408091d44606eb718a5ce2f57a to your computer and use it in GitHub Desktop.

Select an option

Save librz/710c80408091d44606eb718a5ce2f57a to your computer and use it in GitHub Desktop.
Prompts I find useful when vide coding

feature implement or bug fix

  • Analyze carefully and propose a solution

understand complex systems

  • Depict the process/plan: generates flowcharts or architecture diagrams
  • Show me the data flow: traces how information moves through the code
  • Visualize the state transitions: useful for UI
  • Map the dependencies: clarifies what relies on what
  • What would be the naive implementation of this: builds intition for why complexity matters

refine output quality

  • Before writing the code, outline test cases that needs to pass: improves correctness
  • Generate the implementation, then refactor for readability: two-step quality pass
  • What's still hard coded that should be configurable: surfaces technical debt early

maintain context across long sessions

  • Summarize architecture decisions so far: prevents drift
  • List the constraints we've agreed on: keep implicit requirements explicit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment