sequential-thinking
Sequential Thinking Methodology
Framework for using /mcp__sequential-thinking__sequentialthinking tool effectively.
Quick Assessment
Skip entirely for: Simple facts, obvious fixes, single-step answers, routine tasks
Apply when:
- Problem requires 3+ logical steps
- Multiple valid approaches exist
- Debugging with unclear root causes
- Initial confidence <70%
- State transitions or causal chains involved
Core Framework
1. Initial Classification
Simple → Skip tool
Medium → 3-4 thoughts
Complex → up to 7 thoughts
Define: initial state → goal state → success criteria
2. State-Based Reasoning
For each thought:
- Current state: What's true now?
- Preconditions: What must be true for next action?
- Effects: How does action change state?
- Verify: Valid and closer to goal?
- Check: Success criteria met?
3. Thought Structure
Thought N: [Hypothesis/Analysis/Action]
- State: [explicit]
- Logic: [deduction|induction|abduction|causal]
- Confidence: X%
- Next: [what this enables]
4. Decision Points
Branch (branch_from_thought + unique branch_id):
- Confidence <60% WITH alternative
- Contradiction found
- Equal validity paths (Δ<10%)
Revise (is_revision=true + revises_thought):
- Fundamental error
- Precondition false
- Better approach (>20% gain)
Extend (needs_more_thoughts=true):
- Approaching limit but incomplete
5. Quality Scoring
Start: 0 | Minimum: 5 points
Positive: Clear mechanism (+2), Verified assumption (+2), Resolved contradiction (+2), Valid transition (+1)
Negative: Circular reasoning (-3), Invalid transition (-3), Unverified assumption (-2), Logical leap (-1)
If <5 after 3 thoughts → reassess approach
6. Convergence Rules
- Thoughts 1-2: Explore breadth (20%)
- Thoughts 3-5: Deep dive (60%)
- Thoughts 6-7: Verify only (20%)
Terminate when: 7 thoughts reached | Confidence >90% for 2 consecutive | Cycling detected | Success met
Code-Specific Additions
Track: Variable states, Pre/postconditions, Resource constraints, Error paths
Verify: Execution traces, Edge cases, Resource cleanup, Thread safety
Natural Language Integration
Use markers like:
- "Let me work through this systematically..."
- "This leads me to consider..."
- "A potential issue here is..."
Never expose: Internal scores, Framework mechanics, Artificial confidence percentages
Meta-Rules
- Admit uncertainty rather than guess
- Each thought must advance solution
- No pure repetition
- Don't fake confidence to avoid branching
More from petbrains/mvp-builder
frontend-magic-ui
Polished SaaS landing page components. Use for number tickers/stats animations, logo marquees, bento grids, device mockups (iPhone, Safari), shimmer/rainbow buttons, typing effects. Professional marketing polish built on Framer Motion + Tailwind. For dramatic hero effects use Aceternity, for basic UI use shadcn.
81frontend-google-fonts
Typography setup with Google Fonts for Next.js + Tailwind projects. Use when choosing fonts, need font pairing recommendations (SaaS, editorial, corporate presets), or setting up optimized font loading. Includes ready-to-use configurations and performance best practices.
13figma-design-extraction
Extract design tokens, screen structure, and visual references from Figma files. Use whenever a figma.com URL appears in the conversation, when someone mentions Figma tokens, variables, design system extraction, or screen captures. Also use when calling get_variable_defs, get_design_context, get_metadata, or get_screenshot — this skill defines how to use them effectively. Trigger for phrases like "get from Figma", "extract design", "Figma variables", "design tokens from Figma", "capture screens", or any figma.com/design link. Even if the user just pastes a Figma link without instructions, use this skill to parse it and decide what to extract.
13code-analyzer
Comprehensive codebase analysis for building mental model of project structure, dependencies, and implementation context. Use when needing to: (1) Understand project architecture before review or documentation, (2) Find dependencies and shared modules, (3) Trace execution paths and abstraction layers for similar features, (4) Locate implementation markers (AICODE-*), (5) Prepare context for review, memory generation, or agent creation. Triggers on: analyze code, load code context, scan codebase, understand project structure, trace feature.
12figma-design-generate
>
12context7
Up-to-date library documentation retrieval using Context7 MCP tools. Process THINK → RESOLVE → FETCH → APPLY. Use when fetching library docs, resolving package names to IDs, getting implementation guides, exploring API references. Provides package resolution strategy, trust score evaluation, token scaling (3K-20K), topic selection patterns.
11