mirror of
https://github.com/duthaho/claudekit.git
synced 2026-09-04 01:00:51 +03:00
Add new methodology skills for enhanced development workflows
This commit is contained in:
@@ -0,0 +1,159 @@
|
||||
# /brainstorm - Interactive Design Session
|
||||
|
||||
## Purpose
|
||||
|
||||
Start an interactive brainstorming session using the one-question-at-a-time methodology. Refine rough ideas into fully-formed designs through collaborative dialogue.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
/brainstorm [topic or feature to design]
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- `$ARGUMENTS`: The topic, feature, or problem to brainstorm about
|
||||
|
||||
---
|
||||
|
||||
Start interactive brainstorming session for: **$ARGUMENTS**
|
||||
|
||||
## Methodology
|
||||
|
||||
**Reference**: `.claude/skills/methodology/brainstorming/SKILL.md`
|
||||
|
||||
This command uses the superpowers brainstorming methodology for optimal results.
|
||||
|
||||
## Workflow
|
||||
|
||||
### Phase 1: Understanding
|
||||
|
||||
**Goal**: Clarify requirements through sequential questioning.
|
||||
|
||||
**Rules**:
|
||||
1. Ask **ONE question per message**
|
||||
2. Wait for user response before next question
|
||||
3. Prefer **multiple-choice** over open-ended questions
|
||||
4. Break complex topics into multiple questions
|
||||
|
||||
**Example interaction**:
|
||||
```
|
||||
Claude: "What type of authentication should we support?
|
||||
a) Username/password only
|
||||
b) OAuth providers (Google, GitHub)
|
||||
c) Both options
|
||||
d) Magic link (passwordless)"
|
||||
|
||||
User: "b"
|
||||
|
||||
Claude: "Which OAuth providers should we integrate?
|
||||
a) Google only
|
||||
b) GitHub only
|
||||
c) Both Google and GitHub
|
||||
d) Let me specify others..."
|
||||
```
|
||||
|
||||
### Phase 2: Exploration
|
||||
|
||||
**Goal**: Present alternatives with clear trade-offs.
|
||||
|
||||
Present 2-3 approaches:
|
||||
- Lead with recommended option
|
||||
- Explain trade-offs for each
|
||||
- Let user choose direction
|
||||
|
||||
```markdown
|
||||
## Approach 1: JWT-based (Recommended)
|
||||
- Stateless, scalable
|
||||
- Cons: Can't revoke instantly
|
||||
|
||||
## Approach 2: Session-based
|
||||
- Easy revocation
|
||||
- Cons: Requires session store
|
||||
|
||||
Which approach aligns better with your goals?
|
||||
```
|
||||
|
||||
### Phase 3: Design Presentation
|
||||
|
||||
**Goal**: Present validated design incrementally.
|
||||
|
||||
**Rules**:
|
||||
- Break into **200-300 word sections**
|
||||
- Validate after each section
|
||||
- Cover: architecture, components, data flow, error handling, testing
|
||||
|
||||
**Sections to present**:
|
||||
1. Architecture overview
|
||||
2. Component breakdown
|
||||
3. Data flow
|
||||
4. Error handling
|
||||
5. Testing considerations
|
||||
|
||||
## Core Principles
|
||||
|
||||
### YAGNI Ruthlessly
|
||||
|
||||
Remove unnecessary features aggressively:
|
||||
- Question every "nice to have"
|
||||
- Start with minimal viable design
|
||||
- "We might need this later" = remove it
|
||||
|
||||
### One Question at a Time
|
||||
|
||||
Sequential questioning produces better results:
|
||||
- Gives user time to think deeply
|
||||
- Prevents overwhelming with choices
|
||||
- Creates natural conversation flow
|
||||
|
||||
### Multiple-Choice Preference
|
||||
|
||||
When possible, provide structured options:
|
||||
- Reduces cognitive load
|
||||
- Surfaces your understanding
|
||||
- Makes decisions concrete
|
||||
|
||||
## Output
|
||||
|
||||
After design is validated, create design document:
|
||||
|
||||
```markdown
|
||||
# Design: [Feature Name]
|
||||
Date: [YYYY-MM-DD]
|
||||
|
||||
## Summary
|
||||
[2-3 sentences]
|
||||
|
||||
## Architecture
|
||||
[Architecture decisions]
|
||||
|
||||
## Components
|
||||
[Component breakdown]
|
||||
|
||||
## Data Flow
|
||||
[How data moves through system]
|
||||
|
||||
## Error Handling
|
||||
[Error scenarios and handling]
|
||||
|
||||
## Testing Strategy
|
||||
[Testing approach]
|
||||
|
||||
## Open Questions
|
||||
[Any remaining unknowns]
|
||||
```
|
||||
|
||||
## Next Steps After Brainstorming
|
||||
|
||||
After design is complete:
|
||||
1. Commit design document to version control
|
||||
2. Use `/plan --detailed` for implementation planning
|
||||
3. Use `/execute-plan` for automated implementation
|
||||
|
||||
## When NOT to Use
|
||||
|
||||
- Clear "mechanical" processes with known implementation
|
||||
- Simple bug fixes with obvious solutions
|
||||
- Tasks with explicit requirements already defined
|
||||
|
||||
Use direct implementation instead.
|
||||
Reference in New Issue
Block a user