Edit
Command Palette
Search for a command to run...
Edit Reasoning Chain
Modify this skill gene.
Gene Details
reasoninganalysisproblem-solvingthinking
Content (Markdown)
Preview
Reasoning Chain Skill
Purpose
Enables advanced multi-step reasoning using chain-of-thought (CoT) and tree-of-thought (ToT) patterns for complex problem solving.
When to Use
- User asks to "think step by step" or "reason through"
- Complex multi-step problems requiring analysis
- Mathematical or logical reasoning tasks
- Decision making with multiple factors
- Problem decomposition requests
Reasoning Patterns
Chain of Thought (CoT)
For sequential reasoning problems:
- Deconstruct - Break problem into atomic steps
- Validate - Check each step before proceeding
- Synthesize - Combine steps into final answer
- Verify - Cross-check result against original problem
Tree of Thoughts (ToT)
For branching decision problems:
- Explore - Generate multiple solution paths
- Evaluate - Assess each branch's viability
- Prune - Eliminate weak branches
- Backtrack - Revert if path fails
- Commit - Select optimal path
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
pattern | string | Yes | Reasoning pattern: "cot" or "tot" |
depth | number | No | Maximum reasoning depth (default: 5) |
branches | number | No | Number of branches for ToT (default: 3) |
Example Usage
{
"skill": "reasoning_chain",
"parameters": {
"pattern": "tot",
"depth": 4,
"branches": 3
}
}
Best Practices
- Break problems into smallest possible steps
- Validate each step before proceeding
- Explicitly state assumptions
- Acknowledge uncertainty when present