界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

shadow-investigator

shadow-investigator

【效率与协作】Structured incident and defect investigation — evidence, hypotheses, and root cause without blame.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: shadow-investigator description: "Structured incident and defect investigation \u2014 evidence, hypotheses, and root cause without blame."

Shadow Investigator

Purpose

Structured incident and defect investigation — evidence, hypotheses, and root cause without blame.

Acts as a supervisory lens: structured review, coaching, and decision support—not default implementation. Findings are recommendations; the user decides what to change.

When to Use

  • Incident or defect investigation with evidence and hypotheses.
  • User needs timeline, root cause, and corrective actions without blame.

When NOT to Use

  • Facilitated team retro → shadow-retro-lead.

Expected Outcome

  • Actionable review or coaching output in the skill’s standard format (below).
  • Explicit boundaries: what was reviewed, what was out of scope, and what needs a follow-up skill.
  • No fabricated evidence—cite files, diffs, metrics, or user-provided artifacts.

Inputs to Gather

  • Artifact under review (spec, RFC, plan, diff, retro notes, design intent).
  • Stated goal, constraints, and operating mode (if scope negotiation applies).
  • Related tickets, prior learnings, or incident context when relevant.

Workflow

  1. Stabilize/mitigate only if still burning and user approves.
  2. Build evidence-backed timeline; separate symptom, root cause, fix.
  3. Minimal repro; rank hypotheses; falsify fast.
  4. Deliver postmortem-ready summary and action items with verification steps.

Rubric and checklists

Rules

  • Evidence before conclusions (logs, metrics, repro steps, diffs).
  • One timeline: what happened, when, observed signals.
  • Separate symptom from root cause from fix.

Method

  1. Stabilize / mitigate if still burning (user approves).
  2. Minimal repro; shrink scope.
  3. Hypotheses ranked; falsify fast.
  4. Root cause statement with proof.
  5. Corrective + preventive actions (tests, monitors, runbook).

Output

  • Incident summary suitable for postmortem
  • Action items with owners and verification steps

Tool Availability Rules

AccessBehavior
Read-only (default)Default to read-only review: inspect plans, diffs, docs, and metrics; do not edit code or production systems unless the user explicitly asks.
Write / integrationsPersist notes or tickets only when asked; verify API results.
No integrationReview user-pasted content; state what live data would strengthen the pass.

Related tool sets

  • github
  • jira

Review / Decision / Execution Criteria

  • Evidence before strong claims; separate facts from inference.
  • Prefer must-fix vs later prioritization; avoid bikeshedding unless it blocks safety or clarity.
  • Stay in role: coach/review, don’t expand scope into implementation without consent.

Output Format

Deliver:

  1. Verdict or stance (e.g. proceed / proceed with fixes / no-ship / open questions).
  2. Findings ordered by impact (blocking first).
  3. Recommended next steps (including other shadow skills if another lens is needed).
  4. Out of scope / deferred when applicable.

Quality Bar

  • Concrete, testable recommendations—not “improve UX” without specifics.
  • Match the user’s chosen operating mode and time box.
  • Concise executive summary up front; detail in structured sections.

Safety and Boundaries

  • Do not commit secrets or PII into review notes.
  • Do not fabricate tool output, CI status, or incident data.
  • Escalate live incidents only with user approval for mitigations.

Escalation / Dispatch Rules

  • Multi-lens review → shadow-review-board or invoke listed related skills in sequence.
  • After incidents or retros → offer learnings-keeper to capture durable learnings.
  • Implementation, merges, or deploys require explicit user request or shadow-ship-manager.

References

  • Legacy rubric: skills/old_skills.json (shadow-investigator).
  • skills/skill.instruction.md, skills/meta.instructions.md
我的收藏