AI & Agentslow risk
teamwork-debug
Use when the user reports a failure, flaky test, CI error, runtime log, crash, UI symptom, regression, or suspected bug where a repro, hypotheses, instrumentation, browser/CI evidence, or human observation must decide root cause before a fix is safe.
JinPLu/Teamwork·skills/teamwork-debug/SKILL.md
85/ 100Quality
Install this skill
Choose your coding agent and copy a project or personal installation command.
Project installation.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a codex -yPersonal installation~/.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a codex -g -yProject installation.claude/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a claude-code -yPersonal installation~/.claude/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a claude-code -g -yProject installation.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a github-copilot -yPersonal installation~/.copilot/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a github-copilot -g -yProject installation.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a cursor -yPersonal installation~/.cursor/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a cursor -g -yProject installation.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a gemini-cli -yPersonal installation~/.gemini/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a gemini-cli -g -yNative Gemini CLI
gemini skills install https://github.com/JinPLu/Teamwork.git --scope workspace --path skills/teamwork-debug⚠ Installation uses the open-source skills CLI. Inspect the source and permissions before running the command.
Skill instructions
View source on GitHub ↗# Teamwork Debug ## Outcome Use runtime evidence to identify a supported root cause and the smallest safe fix route. Debug is diagnosis, not a general cleanup or refactor stage. ## Enter When Use for failures, crashes, CI errors, UI symptoms, regressions, or performance problems unsafe to infer from source alone. Stay in research when the environment or repro is unknown; route an accepted fix to execution, or an architectural/public-contract fix to planning. ## Do And Boundaries State expected versus actual behavior, the repro, acceptance signal, and protected boundaries. Confirm commands, environment, paths, credentials, models, and targets from user input or source/config; never switch targets or invent defaults to manufacture a repro. Form only as many plausible hypotheses as the evidence warrants and name discriminating evidence. Add minimal useful instrumentation, reproduce, reject unsupported explanations, and state the evidence-backed cause. Use human observation only when the agent cannot operate the relevant session or UI. Implement only a user-accepted confirming fix. Afterward, rerun the same repro and remove temporary instrumentation without broadening cleanup. ## Done When Return repro, hypotheses, instrumentation, runtime evidence, root cause or bounded uncertainty, fix route, verification/cleanup, risk, and next route. ## Escalate Route to research when evidence is insufficient, plan when scope changes, execute when scope is accepted, or stop when required access/resources are missing. ## Conditional Protocols Use `debug-mode.md` for the diagnostic packet, `verification-patterns.md` for baseline/treatment proof, `subagent-dispatch.md` and `subagent-contract.md` for independent tracks, and `artifact-protocol.md` for durable findings. Paths are under `skills/using-teamwork/references/`.