From claudekit
Guides structured step-by-step reasoning for complex debugging, architecture decisions, security audits, performance investigations with evidence collection, hypotheses, testing, and confidence tracking.
npx claudepluginhub duthaho/claudekit --plugin claudekitThis skill uses the workspace's default tool permissions.
- Complex debugging
Provides structured reasoning for stalled debugging or complex problems: frame issues, track hypotheses, gather/evaluate evidence, progress confidence levels to avoid loops.
Facilitates structured multi-step reasoning for complex debugging, architectural analysis, system design, hypothesis testing, multi-component failures, and performance bottlenecks. Avoid simple tasks.
Structures complex analysis into sequential thoughts with revisions, branching, and dynamic adjustments. Use for architecture design, bug debugging, performance optimization, security review, and refactoring.
Share bugs, ideas, or general feedback.
Clearly state what you're trying to determine.
## Question
What is causing the authentication timeout for users with special characters in passwords?
Collect all relevant information systematically.
## Evidence Collection
### Evidence 1: Error Logs
- Source: `logs/auth-service.log`
- Finding: Timeout occurs at password encoding step
- Confidence: High (direct observation)
### Evidence 2: Code Review
- Source: `src/auth/password.ts:42`
- Finding: URL encoding applied to password
- Confidence: High (code inspection)
### Evidence 3: Test Results
- Source: Manual testing
- Finding: Works with alphanumeric, fails with `@#$`
- Confidence: High (reproducible)
Generate possible explanations.
## Hypotheses
### Hypothesis A: URL Encoding Issue
- Evidence supporting: E1, E2, E3
- Evidence against: None
- Probability: 80%
### Hypothesis B: Character Set Mismatch
- Evidence supporting: E3
- Evidence against: E2 (UTF-8 used)
- Probability: 15%
### Hypothesis C: Database Encoding
- Evidence supporting: None directly
- Evidence against: E1 (fails before DB)
- Probability: 5%
Verify the most likely explanation.
## Testing
### Test for Hypothesis A
Action: Remove URL encoding, use base64 instead
Result: Password `test@123` now works
Conclusion: Hypothesis A confirmed
State the final answer with confidence.
## Conclusion
**Root Cause**: URL encoding in password.ts:42 mangles special characters
**Confidence**: 9/10
**Evidence Chain**:
1. Timeout at encoding step (logs)
2. URL encoding in code (review)
3. Special char passwords fail (testing)
4. Removing encoding fixes issue (verification)
**Fix**: Replace URL encoding with base64 at line 42
# Sequential Analysis: [Problem Description]
## Question
[Clear statement of what we're investigating]
## Evidence
### Evidence 1: [Title]
- Source: [where found]
- Finding: [what it shows]
- Confidence: [High/Medium/Low]
### Evidence 2: [Title]
...
## Hypotheses
### Hypothesis A: [Name]
- Supporting evidence: [list]
- Contradicting evidence: [list]
- Probability: [X%]
### Hypothesis B: [Name]
...
## Testing
### Test 1: [What tested]
- Action: [what was done]
- Expected: [what should happen if hypothesis true]
- Actual: [what happened]
- Result: [confirms/refutes hypothesis]
## Conclusion
**Answer**: [clear statement]
**Confidence**: [X/10]
**Key Evidence**: [most important findings]
**Recommended Action**: [what to do next]
| Score | Meaning | Evidence Required |
|---|---|---|
| 9-10 | Certain | Multiple independent confirmations |
| 7-8 | High | Strong evidence, tested hypothesis |
| 5-6 | Medium | Good evidence, some uncertainty |
| 3-4 | Low | Limited evidence, multiple possibilities |
| 1-2 | Guess | Insufficient evidence |
❌ "The bug is probably in the database"
✅ "Let me gather evidence before hypothesizing"
❌ Only looking for evidence supporting first guess
✅ Actively seeking contradicting evidence
❌ Fixing without recording reasoning
✅ Document even simple analysis for future reference
Use mode: deep-research
Apply sequential thinking to analyze [problem]
Use skill: sequential-thinking
This skill is powered by the Sequential Thinking MCP server:
The Sequential Thinking MCP server provides the `sequentialthinking` tool.
Use it for:
- Breaking complex problems into thought sequences
- Tracking confidence and revising conclusions
- Building evidence chains with explicit reasoning
- Maintaining state across multiple reasoning steps
thought: Your current thinking step
thoughtNumber: Current step number
totalThoughts: Estimated total steps needed
nextThoughtNeeded: Whether more steps are needed
isRevision: If revising previous thinking
needsMoreThoughts: If more analysis needed
1. Start with initial thought defining the question
2. Gather evidence in subsequent thoughts
3. Form hypotheses with probability estimates
4. Test and verify in later thoughts
5. Conclude with confidence score
brainstorming -- Use brainstorming for open-ended creative exploration; use sequential thinking when you need structured evidence-based analysisroot-cause-tracing -- Complements sequential thinking by providing the tracing methodology to follow during evidence gathering stepssystematic-debugging -- Use systematic debugging for the overall debugging framework; sequential thinking adds rigorous documentation and confidence tracking