Agent skill
debug-team
Full-repo debugging team workflow. Use for 'org run debug', 'org run debug list', or 'org run debug "pasted bug"' requests.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/debug-team
SKILL.md
Debug Team
When to use
- User says:
org run debug - User says:
org run debug list - User says:
org run debug "pasted bug"
Core rules
- Read
AGENTS.mdfirst. - Obey
docs/company/lock-policy.mdanddocs/company/locks.mdbefore edits. - Always update
docs/bugs.md(and domain bug files if relevant). - Prefer smallest coherent diff; no new deps without approval.
- Never add logs containing PII.
Workflow
1) Triage (no code yet)
- Restate goal, non-goals, constraints, success metrics.
- Identify smallest shippable step.
- If the request is broad, pick one command to run first:
npm run typechecknpm run lintnpm testnpm run doctor
2) Bug list updates
- Add new bugs to
docs/bugs.mdbefore coding. - If the bug is domain-specific, mirror to:
docs/bugs-ui.mddocs/bugs-api.mddocs/bugs-security.mddocs/bugs-ops.md
3) Locking
- Claim file locks in
docs/company/locks.mdbefore edits. - Use the smallest scope and shortest expiry.
4) Fix
- Implement minimal, safe changes.
- Prefer eliminating
undefinedoptional props by omitting keys. - Keep multi-tenant boundaries intact.
- After fixes, check with file owners for any functional concerns or behavior changes before finalizing.
5) Retest
- Re-run the originating command.
- Update bug status to
Fixed (pending retest)orFixedwith evidence.
Command-specific modes
org run debug
- Run
npm run typecheckfirst. - Triage failures and propose owners.
- Ask before cross-domain fixes.
org run debug list
- Run
npm run typecheck(or the command referenced by the user). - Convert output into bug entries with owner + evidence.
- Do not edit code unless explicitly approved.
org run debug "pasted bug"
- Focus only on the pasted bug.
- Identify suspect file(s) and propose fix.
- Ask for approval before edits unless already granted.
Output format
- Findings list (prioritized)
- Proposed next steps + owners
- Risks or rule bends (if any)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?