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.

Pinned to the indexed commit
Project installation.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a codex -y
Personal installation~/.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a codex -g -y
Manual folder.agents/skills/teamwork-debugOfficial docs ↗
Project installation.claude/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a claude-code -y
Personal installation~/.claude/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a claude-code -g -y
Manual folder.claude/skills/teamwork-debugOfficial docs ↗
Project installation.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a github-copilot -y
Personal installation~/.copilot/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a github-copilot -g -y
Manual folder.agents/skills/teamwork-debugOfficial docs ↗
Project installation.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a cursor -y
Personal installation~/.cursor/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a cursor -g -y
Manual folder.agents/skills/teamwork-debugOfficial docs ↗
Project installation.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a gemini-cli -y
Personal installation~/.gemini/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a gemini-cli -g -y
Native Gemini CLIgemini skills install https://github.com/JinPLu/Teamwork.git --scope workspace --path skills/teamwork-debug
Manual folder.agents/skills/teamwork-debugOfficial docs ↗
⚠ 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/`.