Agent skill

debugging-auto

Hidden automatic debugging when something breaks - user sees simple question or "fixing..." not stack traces or technical errors

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/timequity/vibe-coder/tree/main/skills/debugging-auto

SKILL.md

Automatic Debugging

Overview

Part of the hidden validation layer. When code breaks during generation, fix it automatically without exposing technical details to user.

Core principle: User describes WHAT. We handle HOW - including when things break.

When This Runs (Automatically)

  • Test failures during /mvp:build
  • Build errors after /mvp:add
  • Runtime errors in preview
  • Any unexpected behavior

The Process

1. Capture Error (Hidden)

// User doesn't see this
Error: Cannot read property 'map' of undefined
  at UserList.tsx:15
  at renderWithHooks...

2. Analyze Root Cause (Hidden)

Apply systematic-debugging principles:

  • What line failed?
  • What value is undefined?
  • Where should it come from?
  • Why is it missing?

3. Fix Automatically (Hidden)

typescript
// Before (broken)
const users = props.users;
return users.map(u => <User key={u.id} {...u} />);

// After (fixed)
const users = props.users ?? [];
return users.map(u => <User key={u.id} {...u} />);

4. Verify Fix (Hidden)

  • Run tests
  • Check build
  • Smoke test feature

5. Continue (User Sees Progress)

If fixed: Continue silently, user never knows

If can't fix: Ask simple question

User-Facing Questions

Technical error → Simple question:

Error User Question
undefined is not iterable "Should the list show empty when there's no data, or a message?"
401 Unauthorized "Does this feature need login to work?"
ENOENT: no such file "Where should we save the uploaded files?"
Foreign key constraint "Can a user have multiple projects, or just one?"

What User NEVER Sees

  • Stack traces
  • Error codes
  • Technical jargon
  • "npm install failed"
  • "TypeScript error TS2345"
  • File paths
  • Line numbers

What User MAY See

  • "Fixing a small issue..."
  • "Making some adjustments..."
  • Simple question about their preferences
  • "✅ Done!"

Escalation

After 3 auto-fix attempts fail:

  1. Don't show technical error
  2. Ask clarifying question about the feature
  3. If still fails, simplify the feature
  4. "I'll add a basic version first, we can enhance it later"

Integration

Called by:

  • verification-gate - When any check fails
  • All /mvp:* commands on error

Uses internally:

  • systematic-debugging principles (hidden)
  • root-cause-tracing (hidden)

Philosophy

The magic of vibe coding is that users don't need to be developers.

Every error message we show breaks that illusion.

Fix it silently. Ask simple questions. Never blame the user.

Expand your agent's capabilities with these related and highly-rated skills.

timequity/vibe-coder

mvp-help

Help and documentation for Idea to MVP plugin. Use when: user asks about building MVPs, vibe coding, or available commands. Triggers: "help", "what can you do", "mvp help", "how to build".

0 0
Explore
timequity/vibe-coder

verification-gate

Hidden quality gate that runs before showing "Done!" to user - ensures all tests pass, build succeeds, and requirements met before claiming completion

0 0
Explore
timequity/vibe-coder

brainstorming

Refine ideas into detailed designs through Socratic dialogue. Use when: user has rough idea, needs to clarify requirements, explore approaches. Triggers: "brainstorm", "discuss idea", "I'm thinking about", "what if", "help me think through", "explore options", "/brainstorm".

0 0
Explore
timequity/vibe-coder

subagent-creator

Guide for creating effective subagents (custom agents). Use when users want to create a new subagent that can be dispatched via Task tool for autonomous work. Covers frontmatter fields (name, description, tools, model, permissionMode, skills), prompt design, and when to use subagents vs skills.

0 0
Explore
timequity/vibe-coder

backend-rust

Modern Rust backend with Axum, SQLx, tokio + CI/CD automation. Use when: building Rust APIs, high-performance services, or needing build/test/lint/audit automation. Triggers: "axum", "rust backend", "rust api", "sqlx", "tokio", "cargo build", "cargo test", "clippy", "rustfmt", "cargo-audit", "cross-compile", "rust ci", "release build", "rust security", "shuttle", "actix".

0 0
Explore
timequity/vibe-coder

test-driven-development

Write failing test first, then minimal code to pass. Red-Green-Refactor cycle. Use when: implementing features, fixing bugs, refactoring code. Triggers: "implement", "add feature", "fix bug", "tdd", "test first", "write tests", "test-driven".

0 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results