agentleFS
Nova-CaelumNova-Caelum/no-mistakes/skills/sequential-thinking/SKILL.md

sequential-thinking

Skill0 starsChanged 30 days agoMITView on GitHub

Use the Sequential Thinking MCP tool effectively for complex, multi-step problems. Triggers when: planning multi-phase implementations, debugging with uncertain root cause, exploring design alternatives, breaking down ambiguous requirements, or any task where the full scope isn't clear upfront. Teaches revision, branching, and dynamic thought extension (needsMoreThoughts) to avoid linear-only usage patterns.

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use Problem-Solving Techniques, mobile-development and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • truongtv22Skill

    Problem-Solving Techniques

    Apply systematic problem-solving techniques for complexity spirals (simplification cascades), innovation blocks (collision-zone thinking), recurring patterns (meta-pattern recognition), assumption constraints (inversion exercise), scale uncertainty (scale game), and dispatch when stuck. Techniques derived from Microsoft Amplifier project patterns adapted for immediate application.

    Also in 4 projects that use this

  • truongtv22Skill

    mobile-development

    Build modern mobile applications with React Native, Flutter, Swift/SwiftUI, and Kotlin/Jetpack Compose. Covers mobile-first design principles, performance optimization (battery, memory, network), offline-first architecture, platform-specific guidelines (iOS HIG, Material Design), testing strategies, security best practices, accessibility, app store deployment, and mobile development mindset. Use when building mobile apps, implementing mobile UX patterns, optimizing for mobile constraints, or making native vs cross-platform decisions.

    Also in 5 projects that use this

  • AWSSkill

    planning

    Discovers user intent and generates a structured, step-by-step plan for model customization workflows. This skill must always be activated alongside any other skill when the user's request relates to model customization — including fine-tuning, training, building, customizing, reviewing data, or getting advice on approach, regardless of domain. Do not skip this skill even if the immediate ask is narrow (e.g., reviewing data format or a single workflow step), because planning discovers the full scope of work needed. Also activate when the user wants to resume, continue, or modify an existing plan.

    Also in 4 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 5 projects that use this

  • StrayDragonSkill

    ui-ux-pro-max

    UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 3

    Distinctive

    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
  1. Distinctive:

    Create branches for each major subsystem, then synthesize

    line 83
  2. Very specific:

    Use when mid-sequence, you realize totalThoughts was underestimated:

    line 103
  3. Distinctive:

    Right: Use revision when assumptions break, branch when exploring alternatives, extend when scope grows.

    line 142
  4. Distinctive:

    When using Sequential Thinking for implementation planning:

    line 148

“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sequential Thinking — Full Feature Usage

The Sequential Thinking MCP tool (mcp__sequential-thinking__sequentialthinking) supports structured problem-solving with revision, branching, and dynamic extension. Most agents use it linearly only. This skill teaches the full feature set.


Schema (camelCase)

ParameterTypePurpose
thoughtstringThe current thinking step content
thoughtNumbernumberCurrent position in sequence (1-indexed)
totalThoughtsnumberEstimated total steps (can increase via needsMoreThoughts)
nextThoughtNeededbooleantrue if more thinking required, false when complete
isRevisionbooleantrue if this thought revises a previous one
revisesThoughtnumberWhich thought number is being revised
branchFromThoughtnumberWhich thought to branch from
branchIdstringIdentifier for this branch (e.g., "alt-approach", "subtask-auth")
needsMoreThoughtsbooleantrue when totalThoughts was underestimated mid-sequence

When to Use Revision (isRevision: true)

Revise a previous thought when:

  1. New information contradicts earlier reasoning
    • You assumed X, but evidence now shows Y
    • A constraint you didn't know about invalidates a prior step
  2. Better understanding emerges
    • Initial analysis was shallow; deeper investigation reveals nuance
    • You realize a prior thought missed a critical consideration
  3. Revisiting for context in long sequences
    • Thought 12 needs to reference and update conclusions from Thought 3
    • Earlier reasoning needs to be synthesized with later findings

