mk:sequential-thinking
Step-by-step reasoning that tests hypotheses against evidence before you commit to a root cause or decision.
| Source | .claude/skills/sequential-thinking/SKILL.md |
| Owner | research |
| Runtime | claude-code |
| Risk | medium |
What it does
mk:sequential-thinking structures analysis as a list of hypotheses, each with evidence for and against, then concludes with a root cause, a confidence level and the scope of the fix. Use it when the cause is not obvious, a decision has several trade-offs, or "I think it's X" needs evidence before anyone acts. mk:fix calls it during diagnosis.
When not to use it
Skip it for trivial fixes (a typo, a lint error) and single-file changes with an obvious cause. For structured problem-solving techniques, use mk:problem-solving.
Steps
- State what is observed against what is expected.
- List hypotheses drawn from evidence, each with what would confirm it and what would refute it.
- Test them with Grep, Read or Bash.
- Mark each CONFIRMED, REFUTED or INCONCLUSIVE with its evidence.
- State the root cause, a confidence level and the evidence chain.
- Scope the fix to the cause, not the symptoms.
When new evidence overturns a conclusion, mark it as [REVISION of Hypothesis N]: correction and reason. When two approaches are viable, branch, evaluate both and converge on one.
Output
The analysis follows references/hypothesis-testing.md: a hypotheses table (hypothesis, evidence for, evidence against, status), the root cause with confidence and evidence, and the fix scope.
Diagnostic frameworks
| File | Use for |
|---|---|
references/five-whys-plus.md | Post-mortems, recurring problems, human-error investigations |
references/scientific-method.md | A/B tests, performance work, production incidents |
references/kepner-tregoe.md | Multi-system bugs, contested root causes, high-stakes decisions |
Scripts
| Script | Use |
|---|---|
scripts/process-thought.js | Validates and tracks thoughts, branches and revisions (20 thoughts at most). --summary prints a short handoff for mk:fix. |
scripts/format-thought.js | Formats a thought as box, simple, markdown or json. |
node scripts/process-thought.js --thought "..." --number 1 --total 5 --next true
node scripts/format-thought.js --thought "..." --number 1 --total 5 --format jsonGotchas
- Test at least two hypotheses before concluding.
- Every hypothesis needs at least one piece of evidence.
- Revise explicitly when evidence contradicts you. The full list is in
references/gotchas.md.
The usual chain is mk:investigate, then this skill, then mk:fix.