sdd-triage
Skill0 starsChanged 8 months agoMITView on GitHub
Classifies a specific bug, commit, or test failure and traces it to the spec that permitted it. Lightweight version of /sdd-iterate for quick root cause analysis. Use when you encounter a bug and want to know which spec to update.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- sdd-adrSkill
- sdd-implementSkill
- sdd-initSkill
- sdd-iterateSkill
- sdd-monitorSkill
- sdd-planSkill
- sdd-reviewSkill
- sdd-runSkill
- sdd-specSkill
- sdd-standupSkill
- sdd-statusSkill
- sdd-ux-validateSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
File path: read the file, look for the described issue
- Distinctive: line 22
Error message: search git log and test output for this error
- Distinctive: line 34
If the issue is a spec-gap or implementation-error:
- Very specific: line 35
Use MCP tool sdd_trace_artifact to find which spec requirements cover the affected code
- Distinctive: line 36
Read the relevant spec requirements
- Distinctive: line 61
No files modified (read-only analysis)
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SDD Triage
Quick classification and spec tracing for a single issue.
Arguments
$ARGUMENTS — a commit hash, test name, error message, or file path with a bug description.
Process
1. Identify the issue
Parse $ARGUMENTS to determine what we're triaging:
- Commit hash (7+ hex chars): run
git show {hash}to get the diff - Test name (contains "test" or "spec"): run the test, capture failure output
- File path: read the file, look for the described issue
- Error message: search git log and test output for this error
2. Classify
Determine the issue type:
- spec-gap — the spec doesn't cover this scenario (needs backpropagation)
- implementation-error — the spec is fine, the code just has a bug (fix the code)
- test-gap — the behavior is correct but untested (add tests)
- infrastructure — build/tooling/config issue (not spec-related)
3. Trace to spec
If the issue is a spec-gap or implementation-error:
- Use MCP tool
sdd_trace_artifactto find which spec requirements cover the affected code - Read the relevant spec requirements
- Determine: does the spec adequately describe the expected behavior?
4. Report
## Triage: {issue description}
**Type:** spec-gap | implementation-error | test-gap | infrastructure
**Affected files:** {list}
**Traced to:** {spec file} — {requirement IDs} (or "no spec coverage")
**Analysis:** {1-2 sentence explanation}
**Recommended action:**
- spec-gap: Run `/sdd-iterate {commit}` to backpropagate
- implementation-error: Fix the code, the spec is correct
- test-gap: Add tests covering {scenario}
- infrastructure: {specific fix}Output contract
- Single issue classified and traced
- Clear recommendation for next action
- No files modified (read-only analysis)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

