一键导入
vdt-fix
Fix bugs with single-agent reasoning loop. Demonstrates Pattern 1: Single Agent Architecture.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fix bugs with single-agent reasoning loop. Demonstrates Pattern 1: Single Agent Architecture.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Brainstorm solutions with trade-off analysis and brutal honesty. Use for ideation, architecture decisions, technical debates, feature exploration, feasibility assessment, design discussions.
Implement features, plans, and fixes with structured workflow. Use for feature development, plan execution, code implementation pipelines.
Analyze codebase and manage project documentation. Use for doc initialization, updates, summaries, codebase analysis.
Git operations with conventional commits. Use for staging, committing, pushing, PRs, merges. Auto-splits commits by type/scope. Security scans for secrets.
Assess, route, fix, and verify in a loop until tests pass. Demonstrates Pattern 5: Conditional + Loop.
Plan implementations, design architectures, create technical roadmaps with detailed phases. Use for feature planning, system design, solution architecture, implementation strategy, phase documentation.
| name | vdt:fix |
| description | Fix bugs with single-agent reasoning loop. Demonstrates Pattern 1: Single Agent Architecture. |
| user-invocable | true |
| when_to_use | Invoke when there is a concrete bug to fix. One-shot reasoning loop. |
| category | utilities |
| keywords | ["bugfix","single-agent","reasoning-loop","pattern-1"] |
| argument-hint | [error description] |
| metadata | {"author":"vdt-demo","version":"1.0.0"} |
One-shot bug fix using a reasoning loop: Read → Reason → Fix → Test → Done.
/vdt:fix "TypeError: Cannot read property 'email' of null at auth/login.ts:45"
debugger agent if root cause is unclearnpm test to verify fixThis is a SINGLE agent with a reasoning loop — no delegation to multiple agents, no retry loops, no conditional routing. Just: read, think, fix, verify.
🧠 Reason: "I need to read the file to understand context"
📖 Read: src/auth/login.ts — see null access at line 45
🧠 Reason: "user can be null, need early return with 401"
🔧 Fix: Add null check before accessing user.email
🧪 Test: npm test → All pass ✅