Usage:

{
  "thought": "Revising my earlier assumption about auth flow...",
  "thoughtNumber": 8,
  "totalThoughts": 12,
  "isRevision": true,
  "revisesThought": 3,
  "nextThoughtNeeded": true
}

When to Use Branching (branchFromThought, branchId)

Branch when:

  1. Handling subtasks before returning to main flow
    • Main task needs a sub-investigation that would clutter the primary sequence
    • "Let me explore this authentication edge case, then return to the main implementation"
  2. Exploring alternative approaches under uncertainty
    • Two viable solutions exist; branch to evaluate each
    • "Branch A: microservice approach. Branch B: monolith approach."
  3. Investigating side questions that support the main objective
    • A tangential question arises that needs resolution before continuing
    • "Before I can design the API, I need to branch and clarify the data model"
  4. Breaking down complex problems into manageable parts
    • The problem is too large for a single linear sequence
    • Create branches for each major subsystem, then synthesize

Usage:

{
  "thought": "Exploring alternative: what if we use event sourcing instead?",
  "thoughtNumber": 6,
  "totalThoughts": 10,
  "branchFromThought": 4,
  "branchId": "alt-event-sourcing",
  "nextThoughtNeeded": true
}

Return to main branch by not specifying branchId in subsequent thoughts after the branch investigation completes.


When to Use needsMoreThoughts

Use when mid-sequence, you realize totalThoughts was underestimated:

  1. Problem turned out more complex than initially scoped
    • Started with totalThoughts: 5, now at thought 4 and clearly need 8+
  2. New requirements or constraints emerged
    • Scope expanded during investigation
  3. Branch created additional necessary steps
    • Branching added thoughts that weren't in the original estimate

Usage:

{
  "thought": "This is more complex than expected. The auth system has three subsystems I didn't account for...",
  "thoughtNumber": 4,
  "totalThoughts": 8,
  "needsMoreThoughts": true,
  "nextThoughtNeeded": true
}

Then continue with updated totalThoughts in subsequent calls.


Anti-Pattern: Linear-Only Usage

Wrong: Using Sequential Thinking as a simple numbered list without revision or branching.

// Thought 1: "First, I'll read the file"
// Thought 2: "Next, I'll parse it"
// Thought 3: "Then, I'll transform it"
// ...

This wastes the tool's capabilities. If your thoughts never revise, never branch, and never extend — you're using it as a glorified to-do list.

Right: Use revision when assumptions break, branch when exploring alternatives, extend when scope grows.


Integration with Task Planning

When using Sequential Thinking for implementation planning:

  1. Initial estimate — Set totalThoughts based on perceived complexity
  2. Branch for subsystems — Each major component gets its own branch
  3. Revise as you learn — Update earlier conclusions when new info emerges
  4. Extend when needed — Don't force completion; use needsMoreThoughts
  5. Synthesize — Final thoughts should integrate findings from all branches

Example: Debugging with Full Features

Thought 1: "Initial hypothesis: the bug is in the API layer"
Thought 2: "Testing API... responses look correct. Revising hypothesis."
Thought 3 (isRevision=true, revisesThought=1): "Bug is NOT in API. Moving to data layer."
Thought 4: "Data layer shows inconsistent state. Branching to investigate two possibilities."
Thought 5 (branchId="cache-issue"): "Branch A: Could be stale cache."
Thought 6 (branchId="race-condition"): "Branch B: Could be race condition in writes."
Thought 7 (branchId="cache-issue"): "Cache invalidation looks correct. Ruling out."
Thought 8 (branchId="race-condition"): "Found it — write operations lack locking."
Thought 9: "Synthesizing: Root cause is race condition. Fix: add mutex to write path."
Thought 10 (needsMoreThoughts=true): "Need to verify fix doesn't introduce deadlocks..."

Nova Caelum branded skill · v2.0 · 2026-07-23

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.