/superpowers-optimized:using-superpowersfrom superpowers-optimized
Classifies technical tasks as micro, lightweight, or full and routes to the appropriate workflow skill. Applies before code changes, debugging, planning, or review.
Ships in superpowers-optimized. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Apply this router when a session starts with a technical request, when the user gives a new task or changes topic, when technical work is about to begin without a skill selected, or when the user asks which workflow to use.
Exception: Micro tasks (typo fix, single variable rename, 1-line config change) skip the entry sequence entirely. Just do them.
A prompt that names a skill ("use brainstorming", "use context management", "run verification") is a Skill tool invocation request — never a goal to achieve creatively:
Skill tool. Do not re-implement its purpose with ad-hoc agents, manual file reads, or improvised workflows.If a user explicitly overrides a skill's behavior, follow the user. Skills are defaults, not mandates.
Before technical execution, select workflow skills explicitly and follow them.
Technical execution includes code edits, debugging, planning, review, test status claims, and branch integration actions.
token-efficiency at session start — applies to all sessions, always.Fresh project gate — evaluate both conditions in order:
ls project-map.md 2>/dev/null — gate only fires if the file does not existIf both are true, pause before proceeding and tell the user exactly this:
Before I start: this directory has no memory files yet, so every future session here starts from scratch — re-exploring the structure, re-reading files, and possibly re-proposing approaches that were already rejected.
A ~30-second setup fixes that:
git init(staleness tracking — creates.gitonly),project-map.md(orientation at every session start), andsession-log.md(decisions and rejected approaches, saved when we record them).Set this up before we build, or start immediately?
Wait for the user's answer before continuing.
git init --quiet directly (do not ask again), then invoke context-management for map generation only, and return to step 3. context-snapshot.json first appears next session — its hook ran before git existed.Step 2b (only when step 2 did NOT fire): if the request is non-trivial, project-map.md does not exist, and the project has 10+ files, mention once, without blocking: "This project has no project-map.md. Say 'map this project' after this task if you want faster orientation in future sessions."
state.md if it exists — unless a <state> block is already in your context (that is the file). Before ending a session that made significant decisions (design choices, rejected approaches, non-obvious constraints), invoke context-management to write a [saved] entry, even if the work is complete — nothing else preserves the "why".known-issues.md if it exists — unless a <known-issues> block is already in your context; then open the file only when debugging and the block says more entries exist.project-map.md instead of re-globbing. A <project-map> block in your context is that file — Read it again only if the block says it was shortened. For a file's actual logic, read the file itself. Staleness:
<project-map-stale> tag lists the documented files that changed. Re-read only those, update their Key Files entries, and refresh the header hash and date.Classify every task into one of three levels. Do not invoke a separate skill for this — decide inline.
If any of the following are true, classify as full immediately — do not evaluate the lightweight criteria:
When in doubt, classify as full. Full does not mean heavy: brainstorming scales its paperwork to the work, so a small change costs one design in the conversation — no spec file, no plan file, and no wait when the request already fixes the behavior. Skipping the design on a task that needed one ships a gap. That asymmetry is why doubt resolves toward full.
All of these must be true:
Before classifying as lightweight: explicitly state in one sentence why each of the four criteria above is satisfied. Do not assume. If you cannot articulate any one of them clearly, classify as full.
Action: Go directly to implementation. Only gate: invoke verification-before-completion when done. Skip brainstorming, planning, worktrees, and parallel dispatch.
Exception: If a dedicated implementation skill exists for this specific task (check the Routing Guide), invoke it — lightweight skips workflow overhead, not implementation skills.
Anything that doesn't qualify as micro or lightweight.
Action: Follow the Routing Guide below for the full skill pipeline.
If Claude is about to enter plan mode (EnterPlanMode), check whether brainstorming has been completed for the current task:
brainstorming first — plan mode without a validated design leads to plans built on unexamined assumptions.writing-plans.premise-check (run before brainstorming or planning)deliberation → brainstorming → writing-plansbrainstorming → writing-plans (small changes go from the design straight to implementation — see brainstorming)subagent-driven-developmentexecuting-plansusing-git-worktrees (run before implementation)systematic-debugging → test-driven-developmentverification-before-completionfinishing-a-development-branchrequesting-code-review / receiving-code-reviewdispatching-parallel-agentscontext-managementerror-recoveryrefactoring (lock behavior with tests, then restructure incrementally)performance-investigation (measure → profile → fix → re-measure)dependency-management (audit → assess impact → update incrementally → verify)frontend-design standardsclaude-md-creator (applies at any complexity level — never implement directly)self-consistency-reasoner (used inside systematic-debugging and verification-before-completion); token-efficiency (always on, step 1).For subagent handoffs, include only current task scope, constraints, evidence, and references to state.md when needed.
Avoid carrying forward long assistant reasoning chains unless they contain required artifacts.
When output feeds another agent/tool step, prefer JSON or YAML schemas defined by the active skill.
If a red flag appears, restart from Entry Sequence.
What SKILL.md sets; muted values are Claude Code's defaults
24 skills in this plugin
/brainstormingUse when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no approved design exists yet. Produces a design before any code is written — in the conversation for small changes, as an approved spec document for larger work. 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.
/claude-md-creatorCreates minimal, high-signal CLAUDE.md and AGENTS.md context files based on empirical best practices. Invoke on /init command, "create CLAUDE.md", "update CLAUDE.md", "write AGENTS.md", or "set up Claude Code for this project". Also invoked by brainstorming when repo lacks a context file. tools: Read, Glob, Grep, Bash, Edit
/context-managementnpx claudepluginhub repozy/superpowers-optimized --plugin superpowers-optimizedOther plugins' skills for the same job