From cf-powers
Turns vague ideas into structured technical analysis documents through collaborative dialogue. Use for non-trivial implementations with design choices, multiple components, or unclear requirements.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cf-powers:analysisThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A single skill that takes you from a vague idea to a reviewed technical analysis document, ready for implementation planning. Combines collaborative dialogue (understanding what to build) with rigorous technical analysis (how to build it).
A single skill that takes you from a vague idea to a reviewed technical analysis document, ready for implementation planning. Combines collaborative dialogue (understanding what to build) with rigorous technical analysis (how to build it).
Announce at start: "I'm using the analysis skill to turn this idea into a technical analysis."
Output: docs/plans/YYYY-MM-DD-<topic>.md — a single document containing both the design rationale and the full technical analysis.
Output language: English (document, dialogue, and all skill artifacts).
Goal: Understand what we're building and why before writing anything.
If the user already has a clear spec or design doc — skip to Phase 2. Not every idea needs 20 questions.
If the idea is vague or open-ended:
Exploring approaches:
Validating the design direction:
Key principles for Phase 1:
Design for isolation and clarity:
Working in existing codebases:
Before writing anything, thoroughly explore the project:
Write in English. Follow this document structure:
# <Topic> — <Short description>
## Overview
What is being built and why.
### Why
- Motivation (bullet points)
- Business value
- Technical debt being addressed
## Current state
How things work today. Include:
- Relevant code paths with file:line references
- Data flow diagrams (ASCII or description)
- Current limitations
| Aspect | Current state | Proposed state |
|--------|---------------|----------------|
| ... | ... | ... |
## Proposed solution
### Architecture
Overall approach. Diagrams where they help.
### Database changes (if any)
Table definitions with complete DDL:
| Column | Type | Description |
|--------|------|-------------|
| ... | ... | ... |
Migration scripts, seed data.
### Service layer changes
New services, modified services. Method signatures and interfaces only — NO implementation code.
DI registration.
### UI changes (if any)
New views/pages, navigation.
### Configuration
New config values, feature flags.
## Affected files
### New files
- `path/to/file.ext` — description
### Modified files
- `path/to/file.ext:123-145` — what changes and why
### Unchanged files (important)
- `path/to/file.ext` — why no change is needed
## Implementation phases
Logical chunks, NOT micro-tasks (those belong in writing-plans).
Each phase is a coherent unit of work.
**Each phase becomes a separate plan file** in writing-plans.
### Phase 1: <Name>
- What is included
- Expected outcome
- Dependencies on other phases
- [ ] Checklist of main steps
### Phase 2: <Name>
- ...
## Risks and mitigations
| Risk | Impact | Probability | Mitigation |
|------|--------|-------------|------------|
| ... | ... | ... | ... |
## Testing
### Unit tests
- List of test scenarios with expected behavior
### Integration / manual tests
- End-to-end scenarios
### Verification
- Commands to run (build, test suite)
- Grep checks for remaining hardcoded values, etc.
## Notes
Idempotence, edge cases, performance considerations, backward compatibility.
## References
- Links to relevant documentation
- Links to similar implementations in the codebase
Before saving, verify the analysis covers all of the following:
If any section is not applicable, explicitly note "N/A" with a brief reason rather than omitting it.
Save the document to docs/plans/YYYY-MM-DD-<topic>.md. Commit to git.
REQUIRED: After saving, dispatch four review subagents in parallel using the Task tool.
Business Analyst Review:
Task tool:
subagent_type: general-purpose
description: "BA review of analysis"
prompt: >
You are a Business Analyst reviewer.
Read and follow the cf-powers:review-as-ba skill exactly.
Document to review: docs/plans/YYYY-MM-DD-<topic>.md
Provide your structured review following the skill's output format.
Developer Review:
Task tool:
subagent_type: general-purpose
description: "Dev review of analysis"
prompt: >
You are a Developer reviewer.
Read and follow the cf-powers:review-as-dev skill exactly.
Document to review: docs/plans/YYYY-MM-DD-<topic>.md
Read the actual codebase to verify all claims. Provide your structured review
following the skill's output format.
Security Review:
Task tool:
subagent_type: general-purpose
description: "Security review of analysis"
prompt: >
You are a Security Engineer reviewer.
Read and follow the cf-powers:review-as-security skill exactly.
Document to review: docs/plans/YYYY-MM-DD-<topic>.md
Read the actual codebase to verify security claims. Check CLAUDE.md for
project-specific security invariants. Provide your structured review
following the skill's output format.
Performance Review:
Task tool:
subagent_type: general-purpose
description: "Performance review of analysis"
prompt: >
You are a Performance Engineer reviewer.
Read and follow the cf-powers:review-as-perf skill exactly.
Document to review: docs/plans/YYYY-MM-DD-<topic>.md
Read the actual schema, queries, and code to verify performance claims.
Provide your structured review following the skill's output format.
After all reviewers return:
"Analysis is complete and has passed cross-check review. How would you like to proceed?"
Options:
cf-powers:writing-plansnpx claudepluginhub cloudfieldcz/cf-powers --plugin cf-powersGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.