Knowledge Base

Vibe Coding Resources

Master the art of AI collaboration with our curated prompts, extensions, and principles.

πŸ’¬ The Prompt Library

Copy-paste these "Golden Prompts" to get better results from Cursor, Copilot, or ChatGPT.

The "Vibe Check" Refactor

Use this when AI code feels robotic or repetitive.

Refactor this code to be more idiomatic and "human". - Remove unnecessary comments that just describe the code. - Use descriptive variable names that reveal intent (e.g., 'isUserLoggedIn' instead of 'flag'). - Flatten nested if-statements using guard clauses. - Prefer readability over clever one-liners. - Add a JSDoc/docstring explaining the *why*, not just the *how*.

The Socratic Debugger

Stop the AI from guessing blindly. Make it think.

I am encountering this error: [PASTE ERROR] Don't just fix it. First, explain 3 possible causes for this error in this specific context. Then, ask me one clarifying question to narrow it down. Once I answer, propose the most robust fix.

The "Explain Like I'm a Junior" Doc

Generate documentation that actually teaches.

Write documentation for this component/function. Target audience: A junior developer joining the team tomorrow. Include: 1. A high-level summary of what this does and *why* it exists. 2. A "Gotchas" section warning about common pitfalls or edge cases. 3. An example usage scenario. Tone: Helpful, encouraging, and clear. Avoid jargon where possible.

πŸ“œ The Human Code Manifesto

🎨

Code is for Humans

Computers run code, but humans read it. Optimize for the poor soul who has to debug this in 6 months (it might be you).

🚫

No Magic Numbers

If a number or string has meaning, give it a name. `MAX_RETRIES` is better than `3`.

🧹

Leave It Better

The Boy Scout Rule: Always leave the code cleaner than you found it. Fix that typo. Rename that variable.

πŸ€–

AI is a Tool, Not a Crutch

Don't accept code you don't understand. If the AI writes it, you must own it.

✨

Vibe Over Brevity

Short code is good. Clear code is better. Don't sacrifice clarity to save a few keystrokes.

Essential Extensions

Level up your editor to spot AI patterns faster.

Better Comments

Highlight different types of comments with colors.

Why it matters: Makes it easier to spot AI's "what" comments vs human "why" comments.

Code Spell Checker

Catch typos in your code.

Why it matters: Ironically, typos are a human signal. But still fix them! πŸ˜„

Indent Rainbow

Colorize indentation levels.

Why it matters: Helps you see the "shape" of codeβ€”AI tends to be very linear.

Error Lens

Inline error messages.

Why it matters: Catch AI's tendency to generate syntactically correct but logically flawed code.

GitLens

Supercharge Git capabilities inside VS Code.

Why it matters: See who wrote what and when. Essential for tracking AI-generated commits.

Prettier

Opinionated code formatter.

Why it matters: Enforces consistent style, making AI code blend in seamlessly with human code.

ESLint

Find and fix problems in your JavaScript code.

Why it matters: Catch potential bugs and enforce coding standards that AI might ignore.