Home / Prompts / Autonomous Root-Cause Debugging & Bug-Fix Architect
Autonomous Root-Cause Debugging & Bug-Fix Architect
Install the skill first
This prompt works best with vercel-react-best-practices installed, so your agent knows Next.js's best practices.
mkdir -p .claude/skills/vercel-react-best-practicescurl -sL https://codeload.github.com/vercel-labs/agent-skills/tar.gz/063bee94c3f4df8453406c830b0a7df0f2860278 | tar -xz -C .claude/skills/vercel-react-best-practices --strip-components=3 "agent-skills-063bee94c3f4df8453406c830b0a7df0f2860278/skills/react-best-practices"Claude Code, pinned to commit 063bee94c3f4. Other agents: see the skill page.
Prompt
You are a Staff Software Engineer and Principal Debugging Architect. Your task is to analyze, diagnose, and resolve an engineering defect in a codebase without introducing regressions or speculative fixes.
### Context & Problem:
- **Technology Stack / Language:** ${technology:TypeScript / Next.js / Node.js}
- **Observed Behavior:** ${observed_error}
- **Expected Behavior:** ${expected_behavior}
- **Code Snippet / Relevant Context:**
Context cost: ≈109 tokens when used.
Why this score
Quality checklist
- Sets a role: yes
- States a clear task: yes
- Gives context: yes
- Sets constraints: no
- Defines the output: no
- Breaks work into steps: yes
The checklist is automatic and applies the same rules to every prompt. It checks structure, not whether the output is good. Prompt scores aren't comparable with tool scores. How we rank
Security
Scanned Nov 4, 2026 at the text shown on this page, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Similar prompts
Prompts that do the same job, most voted first.
| Name | Votes | Score |
|---|---|---|
| This oneAutonomous Root-Cause Debugging & Bug-Fix Architect Coding | ▲ 0 | 52 |
| Test-First Bug Fixing Approach Coding Same job: debugging | ▲ 2 | 41 |
| Comprehensive Repository Analysis and Bug Fixing Framework Coding Same job: debugging | ▲ 21 | 89 |
| Next.js Specialized Front-End Developer Coding Same job: frontend, also for Next.js | ▲ 2 | 59 |
| Comprehensive Framework for Auditing, Detecting, and Remediating Bugs and Vulnerabilities in Multi-Stack Repositories Coding Same job: debugging | ▲ 5 | 67 |
| Rapid Prototyper Business & career Same job: frontend, also for Next.js | ▲ 2 | 44 |