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/`.