skills/eliteforge-codex-superpower/SKILL.md
Lean AC-only Codex workflow for EliteForge feature delivery. Use for feature design, database or API contracts, TDD execution, or selective multi-agent delivery needs.
npx skillsauth add cloudsen/eliteforge-skills eliteforge-codex-superpowerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ELITEFORGE_SKILL_SUPERPOWER_TDD_AGENT [optional] Codex runtime spawn_agent.agent_type for bounded AC TDD slice workers; defaults to worker.ELITEFORGE_SKILL_SUPERPOWER_CODING_AGENT [optional] Codex runtime spawn_agent.agent_type for coding subagents such as backend/frontend/database implementation workers; defaults to worker.ELITEFORGE_SKILL_SUPERPOWER_REVIEWER_AGENT [optional] Codex runtime spawn_agent.agent_type for verify and review workers; defaults to worker.Environment variable values are Codex runtime agent types passed to spawn_agent.agent_type, not workflow role names. Valid values must come from currently available Codex agent types such as worker, explorer, coder, or coder-spark.
Resolve runtime agent types before every spawn_agent call:
ELITEFORGE_SKILL_SUPERPOWER_TDD_AGENT -> worker.ELITEFORGE_SKILL_SUPERPOWER_CODING_AGENT -> worker.ELITEFORGE_SKILL_SUPERPOWER_REVIEWER_AGENT -> worker.explorer.If a configured environment variable is set to a value that is not an available Codex runtime agent type, stop before spawning and record the invalid value. Fall back to worker only when no configured variable in the resolution chain is set.
For every non-explorer worker spawn, pass the resolved value explicitly as spawn_agent.agent_type. If resolution returns coder-spark, call spawn_agent with agent_type: "coder-spark". Do not omit agent_type, do not rely on default spawn behavior, do not replace it with a workflow role, and do not use fork_context: true with an explicit agent_type; pass a focused prompt with required AC rows, command aliases, write scope, and worktree context instead.
Workflow roles such as tdd-slice-worker, backend-worker, frontend-worker, database-worker, and review-worker belong only in task ownership, prompts, worktree plans, branches, and report filenames. They are never Codex runtime agent_type values.
Default model:
lead agent + explorer subagents -> approved brainstorming design -> explorer-assisted PRD synthesis -> approved PRD -> repo-aware feature selection -> selected feature model -> AC index -> proof rows + command index -> AC task rows -> AC evidence rows
This skill is AC-only across documents. The only global business traceability ID is AC-*. Do not create global INT-*, TDD-*, TASK-*, EV-*, or BVE-* IDs. Page interactions, TDD cases, tasks, and browser evidence are fields under the owning AC row.
solo: explicit fallback only. Lead handles docs, coding, validation, and evidence for a small bounded AC slice on the selected-git-spec main/base branch after recording the reason.hybrid: default. Lead owns docs, integration, and final judgment; behavior-changing AC slices should use one tdd-slice-worker unless the user explicitly approves solo or the slice is documentation-only/trivial.parallel: use multiple workers only when contracts are stable, write scopes are disjoint, and splitting reduces wall-clock time.Default task unit: one bounded AC slice with phase: tdd, covering RED -> GREEN -> focused VERIFY. Do not split RED worker, GREEN worker, and review worker by ceremony. Split backend/frontend/database workers only for real fan-out.
Base branch rule: selected-git-spec main/base branch creation is mandatory before behavior-changing execution. solo means no delegated worker, not "work directly on the original checkout." Even solo execution must happen from the selected-git-spec main/base branch and be recorded in orchestration/worktree-plan.md.
Dispatch decision rule: every behavior-changing task row (phase: tdd|red|green|refactor) must have a row in orchestration/worktree-plan.md#Dispatch Decisions.
Decision order:
solo and record the approval/trivial rationale.blocked and stop for user decision.parallel.spawn; default hybrid means one bounded AC implementation worker owns RED -> GREEN -> focused VERIFY.Before each spawn or parallel dispatch, resolve and record the delegated worker runtime_agent_type in orchestration/worktree-plan.md. User-facing dispatch summaries must name both the workflow owner and runtime type, for example execution_owner=tdd-slice-worker and runtime_agent_type=coder-spark.
Grouping: do not mechanically spawn one worker per AC when adjacent AC rows share the same files, command aliases, and interaction surface. One spawned worker may own multiple tightly coupled AC rows if the prompt remains bounded. Do not group AC rows that require disjoint backend/frontend/database fan-out, unrelated files, or independent browser flows.
spec/feature-spec.md; no AC-*, commands, RED/GREEN, or evidence.spec/acceptance.md; the only file that defines AC-*.spec/test-plan.md; proof rows by AC-* plus local CMD-* command aliases.tasks/*.md; execution slices by AC-*, usually phase: tdd.orchestration/*.md; worktree-plan.md records the mandatory selected-git-spec main/base branch, and context-index.md provides navigation.reports/*.md; RED/GREEN/VERIFY/browser evidence by AC-*.All documents other than the owner file reference facts using AC-*, local CMD-*, or @ref:<relative-file>#<anchor>. Do not duplicate expanded facts across files.
orchestration/context-index.md before dispatch, review, or final validation.context-index.md first, then open only the needed file, heading, and AC row.spec/, tasks/, or reports/.External browser/testing skills, including webapp-testing, are capability providers only. Do not edit or depend on their EliteForge document contract if it conflicts with this skill.
When delegating browser work, the lead prompt must provide the AC-only contract explicitly:
AC-* rows, matching proof rows, CMD-* command aliases, route/surface references, and write scope.reports/*.md evidence rows keyed by AC-*.test-scope.md, global TDD-*, TASK-*, INT-*, EV-*, or BVE-* IDs.Use external browser skills for Playwright technique, server lifecycle, selector discovery, screenshots, traces, and logs. This skill remains the source of truth for document names, IDs, report shape, and validation.
Use docs/features/<feature-slug>/ with spec/, tasks/, orchestration/, and reports/. Use assets/ templates. Derive <feature-slug> from product feature name (lowercase kebab-case). Do not derive branch names, worktree paths, or agent names from this skill.
One workspace represents one bounded feature only. Do not use one docs/features/<feature-slug>/ tree to hold an entire broad brainstorming spec or whole-product PRD that still contains several independent capabilities.
Before any behavior-changing execution, select the active git skill:
eliteforge-git-feature-oriented-spec (full spec)eliteforge-git-feature-oriented-lite-spec (lite spec)Use the chosen git skill as the only source for main branch, worktree path, multi-agent base, subagent branch, agentId, and subtaskName. Create or verify the selected-git-spec main/base branch before implementation, even when no worker is spawned. Record Codex runtime id separately in worktree-plan.md.
If files exist, preserve decisions and update in place.
Before entering New Feature Delivery or Feature Evolution, activate eliteforge-brainstorming, then eliteforge-prd-generator.
eliteforge-brainstorming to converge scope, alternatives, and design decisions before feature drafting or reopening.eliteforge-prd-generator to turn the approved brainstorming output into a searchable product definition. The PRD must carry feature requirements by module, page prototypes and interactions, business rules, exception/boundary cases, shared requirements, feature inventory, dependency map, recommended implementation order, and product-level acceptance.explorer subagents for repo/context scan before or during brainstorming, then again for PRD input synthesis and repo-aware feature selection.references/zero-one-delivery.md or references/feature-evolution.md until brainstorming and PRD are approved or the user explicitly approves reuse of existing approved upstream docs.New Feature Delivery: after the brainstorming and PRD prerequisites pass, no existing feature workspace, starting new feature 0-1.
Feature Evolution: after the brainstorming and PRD prerequisites pass, changing, refactoring, extending, narrowing, or reopening existing workspace. Re-enter gates from earliest affected design point.
Both start from approved brainstorming output plus an approved PRD, then share the same feature-selection gate, AC-only documents, validators, git-spec constraints, context-index rule, and execution-mode rules.
eliteforge-brainstorming before any new feature 0-1 flow or feature evolution, unless the current request already has an approved brainstorming spec that the user approves for reuse.eliteforge-prd-generator to write or refine the searchable product definition that superpower will use as its product-layer input.explorer subagents for repo/context scan. After brainstorming approval, dispatch read-only explorer subagents again for PRD input synthesis, then for repo-aware feature selection, heading search, and dependency validation.docs/features/<feature-slug>/; capture only the relevant PRD heading references, not the whole PRD.AC-* is the only global business ID across documents.spec/feature-spec.md must not contain AC-*, TDD-*, commands, RED/GREEN, browser evidence, or execution logs.spec/acceptance.md owns all AC-*; each AC is one compact completion judgment line.spec/test-plan.md proves ACs with case, red, green, optional interaction, and command_ref.CMD-* aliases live only in spec/test-plan.md#command-index; slow/browser commands require cost and rerun policy.interaction: proof fields, not separate INT-* files or IDs.smoke passed is not evidence.phase: tdd task rows cover RED -> GREEN -> VERIFY for one AC slice.hybrid; solo requires explicit user approval or a recorded docs-only/trivial rationale.tdd-slice-worker for behavior-changing AC slices when tool support is available; add more workers only for real parallelism, isolation, or long-running execution value.agentId and subtaskName come from the git skill; Codex runtime ids come from spawn_agent.orchestration/worktree-plan.md must record resolved main branch, main worktree path, and multi-agent base branch before implementation.in_progress unless platform failure, empty completion, user interruption, or approved timebox breach occurs.Load references only when needed:
| need | reference |
| --- | --- |
| Design prerequisite | eliteforge-brainstorming |
| Product definition handoff | eliteforge-prd-generator |
| PRD-to-feature selection | references/feature-decomposition.md |
| New feature delivery workflow | references/zero-one-delivery.md |
| Existing feature evolution workflow | references/feature-evolution.md |
| TDD quality rules | references/tdd-workflow.md |
| Execution modes and worker prompts | references/subagent-orchestration.md |
| Worktree setup and integration | selected git skill, then references/git-worktree-orchestration.md |
| Database design guidance | references/database-design.md |
Complete only when: active validation passes, reached gates have approved or approved-with-defaults decisions, every AC-* has proof rows, task rows, and final evidence rows, browser evidence is concrete when UI/browser is claimed, slow/browser reruns follow policy, and unresolved blockers are recorded.
Feature Evolution additionally requires: change classification, downstream impact analysis, affected-gate validation, stale artifact status, and old/new AC evidence migration.
testing
Rewrite human-facing prose using Strunk-style rules. Use for docs, README files, technical explanations, PR descriptions, commit messages, error messages, UI copy, reports, and summaries when the user asks to polish, shorten, clarify, de-duplicate, restructure, or normalize tone.
testing
Draft or refine a concise product requirements document from a rough product idea, then write a Typst source file and sibling PDF to a resolved output path.
research
产品经理竞品分析报告生成器。当用户提到竞品分析、竞品调研、竞品对比、竞争对手分析、市场竞争分析、行业竞品研究时触发。也适用于用户要求对比多个产品/平台/公司的功能、商业模式、市场定位等场景。即使用户只是说'帮我分析一下XX和YY'或'XX有哪些竞争对手',只要涉及产品/公司间的对比分析,都应该使用这个 skill。支持任意行业,支持快速分析和深度分析两种模式。
development
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.