Debug
Full debugging workflow — reproduce the bug with a focused check, perform root cause analysis, th…
by cyrusagents · Apache-2.0
The skill
Full debugging workflow — reproduce the bug with a focused check, perform root cause analysis, then implement a minimal fix.
Debug
Debug a reported issue using a structured reproduction-then-fix approach.
Phase 1: Reproduction & Root Cause Analysis
- Investigate — Analyze the bug report for key symptoms and error messages
- Trace — Search the codebase for error occurrence patterns, trace from symptom to source
- Root cause — Identify the root cause through data flow analysis and edge case checking
- Reproduce — Reproduce the exact error with the smallest useful check (a command, dry run, manual flow, or automated test)
- Document — Clearly document the root cause and reproduction steps
Phase 2: Fix Implementation
- Plan — Analyze the optimal fix approach based on root cause, check for similar fixes in the codebase
- Implement — Make the minimal, targeted fix that addresses the root cause
- Verify — Repeat the reproduction to confirm the fix and run relevant existing checks. Follow
verify-and-shipfor proportionate scope; add a regression test only when the concrete failure warrants durable coverage
Principles
- Minimal changes — Fix the bug, nothing more
- Targeted — Only touch affected code paths
- Verified — Confirm the reproduction succeeds after the fix and preserve relevant existing safeguards; a new test file is not mandatory
- No unrelated improvements — Stay focused on the specific bug
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: cyrusagents/debug-75170367371.
Details
- Publisher
- cyrusagents
- Category
- Software Development › Testing & QA
- License
- Apache-2.0
- Updated
- 2026-10-08
References
More from cyrusagents
- Google Search the web for information.
- Release Core Test Invoke when dev-testing a Cyrus change that spans CYPACK (edgeworker + CLI) and CYHOST (Vercel-ho…
- Connect Cyrus Connect a personal Cyrus inbox and help the user deliberately subscribe to messages in a dot or C…
- Cyrus Setup Claude Auth Configure Claude Code authentication for Cyrus — API key, OAuth token, or third-party provider.