AGENT SKILL

root-cause-analysis

Writes a canonical RCA artifact for an incident or failure. Use when the workflow is root-cause-analysis and the team needs one durable record of problem, evidence, root cause and solution.

License 许可
MIT
所属仓库
Eliyce/paqad-ai
最近更新
2026-11-13
Stars
★ 8
Forks
0

01 前言 Front Matter

name
root-cause-analysis
metadata
{ "cacheable": "false", "model_tier": "reasoning", "paqad-meta": "skill.meta.yaml", "output_format": "markdown" }
description
Writes a canonical RCA artifact for an incident or failure. Use when the workflow is root-cause-analysis and the team needs one durable record of problem, evidence, root cause and solution.

02 资源文件 6

03 SKILL.md 正文

What It Does

Produces a canonical root cause analysis document with a fixed section set so investigations stay comparable across stacks and incidents.

Use This When

When the workflow is explicitly root-cause-analysis and the team needs a durable artifact that captures the problem, evidence, root cause, and solution in one place.

Inputs

  • Read the incoming problem statement first.
  • Read the current stack snapshot, logs, traces, tests, or incident notes when available.
  • Use stack-specific tools and rules only as investigation inputs, not as a reason to vary the RCA structure.

Procedure

  1. Restate the problem clearly and identify the affected stack context.
  2. Capture symptoms, impact, and timeline evidence before writing a conclusion.
  3. Separate confirmed root causes from contributing factors and open questions.
  4. Record the remediation in the Solution section even when it is proposed rather than already deployed.
  5. End with verification steps and follow-up actions needed to prevent recurrence.

Output Contract

  • Match assets/output.template.md exactly: 8 canonical sections in the order from assets/section-order.txt.
  • ## Solution is always present, even when the remediation is proposed not deployed.
  • Output must pass scripts/lint-output.sh (exit 0): it enforces the section order strictly.

Escalate / Stop Conditions

  • Ask when there is not enough evidence to distinguish root cause from speculation.
  • Warn when the available evidence conflicts across logs, tests, or runtime observations.
  • Do not present a guess as a confirmed root cause.

Resources

  • references/rca-sections.md
  • scripts/lint-output.sh
  • assets/output.template.md
  • assets/section-order.txt
  • agents/openai.yaml

04 同仓库更多 Skills

Eliyce
Eliyce/paqad-ai

sample-skill

Sample bundled skill fixture

★ 8
Eliyce
Eliyce/paqad-ai

processing-invoices

Turns a supplier invoice into one ledger line. Use when a supplier invoice arrives and needs booking.

★ 8
Eliyce
Eliyce/paqad-ai

processing-invoices

Turns a supplier invoice into one ledger line. Use when a supplier invoice arrives and needs booking.

★ 8
Eliyce
Eliyce/paqad-ai

understand-idea

Chat and Claude Code: Step 1 of the discover journey: clarifies the goal, who benefits, success and constraints into the idea block. Use when the journey directs it to step 1, not directly.

★ 8
Eliyce
Eliyce/paqad-ai

size-work

Chat and Claude Code: Suggest a size for a ticket from comparable finished work, as a labelled suggestion the team still owns. Use it when someone asks "how big is this?", "roughly how much work is ABC-12?", or wants a backlog item sized. It finds the team's sizing scale at first use, picks two to five of the closest finished tickets with links, and gives a size or range with the drivers behind it and a confidence of low, medium or high, lowered and explained when the area's documents are template text. Every result is labelled a suggested size, never a date or a commitment. It writes nothing into the size field unless the user says "set it", and it refuses to overwrite an existing size unless the user asks to replace it. Produces the sizing block of the record.

★ 8
Eliyce
Eliyce/paqad-ai

refine-ticket

Chat and Claude Code: Improve one or more existing tracker tickets without losing the author's intent. Use it when someone wants a ticket read, diagnosed and tidied up ("this ticket is vague", "fix up ABC-12", "split this, it's too big"). It reads each ticket in full and snapshots it with its last-updated time, says what is wrong with evidence, and proposes a field-by-field before and after change set limited to summary, description, labels, parent, links and new child tickets on a split. It writes nothing until an explicit "apply it" bound to that exact change set, re-checks the ticket for conflicting edits just before writing, never replaces rich descriptions with plain text, never deletes or closes a ticket, and reads each ticket back after applying. Produces the existing and changes blocks of the record.

★ 8