From magic-powers
Use when starting any non-trivial feature — enforces requirements → design → tasks workflow with explicit approval gates before writing code. Prevents wasted implementation effort.
npx claudepluginhub kienbui1995/magic-powers --plugin magic-powersThis skill uses the workspace's default tool permissions.
Approve the spec before writing the plan. Approve the plan before writing code. This catches wrong assumptions early, when they're cheap to fix.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Approve the spec before writing the plan. Approve the plan before writing code. This catches wrong assumptions early, when they're cheap to fix.
Do NOT write any implementation code until you have completed all 3 phases and received explicit user approval at each gate. No exceptions.Phase 1: Requirements → [GATE: user approves]
Phase 2: Design → [GATE: user approves]
Phase 3: Tasks → [GATE: user approves]
↓
writing-plans + executing-plans
Goal: Know exactly what to build before deciding how.
Ask the user one question at a time:
Then write a structured requirements doc:
# Requirements: [Feature Name]
Date: YYYY-MM-DD
## Problem
[1-2 sentences. What pain does this solve?]
## Users
[Who uses this and in what context]
## Requirements
### Must Have
- WHEN [trigger], the system SHALL [behavior]
- WHEN [user action], the system SHALL [response] WITHIN [constraint]
### Should Have
- [Nice-to-have, won't block launch]
### Out of Scope
- [Explicit exclusions — prevents scope creep]
## Success Criteria
- [ ] [Measurable, testable criterion]
- [ ] [Measurable, testable criterion]
Save to docs/specs/YYYY-MM-DD-<feature>-requirements.md and commit.
Gate 1:
"Requirements written. Please review
<path>before we move to design. Any corrections or additions?"
Wait for explicit approval. Do not proceed without it.
Goal: Decide how to build it before building.
Use @architect (Opus) for complex designs. For simple features, Sonnet is fine.
Cover:
# Design: [Feature Name]
## Architecture
[Diagram or description of components and data flow]
## Data Model
[Schemas, types, key fields]
## API / Interface
[Endpoints or function signatures with types]
## Error Handling
[What fails, how to handle each case]
## Testing
[What to test, what not to test]
## Open Questions
[Unresolved decisions — resolve before implementing]
Save to docs/specs/YYYY-MM-DD-<feature>-design.md and commit.
Run @reviewer (Haiku) to check the design for inconsistencies. Fix issues, then:
Gate 2:
"Design written. Please review
<path>. Are there any open questions to resolve before we break this into tasks?"
Wait for explicit approval. Do not proceed without it.
Goal: Break the design into atomic, executable tasks with clear dependencies.
Each task must be:
# Tasks: [Feature Name]
## Dependencies
- [ ] Task 1 must complete before Task 3
- [ ] Tasks 2 and 3 can run in parallel
## Task 1: [Name]
**Depends on:** none
**Done when:** [test passes / endpoint returns X / UI shows Y]
Steps:
- [ ] Write failing test
- [ ] Implement minimal code
- [ ] Verify test passes
- [ ] Commit
## Task 2: [Name]
...
Save to docs/specs/YYYY-MM-DD-<feature>-tasks.md and commit.
Gate 3:
"Task breakdown ready at
<path>. Ready to start implementation?
- Subagent-driven (recommended) — fresh agent per task, review between
- Inline — execute in this session with checkpoints"
magic-powers:subagent-driven-developmentmagic-powers:executing-plansmagic-powers:writing-plans| Phase | Agent | Model | Why |
|---|---|---|---|
| Requirements | Default | Sonnet | Dialogue, light reasoning |
| Design | @architect | Opus | Deep system thinking |
| Design review | @reviewer | Haiku | Fast consistency check |
| Tasks | Default | Sonnet | Structured breakdown |
| Implementation | Per-task agents | Varies | Cost-optimized routing |