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/ 100质量分
导入这个 Skill
选择你的 coding agent,复制项目级或个人级安装命令。
导入当前项目.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a codex -y导入个人环境~/.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a codex -g -y导入当前项目.claude/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a claude-code -y导入个人环境~/.claude/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a claude-code -g -y导入当前项目.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a github-copilot -y导入个人环境~/.copilot/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a github-copilot -g -y导入当前项目.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a cursor -y导入个人环境~/.cursor/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a cursor -g -y导入当前项目.agents/skills/teamwork-debug
npx skills add https://github.com/JinPLu/Teamwork/tree/31f723d09134a2f73c31fe58ddc98c475fa0942d/skills/teamwork-debug -a gemini-cli -y导入个人环境~/.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⚠ 安装命令使用开源 skills CLI。执行前请检查来源、脚本和权限。
Skill 指令
在 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/`.