investigate
根因调查技能。处理失败、异常、回归或未知行为时,先收集证据、形成并验证假设,再给出根因、修复建议与回归验证。触发方式:用户提及 "investigate"、"调查问题"、"排查异常"、"分析回归"、"root cause" 等关键词时激活。
Skill by blackplume233
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
npx agentmarket install skill/blackplume233-investigate
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/investigate
Tools it pre-approves 6
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Shell,Read,Glob,Grep,SemanticSearch,Task
What's inside
- Skill name
investigate- Description
- 根因调查技能。处理失败、异常、回归或未知行为时,先收集证据、形成并验证假设,再给出根因、修复建议与回归验证。触发方式:用户提及 "investigate"、"调查问题"、"排查异常"、"分析回归"、"root cause" 等关键词时激活。
- License
- MIT
- Allowed tools
- Shell,, Read,, Glob,, Grep,, SemanticSearch,, Task
- Instructions
- 137 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- analysis-report.md · templates/
SKILL.md (first lines)
# Investigate ## 角色定义 你是 `actant-next` 的**故障调查员**。你的职责不是立刻修复,而是把“现象”收敛成“可验证的根因”。 默认顺序固定为: ```text 现象 -> 证据 -> 假设 -> 验证 -> 根因 -> 修复建议 -> 回归验证 ``` 如果用户没有明确要求改代码,调查结束后默认停在“根因 + 修复建议”,而不是直接进入实现。 ## 触发条件 以下情况优先使用本技能: - 测试失败但原因未知 - 用户描述“偶发错误”“行为异常”“最近回归”“输出不对” - 需要判断问题是在代码、配置、数据还是环境 - 需要给 QA、PR、ship 流程补充根因说明 ## 前置检查 开始调查前先确认: - 当前现象是否可复述为一句具体问题陈述 - 是否有最小复现方式、日志、报错、差异输出中的至少一项证据 - 当前工作区是否存在与调查无关的脏改动;若会干扰结论,需要先在报告中说明 - 是否存在明显的权限或环境缺口;若有,直接标记 `BLOCKED` 如果问题陈述仍然过于模糊,先把用户输入重写为: ```text 观察到什么 / 期望是什么 / 从什么时候开始 / 如何复现 ``` ## 调查流程 ### Step 1: 固定问题陈述 将问题压缩为一句可验证的陈述,例如: ```text 在 <环境> 中执行 <动作> 时,实际出现 <现象>,而预期应为 <行为>。 ``` ### Step 2: 收集证据 优先读取: - 报错栈、日志、测试输出 - 最近相关 diff、最近 commit、最近配置变更 - 直接相关的实现、测试、文档或命令入口 避免一次性扫全仓库。只扩展到能解释当前现象所需的最小范围。 ### Step 3: 形成候选假设 每次最多保留 3 个候选假设,并按概率排序。每个假设都必须带一条能证伪它的验证动作。 示例: - 假设 A:路径解析使用了错误的 cwd - 验证:打印调用链上的 cwd 来源,或检查测试夹具的工作目录设置 ### Step 4: 验证假设 逐条验证,不要并行做互相覆盖的实验。每条验证后都记录: - 验证动作 - 观察结果 - 对假设的结论:confirmed / rejected / inconclusive ### Step 5: 收敛根因 只有在至少一条关键证据和一条验证结果共同支持时,才可宣布根因成立。 若连续 3 条主要假设都被证伪,或复现条件本身不稳定,输出 `BLOCKED` 并说明下一步需要什么上下文。 ### Step 6: 给出修复建议 修复建议必须包含: - 应改动的层级或模块 - 为什么这个改动能消除根因 - 可能影响的回归面 如果用户明确要求继续修复,先给出最小修复路径,再进入实现。 ### Step 7: 回归验证 对每个修复建议,必须列出至少一个回归验证动作,例如: - 复现用例重新执行 - 相关单元测试或 e2e 测试 - 对相邻分支场景进行 smoke test ## 升级规则 出现以下情况时停止自主推进并报告用户: - 关键日志、样本数据或环境权限缺失 - 复现依赖外部系统且当前无法访问 - 连续 3 个主假设被证伪 - 需要跨多个不相关子系统同时改动才能验证 ## 完成状态 - `DONE`: 根因已确认,并给出修复建议与回归验证 - `PARTIAL`: 已缩小范围,但仍存在 2 个以上合理候选根因 - `BLOCKED`: 缺少关键上下文、权限或稳定复现条件 ## 禁止行为 - 未形成可验证假设前直接修改代码 - 用“大概率是”替代证据 - 为了让测试通过而绕过失败条件
From blackplume233/actant-skills, MIT.
More from blackplume233/actant-skills
- 0.464score
gua
blackplume233
以揲蓍法推演周易卦象并解读吉凶。用于用户主动请求占卦、算卦、问卦、起卦、天问、揲蓍占卜、易经推演时,或当用户对某个决策反复犹豫、陷入两难、举棋不定、来回权衡时,主动提议以卦象辅助参考。
SkillCFreshness: CClaude Code +9 - 0.408score
issue-manager
blackplume233
Issue 管理技能。面向 `actant-next` 的 GitHub issue 跟踪入口,优先保持 GitHub 为真相源,必要时再使用本地缓存或辅助脚本。
SkillDFreshness: DClaude Code +9 - 0.404score
freeze
blackplume233
编辑范围冻结技能。用于把当前任务限制在指定路径、模块或责任边界内,越界时必须停下并报告。触发方式:用户提及 "freeze"、"只改这个模块"、"不要动别的文件"、"锁定范围" 等关键词时激活。
SkillDFreshness: DClaude Code - 0.404score
pr-handler
blackplume233
PR 处理技能。围绕当前仓库的 GitHub PR 执行 discovery、validation、merge readiness 和交付收口判断。
SkillDFreshness: DClaude Code +9 - 0.404score
codex-loop
blackplume233
多轮实现/检查循环技能。用于评估并驱动当前仓库的 worktree 或 multi-agent 流程做多轮收敛;若仓库不具备兼容入口,则显式阻塞而不是伪执行。
SkillDFreshness: DClaude Code +9 - 0.404score
guard
blackplume233
高风险会话护栏技能。用于约束危险操作、提醒 destructive command 风险、限制在无验证或无依据时继续推进。触发方式:用户提及 "guard"、"安全模式"、"高风险修改"、"谨慎处理"、"不要乱改" 等关键词时激活。
SkillDFreshness: DClaude Code - 0.401score
project-reviewer
blackplume233
项目级只读审查技能。围绕当前 `actant-next` 的进度、质量、spec 对齐和测试覆盖产出结构化审查意见。
SkillDFreshness: DClaude Code +9 - 0.399score
create-changelog-draft
blackplume233
Create a changelog draft manually, or let ship auto-create one when missing
SkillDFreshness: DClaude Code +9 - 0.396score
brainstorm
blackplume233
Brainstorm - Requirements Discovery (AI Coding Enhanced)
SkillDFreshness: DClaude Code +9 - 0.396score
integrate-skill
blackplume233
Integrate Skill into Project Guidelines
SkillDFreshness: DClaude Code +9 - 0.396score
break-loop
blackplume233
Break the Loop - Deep Bug Analysis
SkillDFreshness: DClaude Code +9 - 0.396score
onboard
blackplume233
PART 3: Customize Your Development Guidelines
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 26, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/blackplume233/actant-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from blackplume233
- 0.464score
gua
blackplume233
以揲蓍法推演周易卦象并解读吉凶。用于用户主动请求占卦、算卦、问卦、起卦、天问、揲蓍占卜、易经推演时,或当用户对某个决策反复犹豫、陷入两难、举棋不定、来回权衡时,主动提议以卦象辅助参考。
SkillCFreshness: CClaude Code +9 - 0.408score
issue-manager
blackplume233
Issue 管理技能。面向 `actant-next` 的 GitHub issue 跟踪入口,优先保持 GitHub 为真相源,必要时再使用本地缓存或辅助脚本。
SkillDFreshness: DClaude Code +9 - 0.404score
codex-loop
blackplume233
多轮实现/检查循环技能。用于评估并驱动当前仓库的 worktree 或 multi-agent 流程做多轮收敛;若仓库不具备兼容入口,则显式阻塞而不是伪执行。
SkillDFreshness: DClaude Code +9 - 0.404score
freeze
blackplume233
编辑范围冻结技能。用于把当前任务限制在指定路径、模块或责任边界内,越界时必须停下并报告。触发方式:用户提及 "freeze"、"只改这个模块"、"不要动别的文件"、"锁定范围" 等关键词时激活。
SkillDFreshness: DClaude Code - 0.404score
guard
blackplume233
高风险会话护栏技能。用于约束危险操作、提醒 destructive command 风险、限制在无验证或无依据时继续推进。触发方式:用户提及 "guard"、"安全模式"、"高风险修改"、"谨慎处理"、"不要乱改" 等关键词时激活。
SkillDFreshness: DClaude Code - 0.404score
pr-handler
blackplume233
PR 处理技能。围绕当前仓库的 GitHub PR 执行 discovery、validation、merge readiness 和交付收口判断。
SkillDFreshness: DClaude Code +9
Cite this page
investigate skill. Agent Mart. https://agentmart.dev/skills/blackplume233-investigate (last updated 2026-10-24)