agentsclimarketplace

Sgd triage

Skill rsgopal/SGD/skills/sgd-triage

Classify a problem using the Cynefin framework and recommend next steps based on its domainFrom its SKILL.md

Install
npx -y skills add rsgopal/SGD --skill sgd-triage

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

7.6 KB, as published. Nobody here has run it

You are applying the Cynefin framework to classify the problem and recommend the right response strategy.

Step 1 — Understand the problem

If $ARGUMENTS was provided, use it as the problem statement. If not, ask the user to describe the problem before proceeding.

Gather additional context by examining:

  • The current working directory's codebase structure, recent git history, and any planning artifacts (CLAUDE.md, .planning/) that describe the domain, technology, and constraints
  • Any open questions, ambiguities, or unknowns in the problem statement itself
  • The team's existing knowledge (inferred from code patterns, documentation, and architecture decisions)

Step 2 — Classify the problem

Evaluate the problem against these diagnostic questions:

  1. Repeatability: Has this exact type of problem been solved before, in this codebase or broadly in the industry?
  2. Knowability: Can all the causes be known in advance with sufficient analysis?
  3. Expert consensus: Would domain experts agree on the right approach, or would they diverge?
  4. Emergence: Does the solution require discovering something new through experimentation?
  5. Urgency: Is the system actively broken or failing right now?
  6. Unknowns: How many "unknown unknowns" are present — things the team doesn't know they don't know?

Output the classification as two blocks, in this order:

First, the TL;DR verdict:


TL;DR: [DOMAIN NAME] · Confidence: [High / Medium / Low]

[1–2 sentences. State the classification and the single most important reason why. Experienced readers can stop here.]

Almost: [Adjacent domain] — [One sentence on the single thing that would push this problem across the boundary into that domain instead.]


Then immediately the full explanation:


Why: [DOMAIN NAME]

[3–5 sentences. Explain the classification with specific evidence from the problem statement and codebase context. Reference specific unknowns, constraints, prior art, or system properties. Name the key factor that tips it into this domain rather than an adjacent one.]

Confidence is [High / Medium / Low] because: [One sentence explaining what is certain or uncertain about the classification. If Medium or Low, name the specific gap in information that would resolve it.]


Step 3 — Recommended next steps

Based on the classified domain, output a concrete next-steps section. Steps must be specific to the actual problem — do not copy the generic template verbatim. Adapt each bullet to the real context.

If Clear:

  • Identify the established best practice or existing pattern in this codebase that applies directly
  • Apply it — no analysis phase needed
  • Document what you did and why it was straightforward

If Complicated:

  • Identify the experts or reference materials needed
  • Define the analysis needed before acting (architecture review, spike, RFC) and timebox it
  • Structure the work with a clear plan before implementation begins
  • Watch out for: treating this as Complex and running open-ended experiments when the answer is knowable. Analysis paralysis is the Complicated failure mode — set a decision date and commit.

If Complex:

  • Do NOT attempt to design the full solution upfront — the design will emerge from what you learn
  • Generate 2–3 specific probe questions tailored to this problem that must be answered before any plan is formed (not generic — name the actual unknowns)
  • For each probe, define a small safe-to-fail experiment and what "signal" looks like (what a result tells you, win or lose)
  • Watch out for: mistaking this for Complicated and jumping straight into a plan. If the team's instinct is "let's get the seniors in a room and design it," that's the Complicated instinct — valid only if the answer is actually knowable upfront.

If Chaotic:

  • Hotfix first — identify the one change that stops further damage right now
  • Do not hand this to an agent yet; the problem is not well-defined enough
  • Once stable, explicitly re-classify: most problems leave Chaotic after the immediate crisis resolves
  • Treat any solutions found in chaos as temporary; flag them for revisit
  • Watch out for: staying in crisis mode after the system stabilises. Chaotic responses that persist into a stable state become technical debt at best, disasters at worst.

If Confused / Disorder:

  • Decompose the problem into sub-problems small enough to classify independently
  • Run /sgd:triage on each sub-problem separately
  • Identify which sub-problem to tackle first (usually: resolve the biggest unknown, or address the highest-risk piece)
  • Watch out for: applying your default process (whatever the team is most comfortable with) to the whole problem. Disorder is the domain where that instinct is most dangerous.

Team size / experience note: If the classification would change depending on who is working it (e.g., Complicated for a senior but Complex for someone newer to this codebase), call that out explicitly. It changes how you staff and pair on the work.


Step 4 — Suggested next action

Close with a one-sentence suggestion on how to proceed:

  • If Clear or Complicated: move directly into structured analysis — the problem is well-understood enough to scope and execute.
  • If Complex: answer the probe questions first before any planning
  • If Chaotic: hotfix first, understand later — do not hand this to an agent yet
  • If Confused: run /sgd:triage again on each decomposed sub-problem separately

Appendix — Cynefin reference

Output this section at the end, after your suggested next action. It serves readers who are unfamiliar with the framework; experienced practitioners can ignore it.


Cynefin framework reference

The Cynefin framework (pronounced "kuh-NEV-in", Welsh for "habitat" or "place of belonging") is a sense-making model developed by Dave Snowden at IBM in 1999. It helps decision-makers understand what kind of problem they are facing so they can choose the right approach — rather than applying a one-size-fits-all process.

DomainNature of the problemBest approach
Clear (formerly Simple)The answer is known, just code it. Analysing this is waste.Sense → Categorize → Code. Apply the known best practice.
ComplicatedThe answer is findable but needs expertise. Analyse first, then code with AI assistance.Sense → Analyze → Code. Bring in experts, do the analysis.
ComplexThe answer will only emerge as you go. Probe with small experiments first, code second.Probe → Sense → Code. Run safe-to-fail experiments.
ChaoticSomething is actively broken right now. Hotfix first, understand later — don't hand this to an agent yet.Act → Sense → Code. Stop the crisis before it deepens.
Confused / DisorderYou can't even tell which of the above applies. Break the problem down until you can.Break the problem apart. Classify each piece separately.

The critical insight is that the right process depends on the domain. Applying complicated-domain solutions to a complex problem will fail — you cannot analyze your way out of emergence. Applying complex-domain thinking to a clear problem is wasteful — just use the best practice.

Further reading:


Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.