Skip to content

Commit 081d6d3

Browse files
committed
Enhance README and tool reference documentation for structured thinking capabilities
- Added new features to the README.md, including AI-Optimized Reasoning, Task Planning, Policy Compliance, Tool Output Analysis, and Decision Documentation. - Expanded the tool reference documentation with best practice examples for multi-step task planning, policy compliance verification, tool output analysis, and architectural decision documentation. - Included a link to Anthropic's research for further insights on the think tool's implementation.
1 parent 99aa08c commit 081d6d3

2 files changed

Lines changed: 57 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ Now Cursor AI can understand your codebase! Try asking it questions like:
9696
- 🛡️ **Security**: Built-in safeguards for sensitive files and directory access
9797
- 🎯 **Pattern Management**: Flexible ignore patterns for controlling file access
9898
- 💭 **Structured Thinking**: Document and validate reasoning about complex operations
99+
- 🧩 **AI-Optimized Reasoning**: Based on [Anthropic's research](https://www.anthropic.com/engineering/claude-think-tool) on improving LLM problem-solving
100+
- 📋 **Task Planning**: Break down complex problems into manageable steps
101+
-**Policy Compliance**: Verify solutions against project guidelines
102+
- 🔄 **Tool Output Analysis**: Process results from other tools before taking next actions
103+
- 📝 **Decision Documentation**: Maintain audit trails of architectural choices
99104

100105
## Building from Source
101106

docs/tool-reference.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,58 @@ The think tool is particularly valuable when you want Claude to:
275275
4. Plan multi-step operations that require careful consideration
276276
5. Document reasoning about architectural decisions
277277

278+
> 📚 **Learn More**: This implementation is based on Anthropic's research on improving Claude's performance with a dedicated thinking space. [Read their detailed blog post](https://www.anthropic.com/engineering/claude-think-tool) for more insights.
279+
280+
**Best Practice Examples:**
281+
282+
1. **Multi-step Task Planning**
283+
```
284+
Before implementing a new feature, use the think tool to:
285+
- List all required functionality
286+
- Identify affected components and files
287+
- Plan the implementation sequence
288+
- Consider potential edge cases
289+
- Outline test scenarios
290+
291+
Example: When adding authentication, think through: user flow, security requirements, error states, and affected API endpoints.
292+
```
293+
294+
2. **Policy Compliance Verification**
295+
```
296+
When evaluating solutions against project guidelines, use the think tool to:
297+
- List all relevant policies
298+
- Check each policy requirement against the solution
299+
- Identify any compliance gaps
300+
- Document justifications for approach
301+
- Flag areas needing further review
302+
303+
Example: "Before implementing this database change, let me verify it meets our data security policies..."
304+
```
305+
306+
3. **Tool Output Analysis**
307+
```
308+
After receiving complex tool outputs (like search results or code analysis), use the think tool to:
309+
- Summarize key findings
310+
- Identify patterns across results
311+
- Connect information from different sources
312+
- Determine next investigation steps
313+
- Validate assumptions based on collected data
314+
315+
Example: "After searching the codebase for auth-related files, I've found these patterns..."
316+
```
317+
318+
4. **Architectural Decision Documentation**
319+
```
320+
When making architectural choices, use the think tool to:
321+
- Document decision criteria
322+
- Compare alternative approaches
323+
- List pros and cons of each option
324+
- Justify the chosen solution
325+
- Note implications for future development
326+
327+
Example: "Considering three approaches for the caching layer: in-memory, Redis, or database..."
328+
```
329+
278330
**Features:**
279331
- Automatic thought categorization:
280332
- Refactoring: Code restructuring and improvements

0 commit comments

Comments
 (0)