invoke-debug

GitHub

执行调试流程,调度 debug-detective 智能体定位根因并生成 ROOTCAUSE.md。管理运行文件夹、更新状态及处理重试,确保在提出修复前基于证据验证假设。

skills/invoke-debug/SKILL.md AjayIrkal23/agentic-mercy-10x

触发场景

需要定位代码或系统错误原因 请求执行调试分析任务

安装

npx skills add AjayIrkal23/agentic-mercy-10x --skill invoke-debug -g -y
更多选项

不安装直接使用

npx skills use AjayIrkal23/agentic-mercy-10x@invoke-debug

指定 Agent (Claude Code)

npx skills add AjayIrkal23/agentic-mercy-10x --skill invoke-debug -a claude-code -g -y

安装 repo 全部 skill

npx skills add AjayIrkal23/agentic-mercy-10x --all -g -y

预览 repo 内 skill

npx skills add AjayIrkal23/agentic-mercy-10x --list

SKILL.md

Frontmatter
{
    "name": "invoke-debug",
    "description": "Run the DEBUG act — dispatches debug-detective (default opus; opus-guard routes) and writes `ROOTCAUSE.md` into a run folder. Single-act form of `\/invoke debug -- <task>`.",
    "argument-hint": "[--run <dir>] [task]"
}

Run the debug act for: $ARGUMENTS

This is /invoke debug without the closers; ~/.claude/skills/invoke/SKILL.md governs anything not said here.

  1. Run folder: --run <dir> in the arguments → reuse that folder (absolute path) and update its run.json with Edit; otherwise create a new one exactly as /invoke §2 (RUN="$(git rev-parse --show-toplevel)/.claude/runs/$(date -u +%Y%m%dT%H%M)-$SLUG", BRIEF.md, run.json with "acts": ["debug"]). Never write into any other existing run folder.
  2. Set run.json.expected_artifacts["debug-detective"] = "ROOTCAUSE.md".
  3. Agent(subagent_type="debug-detective", description="debug: <task>", prompt=...). The prompt names $RUN/BRIEF.md, every artifact already in $RUN/, and the exact output path $RUN/ROOTCAUSE.md. No model=: opus-guard routes it (pins, escalation, per-project mode). Artifact missing or the act failed → re-dispatch once with the prompt prefixed Previous attempt failed: <one-line reason>.
  4. Append debug to run.json.done, then report the artifact path and a one-paragraph verdict.

The root cause is demonstrated with evidence BEFORE a fix is proposed; the killed hypotheses are listed so nobody re-treads them.

版本历史

  • 2315578 当前 2026-10-18 19:21

同 Skill 集合

skills/agentation-react/SKILL.md
skills/baseline-ui/SKILL.md
skills/brand/SKILL.md
skills/context7-mcp/SKILL.md
skills/create-design-md/SKILL.md
skills/debug-broken-ui/SKILL.md
skills/design-system-compliance/SKILL.md
skills/design-taste-frontend/SKILL.md
skills/design/SKILL.md
skills/docker-compose/SKILL.md
skills/ensure-repo-docs/SKILL.md
skills/expo-react-native/SKILL.md
skills/false-green-tests/SKILL.md
skills/fastify-patterns/SKILL.md
skills/fixing-accessibility/SKILL.md
skills/fixing-metadata/SKILL.md
skills/fixing-motion-performance/SKILL.md
skills/grill-with-docs/SKILL.md
skills/higgsfield-brandkit/SKILL.md
skills/higgsfield-video-explainer/SKILL.md
skills/higgsfield-youtube-thumbnail/SKILL.md
skills/idea-refine/SKILL.md
skills/img2threejs/SKILL.md
skills/improve-ui/SKILL.md
skills/invoke-audit/SKILL.md
skills/invoke-clean/SKILL.md
skills/invoke-design/SKILL.md
skills/invoke-docs/SKILL.md
skills/invoke-impl/SKILL.md
skills/invoke-plan/SKILL.md
skills/invoke-refactor/SKILL.md
skills/invoke-review/SKILL.md
skills/invoke-security/SKILL.md
skills/invoke-session/SKILL.md
skills/invoke-spec/SKILL.md
skills/invoke-status/SKILL.md
skills/invoke-test/SKILL.md
skills/invoke-update/SKILL.md
skills/invoke-verify/SKILL.md
skills/invoke/SKILL.md
skills/kokonutui/SKILL.md
skills/mmx-cli/h3-video/SKILL.md
skills/modern-web-guidance/SKILL.md
skills/mongoose-patterns/SKILL.md
skills/no-ai-slop/SKILL.md
skills/slides/SKILL.md
skills/test-error-states/SKILL.md
skills/threejs-r3f/SKILL.md
skills/to-issues/SKILL.md

元信息

文件数
0
版本
2315578
Hash
752b6f86
收录时间
2026-10-18 19:21

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-19 11:06
浙ICP备14020137号-1