feat: Add root-cause-analysis skill - #252
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new root-cause-analysis submission to the skills gallery, providing a structured, repeatable approach to root cause identification (5 Whys, Fishbone, contributing factors) and generating the corresponding published content and bundle artifacts.
Changes:
- Added
submissions/root-cause-analysis/withSKILL.md,metadata.json, a human-facingREADME.md, and bundledreferences/+assets/materials. - Generated the published skill page (
src/content/skills/root-cause-analysis.md), guide (src/content/guides/root-cause-analysis.md), and downloadable bundle (public/bundles/root-cause-analysis.zip).
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| submissions/root-cause-analysis/SKILL.md | New agent-facing RCA playbook and invocation description. |
| submissions/root-cause-analysis/references/rca-methods.md | Added deeper technique reference material (5 Whys, Fishbone, output format). |
| submissions/root-cause-analysis/README.md | Added human-facing overview content for the gallery detail page. |
| submissions/root-cause-analysis/metadata.json | Added gallery metadata (name/description/platforms/tags/author/version/dates). |
| submissions/root-cause-analysis/assets/fishbone-template.html | Added a bundled Fishbone template intended for fill-in use. |
| src/content/skills/root-cause-analysis.md | Generated published skill page for the gallery (CI-owned output). |
| src/content/guides/root-cause-analysis.md | Generated human-facing guide content (CI-owned output). |
| ## Instructions | ||
|
|
| <div class="problem">PROBLEM STATEMENT</div> | ||
|
|
||
| <div class="diagram"> | ||
| <div class="spine"></div> | ||
| <div class="head"></div> | ||
|
|
||
| <div class="category c1 cat-top"><div class="label">People</div><div class="causes" contenteditable="true">skills, training, staffing</div></div> | ||
| <div class="category c2 cat-top"><div class="label">Process</div><div class="causes" contenteditable="true">steps, policies, approvals</div></div> | ||
| <div class="category c3 cat-top"><div class="label">Technology</div><div class="causes" contenteditable="true">tools, infra, config</div></div> | ||
| <div class="category c4 cat-bottom"><div class="label">Data</div><div class="causes" contenteditable="true">quality, completeness</div></div> | ||
| <div class="category c5 cat-bottom"><div class="label">Environment</div><div class="causes" contenteditable="true">external conditions</div></div> | ||
| <div class="category c6 cat-bottom"><div class="label">Management</div><div class="causes" contenteditable="true">priorities, resources</div></div> | ||
| </div> | ||
|
|
||
| <div class="notes"> | ||
| <label><strong>Notes / Evidence:</strong></label><br> | ||
| <textarea placeholder="Add supporting facts, timestamps, logs, or observations for each category..."></textarea> |
|
@microsoft-github-policy-service agree |
|
Thanks for this, Nayananshu Garai (@N-Garai) , like this methodology and the People/Process/Tech/Others framing. A few things to fix before merge after testing in Copilot Studio:
Nice idea, mostly just wiring the pieces together. Thanks again! |
e4610bf to
d1b15e1
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
Suppressed comments (1)
submissions/root-cause-analysis/assets/fishbone-template.html:29
- The fishbone template makes the category branches editable, but the central problem statement is not editable. That forces users/agents to modify raw HTML to set the actual problem, which undermines the template’s intended use as a fill-in diagram.
<div class="problem">PROBLEM STATEMENT</div>
d1b15e1 to
5398d69
Compare
5398d69 to
4e8b0b3
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
Suppressed comments (1)
submissions/root-cause-analysis/SKILL.md:34
- The Fishbone step is internally contradictory: it says to open and modify
assets/fishbone-template.htmland present the completed diagram, but also says “Do NOT generate code” and “Use the template as-is.” Since producing a filled-in HTML template necessarily involves emitting/returning HTML, the current wording may cause the agent to refuse or produce inconsistent output. Reword this to forbid creating a new diagram from scratch while explicitly allowing editing and outputting the provided HTML template (and optionally instructing the user to save/open it).
- Use `assets/fishbone-template.html` to structure the diagram. Open the template, replace the placeholder text in each category branch with the contributing factors identified above, and present the completed diagram.
- Do NOT generate code, plots, or matplotlib output. Do NOT build the diagram from scratch. Use the template as-is.
4e8b0b3 to
27fdabf
Compare
27fdabf to
9066ad7
Compare
|
Adriana Trujillo (@adrianatruji) thanks for your suggestions.
Branch synced to latest upstream/main. All checks pass. |
|
Thanks Nayananshu Garai (@N-Garai) ! The issue relies on the layout itself: fixed absolute positions + fixed box sizes can't grow with content. I would suggest re-designing the template (which of course you can do with your preferred AI agent) and account for: Happy to review your updates! Thanks again |
|
Thanks for the suggestion! |
6a899d1 to
3ccc0f9
Compare
Addresses maintainer feedback: - Auto-sizing flex cards with min-width:0 and word-wrap - Spine as its own row, not crossed by content - Even 3-top / 3-bottom category layout - SVG bones drawn from rendered positions, redraw on resize/input - Fixed infinite loop bug from MutationObserver clearing SVG overlay - Fixed right-side category bone connections using closest edge to spine center
3ccc0f9 to
a807842
Compare

Adds a new
root-cause-analysisskill that guides agents through structured problem diagnosis using 5 Whys, Fishbone diagrams, and contributing factor analysis. Fills a gap in the gallery — no existing skill targets root cause identification for incidents, defects, or post-mortems.Files added
submissions/root-cause-analysis/
├── metadata.json
├── SKILL.md
├── README.md
├── references/rca-methods.md
└── assets/fishbone-template.html
src/content/skills/root-cause-analysis.md
src/content/guides/root-cause-analysis.md
public/bundles/root-cause-analysis.zip
Validation
npm run check:submissions— 78/78 passnpm run import:submissions— generates skill, guide, and bundlenpm run build— 330 pages built successfully