Vibe Coding Prompts

Prompt patterns you can reuse today

Strong prompts define role, objective, constraints, and quality bar. Start from these templates, then tune for your stack.

Feature Implementation

You are a senior [framework] engineer.
Build [feature] with these constraints:
- Keep existing API unchanged
- Add tests for edge cases
- Explain tradeoffs
Return: patch + test plan.

Code Review

Review this diff for:
1) bugs and regressions
2) security risks
3) missing tests
Prioritize findings by severity
with exact file and line references.

Refactor Safely

Refactor [module] to improve readability.
Do not change behavior.
Keep public interfaces stable.
List assumptions and add verification steps.

Debugging Sprint

Given error logs and stack trace,
identify likely root causes,
rank hypotheses, and propose
minimal tests to confirm each one.