| name | using-superpowers |
| description | Use when starting a conversation to route new-project setup requests to project-setup and make/build/create/implement app, site, tool, component, UI, API, workflow, or behavior requests to brainstorming before frontend, design, framework, or implementation skills |
| metadata | {"priority":100} |
Using Superpowers Architecture
Superpowers Architecture is an architecture-first software development workflow for agentic coding runtimes.
Before selecting any other skill, apply these priority rules:
- For requests to start a new project from scratch, establish repo instructions, create a project contract, create root
CONTEXT.md, choose a tech stack, define domain language, summarize architecture, or build the initial high-level roadmap, use project-setup before brainstorming, frontend, app-builder, design, framework, implementation, or coding skills.
- For requests to make, build, create, implement, add, change, or design a feature, app, site, tool, component, workflow, UI, API, behavior, or architecture change in an established project, use
brainstorming before frontend, app-builder, design, framework, implementation, or coding skills unless the user explicitly provides an approved implementation plan path or explicitly asks to bypass design/spec work.
Host-specific tool names live in references/. Use codex-tools.md on Codex and claude-code-tools.md on Claude Code. Keep shared workflow policy runtime-neutral.
If a Superpowers Architecture skill applies to the task, use it before acting. The selected phase flow is:
- For new downstream projects,
project-setup writes and reviews root AGENTS.md, root CONTEXT.md, justified child AGENTS.md files, and a high-level roadmap, then stops.
- The first
brainstorming session for a project or task chain establishes the Phase Mode when no durable preference already exists, writes and reviews a local architecture-aware spec, and stops at the written-spec review gate.
- After written spec approval, the selected Phase Mode controls planning:
- Automated fresh-session mode starts
writing-plans in a fresh Codex or Claude session from the approved spec path when a runtime adapter is available.
- Same-session mode invokes
writing-plans in the current conversation after re-reading the approved spec and codebase from disk.
writing-plans writes and reviews an exact implementation plan from the approved spec, then stops at the written-plan review gate.
- After written plan approval, the selected Phase Mode controls implementation:
- Automated fresh-session mode starts
subagent-driven-development or executing-plans in a fresh Codex or Claude session from the approved plan path when a runtime adapter is available.
- Same-session mode invokes
subagent-driven-development or executing-plans in the current conversation after re-reading the approved plan, referenced spec, and codebase from disk.
finishing-a-development-branch verifies and summarizes the completed branch without pushing, merging, opening PRs, discarding work, or publishing unless the user explicitly asks.
Generated downstream files under docs/superpowers/** are local developer working state. Do not stage or commit them unless the user explicitly asks.
Phase Modes
Phase Mode is the workflow progression rule selected during the first brainstorming session when no durable preference already exists.
Automated fresh-session mode means artifact approval starts the next phase in a fresh Codex or Claude session using a self-contained prompt. If the runtime adapter is unavailable, disabled, or unsafe, print the exact fallback prompt or command and stop.
Same-session mode means artifact approval continues to the next phase in the current conversation. Before producing the next artifact or implementation, re-read AGENTS.md, optional root CONTEXT.md, the approved artifact, and relevant codebase files from disk. Ignore prior design conclusions unless they are present in the approved artifact or project docs.
Approval must be explicit in both modes. Never infer approval from silence, from artifact creation, or from a request to continue that does not identify the approved artifact.
Required Skill Discipline
- If the user asks for new-project-from-scratch setup, repo inception, project contract creation, root
CONTEXT.md, tech-stack decisions, architecture summary, domain language, or initial high-level roadmap creation, use project-setup.
- If the user asks to work on a roadmap item after project setup, route that selected roadmap task to a fresh
brainstorming session instead of keeping the work in project-setup.
- If the user asks for feature work, behavior changes, architecture changes, generic app/site/tool/component creation, or unclear requirements, use
brainstorming before implementation or frontend/app-builder skills.
- If the user asks to debug a bug, failing test, broken build, regression, or unexpected behavior, use
systematic-debugging before proposing a fix.
- If the user provides an approved spec path and asks for a plan, use
writing-plans.
- If the user provides an approved plan path and asks for implementation, use
subagent-driven-development for mostly independent tasks or executing-plans for linear execution.
- Before claiming completion, use
verification-before-completion unless another selected skill has a stricter verification closeout.
Skill Priority
project-setup for new-project-from-scratch setup, repo inception, project contracts, root CONTEXT.md, stack decisions, architecture summaries, domain language, or initial high-level roadmaps. This outranks brainstorming only for downstream project inception.
brainstorming for new feature work, behavior changes, architecture changes, generic make/build/create/implement requests, or unclear requirements in an established project. This outranks frontend, app-builder, design, framework, implementation, and coding skills unless an approved implementation plan path is provided or the user explicitly asks to bypass design/spec work.
systematic-debugging for bugs, failing tests, broken builds, regressions, or unexpected behavior.
writing-plans only when an approved local spec path is available.
subagent-driven-development or executing-plans only when an approved local plan path is available.
finishing-a-development-branch when implementation tasks are done and the user wants release-readiness verification.
verification-before-completion before any completion claim not already covered by the finishing skill.
Phase Boundaries
Do not continue from project setup to spec, from spec to plan, or from plan to implementation before the relevant written artifact is approved.
At the end of project setup, stop and provide the first-brainstorming handoff prompt.
At the end of brainstorming, stop and describe what will happen after spec approval under the selected Phase Mode.
At the end of planning, stop and describe what will happen after plan approval under the selected Phase Mode.
Implementation starts only from an explicit approved plan path.
Local Working State
These paths are local developer working state:
docs/superpowers/specs/
docs/superpowers/plans/
docs/superpowers/architecture-reviews/
Do not stage or commit those paths unless the user explicitly requests it. Code commits remain allowed during implementation tasks.
Removed Behaviors
The shipped skills must not actively instruct agents to:
- offer or run a visual companion
- create or maintain plugin-local lowercase
context.md
- create or maintain a root
CONTEXT.md in this plugin repository
- create or maintain ADRs
- run Matt issue, PRD, or triage flows
- commit generated specs or plans automatically
- continue from project setup to spec, spec to plan, or plan to implementation before the relevant written artifact is approved
- present the default merge, PR, or discard finish menu
Mentions of removed behavior are allowed in public docs only when they clearly describe what this plugin removed from upstream workflows. project-setup may create uppercase root CONTEXT.md only in downstream projects.