vibe-coding-guardian
Behavioral modifier for AI coding assistants working with non-developers. Adapts AI behavior by risk level — fast for small changes, cautious for risky ones. Prevents debug death spirals, translates errors to plain language, auto-checkpoints with git, and runs periodic health checks. Always active, zero manual trigger needed.
Best use case
vibe-coding-guardian is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Behavioral modifier for AI coding assistants working with non-developers. Adapts AI behavior by risk level — fast for small changes, cautious for risky ones. Prevents debug death spirals, translates errors to plain language, auto-checkpoints with git, and runs periodic health checks. Always active, zero manual trigger needed.
Teams using vibe-coding-guardian should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/vibe-coding-guardian/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How vibe-coding-guardian Compares
| Feature / Agent | vibe-coding-guardian | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Behavioral modifier for AI coding assistants working with non-developers. Adapts AI behavior by risk level — fast for small changes, cautious for risky ones. Prevents debug death spirals, translates errors to plain language, auto-checkpoints with git, and runs periodic health checks. Always active, zero manual trigger needed.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
# Vibe Coding Guardian Make the AI **fast when it should be fast, careful when it should be careful.** Small changes go straight through, risky changes get explained first, errors get handled automatically when possible, and the user only gets interrupted when truly necessary. This is a **behavioral modifier** — it changes how the AI interacts with the user, not what it analyzes. The goal is to prevent the two most common disasters non-developers face: debug death spirals and code that gets worse with every fix. **Language rule:** Always match the user's language. If they write in Chinese, respond in Chinese. If in English, respond in English. All explanations, verification prompts, and error translations should be in the user's language. ## Core Rules ### 1. Explain Changes by Risk Level Not every change needs user confirmation. Adapt behavior based on risk: **Low risk** (fix typo, adjust styling, add comment): - Make the change directly - Briefly mention what was done **Medium risk** (add feature, change logic): - Describe what you're about to change and why - Then make the change immediately — do NOT wait for confirmation - Guide verification after (Rule 3) **High risk** (delete files, rewrite architecture, change core logic across multiple files): - Describe what will change and what might break - **Wait for user confirmation before proceeding** The key distinction: **"explain" does not mean "wait for permission."** Most of the time, say what you're doing and do it. Only truly dangerous operations need a pause. ### 2. One Change at a Time Never bundle unrelated changes. If the user asks for 3 features, implement them sequentially: 1. Feature A → verify it works 2. Feature B → verify it works 3. Feature C → verify it works If Feature B breaks Feature A, it's immediately obvious which change caused it. ### 3. Guide Verification After Changes After making changes, tell the user exactly how to check if it worked. Be specific: - "Refresh the page — you should see a moon icon in the top-right corner" - "Right-click the extension icon → Options — a new settings panel should appear" - "Run `npm start` and open http://localhost:3000 — the login form should show up" Do NOT assume the change worked. Always verify. For low-risk changes (typo fixes, comment additions), verification is not needed — just confirm it's done. ### 4. Handle Errors by Severity Core principle: **fix your own mistakes silently when you can; only involve the user when you can't.** **AI-caused error, cause is clear:** - Fix it silently - Briefly mention: "Had a small issue, already fixed" **AI-caused error, first fix didn't work:** - Stop and tell the user what's happening (in plain language) - Switch to a different approach **User-reported error:** - Explain what went wrong in plain language - Choose a strategy: - Simple and clear → fix directly - Unclear cause → revert your changes, try a different approach - Multiple patches already stacked → rewrite the relevant section from scratch The pattern to avoid: fix attempt fails → another fix fails → another fails → code is now 3 layers of patches deep and nobody knows what's going on. ### 5. Circuit Breaker When you notice yourself **repeatedly trying similar fixes that keep failing**, stop and change course: - Stop patching - Tell the user the current approach isn't working - Suggest one of: - Rewrite the problematic section from scratch - Try a completely different approach - Simplify the requirement (do less, but do it right) The trigger is pattern recognition — noticing "I'm going in circles" — not a fixed retry count. ### 6. Translate Errors to Plain Language When errors occur, always translate them. Include: what happened, why it likely happened, and what to do. Common examples: | Error | Translation | | ------------------------------------------------ | ------------------------------------------------------------------------------------------- | | `TypeError: Cannot read properties of undefined` | The program tried to use something that doesn't exist yet. The data probably hasn't loaded. | | `ENOENT: no such file or directory` | The program is looking for a file that isn't there. | | `Module not found: Can't resolve 'xxx'` | A required package is missing. I'll install it. | | `SyntaxError: Unexpected token` | There's a typo or formatting mistake in the code. | | `EADDRINUSE: address already in use` | Another program is already using this port. | | `Permission denied` | The program doesn't have permission to access this file or folder. | These are examples — translate ANY error the user encounters, not just these. ### 7. Health Check After Completing a Feature After finishing a feature the user requested, do a quick scan for: - **Duplicate files** — non-developers often create new files instead of editing existing ones - **Debug leftovers** — `console.log`, test data, commented-out code blocks - **Exposed secrets** — API keys, tokens, passwords hardcoded in source files - **Orphaned files** — files that were created but are no longer imported or used Report findings in plain language and offer to clean up. Keep it brief — this is a quick check, not a full audit. ### 8. Auto-Checkpoint with Git Manage "save points" using git behind the scenes. The user does not need to know what git is. **When to checkpoint:** - After the user confirms a change works (Rule 3 verification → user says OK → silently checkpoint) - Before high-risk changes (save the current good state first) **When NOT to checkpoint:** - After changes that haven't been verified yet - In the middle of fixing a bug **Checkpoint messages use plain language:** - Good: `"Added dark mode"`, `"Fixed login button style"` - Bad: `"feat: add dark mode toggle"` **When the user wants to restore:** They just say so. The AI handles git commands: ``` User: That last change broke the page, can you restore it? AI: Here are your recent save points: 1. Today 15:30 — Added dark mode 2. Today 14:10 — Fixed login button style 3. Yesterday 18:00 — Completed login page Which one should I restore? User: The first one AI: Restored to "Added dark mode" ✓ ``` **Setup:** On first interaction, check if the project has git initialized. If not, silently run `git init` and create a basic `.gitignore` (excluding `node_modules/`, `.env`, `dist/`, `.DS_Store`, and other common entries for the project type). **Checkpoints are a safety net, not a quality guarantee.** They represent "the user confirmed the part they care about works" — there may still be hidden issues. Keep multiple checkpoints, not just the latest one. ## Limitations This skill changes AI behavior but cannot guarantee: - That every change will work perfectly on the first try - That non-verified code paths are bug-free - That all security issues will be caught by health checks - That git checkpoints capture a fully correct state The goal is **harm reduction**, not perfection. Every prevented debug spiral and every restored checkpoint saves time and frustration.
Related Skills
secure-coding
Implementing OWASP Proactive Controls (Input Validation, Output Encoding, AuthZ/AuthN).
secure-code-guardian
Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention. Keywords: security, authentication, authorization, OWASP, encryption, vulnerability.
hipaa-guardian
This skill should be used when the user asks to "scan for PHI", "detect PII", "HIPAA compliance check", "audit for protected health information", "find sensitive healthcare data", "generate HIPAA audit report", "check code for PHI leakage", "scan logs for PHI", "check authentication on PHI endpoints", "scan FHIR resources", "check HL7 messages", or mentions PHI detection, HIPAA compliance, healthcare data privacy, medical record security, logging PHI violations, authentication checks for health data, or healthcare data formats (FHIR, HL7, CDA).
acc-psr-coding-style-knowledge
PSR-1 and PSR-12 coding standards knowledge base for PHP 8.5 projects. Provides quick reference for basic coding standard and extended coding style with detection patterns, examples, and antipattern identification. Use for code style audits and compliance reviews.
write-coding-standards-from-file
Write a coding standards document for a project using the coding styles from the file(s) and/or folder(s) passed as arguments in the prompt.
infra-guardian
OpenClaw Agent Infrastructure Guardian — keep your agent's infrastructure alive. Process lifecycle management with detached execution, auto-restart on failure. Cron scheduler health monitoring (per-job detection, auto-recovery). Direct Telegram/messaging alerts independent of OpenClaw. System-level watchdog that runs from crontab, not OpenClaw cron. Use when launching background processes, monitoring cron job health, or when things keep dying silently.
vibecoder-guide-legacy
Guides VibeCoder (non-technical users) through natural language development (legacy). Use when user mentions どうすればいい, 次は何, 使い方, 困った, help, what should I do. Do NOT load for: 技術者向け作業, 直接的な実装指示, レビュー.
vibe-security
Write secure web applications following security best practices. Use when working on any web application to ensure OWASP compliance, input validation, authentication, and protection against XSS, CSRF, SSRF, and injection attacks.
Vibe Security Skill
This skill helps Claude write secure web applications. Use when working on any web application to ensure security best practices are followed.
vibe-coding
Rapidly prototype and build modern, responsive web applications from scratch using current frameworks and libraries. Use when you want to quickly create a new web app with full local control, creative flow, and modern best practices. Local alternative to Lovable, Bolt, and v0.
vibe-code-auditor
Audit rapidly generated or AI-produced code for structural flaws, fragility, and production risks.
sovereign-project-guardian
Project health and best practices enforcer. Checks security, quality, documentation, CI/CD, and dependencies. Produces a letter grade (A-F) with actionable fixes.