Using think-tool
Learn how to effectively use think-tool to enhance Claude's reasoning capabilities.
Basic Usage
Automatic Reflections
Once installed, think-tool automatically triggers reflections:
You: Implement user authentication
Claude: [REFLECTION] Planning authentication implementation:
- Requirements: Secure, scalable, user-friendly
- Options considered:
1. JWT: Stateless, good for APIs ✓
2. Sessions: Stateful, server burden
3. OAuth: Complex for simple auth
- Decision: JWT with refresh tokens
Now implementing authentication...
Manual Triggers
Force reflection with keywords:
You: Think carefully about our database schema
Claude: [REFLECTION] Database schema analysis:
- Current entities: User, Product, Order
- Relationships:
- User 1:N Order (customer)
- Product N:M Order (through OrderItem)
- Considerations:
- Normalization: Currently 3NF
- Performance: May need denormalization
- Scalability: Partition by date?
...
Reflection Patterns
Decision Making
You: Should we use GraphQL or REST?
Claude: [REFLECTION] API Architecture Decision:
Evaluating GraphQL:
+ Flexible queries
+ Strong typing
+ Real-time subscriptions
- Learning curve
- Complexity overhead
Evaluating REST:
+ Simple, well-understood
+ Great tooling
+ Cache-friendly
- Over/under-fetching
- Multiple requests
Context Analysis:
- Team size: Small (3 devs)
- Experience: REST experts
- Requirements: Simple CRUD
Recommendation: REST
- Faster development
- Team expertise
- Sufficient for needs