Skip to content
cccskills
FreePublished on GitHub

mk:sequential-thinking

Use when a problem requires structured step-by-step reasoning before acting. Prevents jumping to conclusions or guessing root causes without evidence. Triggers on complex debugging, multi-step analysis, hypothesis verification, or when mk:fix invokes diagnosis phase. NOT for being stuck on approach (too many implementations, forced assumptions, innovation block) — use mk:problem-solving instead.

The English summary is being prepared. Showing the original description.

See how to install

Files included (15)

  • SKILL.md4.6 KB
  • references/advanced-strategies.md1.5 KB
  • references/advanced-techniques.md2.3 KB
  • references/core-patterns.md1.6 KB
  • references/examples-api.md2.2 KB
  • references/examples-architecture.md2.6 KB
  • references/examples-debug.md2.4 KB
  • references/five-whys-plus.md4.7 KB
  • references/gotchas.md921 B
  • references/hypothesis-testing.md2.5 KB
  • references/kepner-tregoe.md7.4 KB
  • references/scientific-method.md3.7 KB
  • scripts/format-thought.js4.8 KB
  • scripts/process-thought.js6.4 KB
  • scripts/test-scripts.sh3.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use this skill to generate well-branded interfaces and assets for MeowKit (AI Agent Toolkit for Claude Code), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.

The English summary is being prepared. Showing the original description.

ngocsangyem/MeowKit15Updated Jul 28, 2026

Turn a raw idea into ONE honest recommendation: interview one question at a time until confirmed, then give a verdict with trade-offs and a checklist. Not for options or debate.

The English summary is being prepared. Showing the original description.

ngocsangyem/MeowKit15Updated Jul 28, 2026

Browser automation CLI for agents: navigate, click/fill, screenshot, extract data, test apps, Electron/Slack, cloud browsers. NOT for the user's real Chrome profile/cookies (mk:chrome-profile).

The English summary is being prepared. Showing the original description.

ngocsangyem/MeowKit15Updated Jul 28, 2026

Detects the right agent and complexity tier at Phase 0 orient; runs first in every workflow. NOT for runtime agent routing inside a single skill.

The English summary is being prepared. Showing the original description.

ngocsangyem/MeowKit15Updated Jul 28, 2026

Angular v20+ patterns: components, signals, services, forms, routing, HTTP, testing, SSR. Auto-activates on .ts files in Angular projects (angular.json detected).

The English summary is being prepared. Showing the original description.

ngocsangyem/MeowKit15Updated Jul 28, 2026

Design and review durable REST, GraphQL, RPC, or event API contracts: shape, compatibility, pagination, error semantics. Discovers existing consumers first. Not implementation, schema, or release.

The English summary is being prepared. Showing the original description.

ngocsangyem/MeowKit15Updated Jul 28, 2026

See all skills by ngocsangyem

Report a problem with this skill