agentsclimarketplace

Mk sequential thinking

Skill ngocsangyem/MeowKit/packages/mewkit/src/migrate/modules/cursor/root/.cursor/skills/mk-sequential-thinking

Structured step-by-step reasoning before acting, to avoid guessing. For complex debugging, multi-step analysis, hypothesis checks. NOT for being stuck on approach (mk:problem-solving).From its SKILL.md

Install
npx -y skills add ngocsangyem/MeowKit --skill mk-sequential-thinking

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

  • 14 stars14 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

4.0 KB, 858 tokens by cl100k_base, as published. Nobody here has run it

Sequential Thinking

Structured step-by-step reasoning with hypothesis generation, elimination, and revision capability.

When to Use

  • Complex problem requiring multi-step reasoning
  • Debugging where root cause isn't obvious
  • When mk:fix invokes diagnosis (Phase 3)
  • Architecture decisions with multiple trade-offs
  • Any situation where "I think it's X" needs evidence before acting

Do NOT use for: trivial fixes (typo, lint), single-file changes with obvious cause.

Process

  1. State the problem — what is observed vs expected
  2. Generate hypotheses — from evidence, NOT guessing. Each hypothesis needs: what evidence would confirm it, what would refute it
  3. Test hypotheses — use grep/Read/Bash to find evidence for/against each
  4. Eliminate — mark each CONFIRMED, REFUTED, or INCONCLUSIVE with evidence
  5. Conclude — state root cause with confidence level + evidence chain
  6. Scope the fix — what must change to address root cause (not symptoms)

Adjust dynamically: expand if more complex than expected, contract if simpler.

Output Format

Use references/hypothesis-testing.md template. Key sections:

## Sequential Analysis: [problem]

### Hypotheses

| #   | Hypothesis | Evidence for | Evidence against | Status |
| --- | ---------- | ------------ | ---------------- | ------ |

### Root Cause

Confirmed: [root cause]
Confidence: [high/medium/low]
Evidence: [what confirms this]

### Fix Scope

[what must change — files, functions, logic]

Revision & Branching

When new evidence invalidates a previous conclusion:

  • Mark revision explicitly: [REVISION of Hypothesis N]: [correction + why]
  • When 2+ approaches viable: branch, evaluate each, converge with decision

Load references/core-patterns.md for revision/branching patterns. For advanced techniques (spiral refinement, multi-branch convergence): references/advanced-techniques.md For uncertainty + revision cascades: references/advanced-strategies.md For concrete examples: references/examples-debug.md, examples-api.md, examples-architecture.md

Diagnostic Frameworks

Load when a specific methodology fits the investigation:

  • references/five-whys-plus.md — enhanced 5-Whys with bias guards + stopping criteria. Use for post-mortems, recurring problems, human-error investigations.
  • references/scientific-method.md — hypothesis → falsifiable prediction → experiment → revise. Use for A/B tests, performance investigations, production incidents.
  • references/kepner-tregoe.md — SA/PA/DA/PPA + IS/IS-NOT matrix. Use for multi-system bugs, contested root causes, high-stakes decisions.

Scripts

Track and format thoughts deterministically:

  • scripts/process-thought.js — validate, track history, branches, revisions. Max 20 thoughts. node scripts/process-thought.js --thought "..." --number N --total M --next true node scripts/process-thought.js --summary (context-efficient handoff to mk:fix)
  • scripts/format-thought.js — format as box/simple/markdown/json node scripts/format-thought.js --thought "..." --number N --total M --format json

Gotchas

  • Premature conclusion: confirming first hypothesis without testing alternatives → test at least 2 hypotheses before concluding
  • Evidence-free hypotheses: "I think it's X" without evidence → every hypothesis needs at least one piece of evidence
  • Revision avoidance: refusing to revise when new evidence contradicts → revise explicitly, don't force-fit

Full list: references/gotchas.md

Workflow Integration

Called by mk:fix during diagnosis (Step 2). Receives input from mk:investigate or direct observation. Output feeds into fix implementation.

mk:investigate → symptoms + traces → mk:sequential-thinking → root cause → mk:fix

What ships with it: 14 files

45.8 KB alongside SKILL.md, 3 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. 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.