claude-md-creator
Creates minimal, high-signal CLAUDE.md and AGENTS.md context files based on empirical best practices. Invoke on /init command,…
MUST USE when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no approved design exists yet. Produces an approved design document before any code is written. Triggers on: "build this", "add a feature", "I want to
$ npx -y skills add REPOZY/superpowers-optimized --skill brainstorming --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/brainstormingContext preview
The summary Claude sees to decide when to auto-load this skill.
MUST USE when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no approved design exists yet. Produces an approved design document before any code is written. Triggers on: "build this", "add a feature", "I want to
name: brainstorming description: > MUST USE when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no approved design exists yet. Produces an approved design document before any code is written. Triggers on: "build this", "add a feature", "I want to change", "how should we", "design", "architect", "new project", "refactor", "we need to add/build/create", "implement a new". Routed by using-superpowers, or invoke directly via /brainstorming.
Turn rough requests into an approved design before implementation.
Do not write code, edit files, or invoke implementation skills until design approval is explicit.
Every project goes through this process. A todo list, a single-function utility, a config change — all of them. "Simple" projects are where unexamined assumptions cause the most wasted work. The design can be short (a few sentences for truly simple projects), but you MUST present it and get approval.
1. Inspect project context (relevant files, docs, recent commits). 2. Assess scope: if the project touches 4+ independent subsystems or would require 20+ implementation tasks, decompose into sub-projects. Design each sub-project as a separate spec. Present the decomposition to the user for approval before designing individual specs. 3. Ask all clarifying questions together in a single turn. Use multiple-choice format where possible to reduce round trips. 4. Propose 2-3 approaches with trade-offs and a recommendation. 5. Present design in short sections; confirm each section. 6. For existing codebases: study existing patterns before proposing new ones. Match the project's conventions unless there's a compelling reason to diverge. Design for isolation — prefer changes that minimize blast radius and don't require coordinating across many files. 7. If the repo lacks `CLAUDE.md` / `AGENTS.md` and long-term collaboration is expected, consider using `claude-md-creator` to create a minimal, high-signal context file. 8. **Before approving the design — failure-mode check:** State the top 2-3 ways the chosen approach could fail or not cover all cases. This is adversarial reasoning, not a list of known assumptions — actively try to break the design. For each failure mode found, assess severity:
Do not skip this step. An approach that survives adversarial questioning is an approach worth approving. 9. Save approved design to `docs/specs/YYYY-MM-DD-<topic>-design.md`. 10. **Spec self-review** — quick inline check for placeholders, contradictions, ambiguity, scope (see Spec Self-Review below). Fix issues inline; no subagent dispatch needed. 11. **User reviews written spec** — ask user to review the spec file before proceeding (see User Review Gate below). 12. Invoke `writing-plans`.
digraph brainstorming {
"Explore project context" [shape=box];
"Assess scope" [shape=diamond];
"Decompose into sub-projects" [shape=box];
"Ask clarifying questions" [shape=box];
"Propose 2-3 approaches" [shape=box];
"Present design sections" [shape=box];
"User approves design?" [shape=diamond];
"Failure-mode check" [shape=box];
"Save design doc" [shape=box];
"Spec self-review\n(fix inline)" [shape=box];
"User reviews spec?" [shape=diamond];
"Invoke writing-plans" [shape=doublecircle];
"Explore project context" -> "Assess scope";
"Assess scope" -> "Decompose into sub-projects" [label="4+ subsystems"];
"Assess scope" -> "Ask clarifying questions" [label="manageable"];
"Decompose into sub-projects" -> "Ask clarifying questions";
"Ask clarifying questions" -> "Propose 2-3 approaches";
"Propose 2-3 approaches" -> "Present design sections";
"Present design sections" -> "User approves design?";
"User approves design?" -> "Present design sections" [label="no, revise"];
"User approves design?" -> "Failure-mode check" [label="yes"];
"Failure-mode check" -> "Save design doc";
"Save design doc" -> "Spec self-review\n(fix inline)";
"Spec self-review\n(fix inline)" -> "User reviews spec?";
"User reviews spec?" -> "Save design doc" [label="changes requested"];
"User reviews spec?" -> "Invoke writing-plans" [label="approved"];
}**The terminal state is invoking writing-plans.** Do NOT invoke frontend-design, or any other implementation skill. The ONLY skill you invoke after brainstorming is writing-plans.
After writing the spec document, look at it with fresh eyes:
1. **Placeholder scan:** Any "TBD", "TODO", incomplete sections, or vague requirements? Fix them. 2. **Internal consistency:** Do any sections contradict each other? Does the architecture match the feature descriptions? 3. **Scope check:** Is this focused enough for a single implementation plan, or does it need decomposition? 4. **Ambiguity check:** Could any requirement be interpreted two different ways? If so, pick one and make it explicit.
Fix any issues inline. No need to re-review — just fix and move on.
After the spec self-review passes, ask the user to review the written spec before proceeding:
> "Spec written and committed to `<path>`. Please review it and let me know if you want to make any changes before we start writing out the implementation plan."
Wait for the user's response. If they request changes, make them and re-run the self-review. Only proceed once the user approves.
The production-grade fork of obra/superpowers — same trusted workflow, dramatically leaner, safer, and more intelligent.
Creates minimal, high-signal CLAUDE.md and AGENTS.md context files based on empirical best practices. Invoke on /init command,…
Use in long or noisy sessions to persist durable state across session boundaries via state.md. Also generates project-map.md when…
Use BEFORE brainstorming when facing a complex architectural, technology, or design decision where the options are not yet…
MUST USE when updating, migrating, or auditing project dependencies: upgrading packages, fixing security vulnerabilities (CVEs),…
Use when 2+ tasks are independent and can run concurrently without file or state conflicts or sequential dependencies. Triggers…
Maintains a project-specific known-issues.md mapping recurring errors to their solutions. Consulted automatically by…