Superman

From SihaoLiu/skills · View interactive version

Superman is an AI agent skill from the GitHub repository SihaoLiu/skills. Superman development flow for large-scale feature development, combining superpowers brainstorming/planning with humanize RLCR execution loops and parallel sub-agent execution. Use this skill when starting major features, significant refactors, or complex multi-component implementations. Triggers on

How to use this skill

Skill file

Superman Development Flow

Superman is an orchestration workflow that combines superpowers (brainstorming, planning) with humanize (RLCR loop, Codex review) for large-scale development. The main session acts purely as coordinator -- all implementation work is done by sub-agents in isolated git worktrees.

Prerequisites

The following skills must be available (typically via plugins):

Workflow Overview

| Name | What happens | Codex role |

|------|-------------|------------|

| Prepare | Load skill context, create working directory | -- |

| Brainstorm | Design specs via superpowers:brainstorming | -- |

| Design Review | Codex reviews specs | Chief Architect |

| Plan | Implementation plans via superpowers:writing-plans | -- |

| Plan Review | Codex reviews plans | Chief Engineer |

| Launch Gate | Iterative GO/NO-GO from Opus sub-agent + Codex | Independent reviewers |

| Execute | RLCR loop + sub-agents in worktrees (sleep-monitor pattern) | Stage checkpoint reviewer |

| Finalize | Documentation handoff to codebase | -- |


Prepare

Load the context of these dependencies -- they define the formats, schemas, and conventions used throughout:

Create a working directory for this session:

temp/superman/<yyyy-mm-dd_hh-mm-ss>/

All specs and plans live here until the workflow completes.

Brainstorm

Invoke superpowers:brainstorming to convert initial thoughts into design specifications.

Design Review (Codex as Chief Architect)

Invoke humanize:ask-codex to review the design specs.

Codex acts as Chief Architect in this review. Focus the review on:

If the feedback is reasonable, revise the specs accordingly. If some feedback seems off, double-check with the user before accepting or rejecting it.

Plan

Invoke superpowers:writing-plans to produce implementation plans from the reviewed specs.

Produce two types of plan documents:

The key distinction between specs and plans:

Plan Review (Codex as Chief Engineer)

Invoke humanize:ask-codex to review the implementation plans.

Codex acts as Chief Engineer in this review. Focus the review on:

If the feedback is reasonable, revise the plans accordingly. If some feedback seems off, double-check with the user before accepting or rejecting it.

Launch Gate (Iterative GO/NO-GO)

Starting an RLCR loop is expensive. Before committing, run an iterative readiness check:

  1. Launch two reviewers in parallel (background):
  1. Evaluate verdicts:
  1. Repeat until both reviewers return GO in the same iteration.

This gate supplements (not replaces) the earlier Design Review and Plan Review. Those reviews catch issues incrementally as artifacts are produced; this gate is a final holistic readiness check across all specs and plans together, right before committing to execution.

Execute

Invoke humanize:start-rlcr-loop starting with the master plan.

Critical rules for execution:

Milestone checkpoint between stages:

The master plan groups sub-plans into logical stages (e.g., foundation layer, infrastructure layer, integration layer) based on implementation dependencies and milestones. After completing all sub-plans within a stage and merging their branches:

  1. Verify locally -- confirm the build passes, tests pass, and existing functionality is not broken.
  2. Invoke humanize:ask-codex -- ask Codex to verify the stage completion. Provide it with: what was planned for this stage, what was actually implemented (commits, files changed), build/test results, and any deviations from the plan.
  3. Evaluate the verdict:

This applies to every stage boundary in the master plan. Do not start a new stage until the previous one has passed its Codex checkpoint.

Foreground sleep for monitoring sub-agents:

After dispatching work to sub-agents in worktrees, the main session has nothing to do but wait. However, simply going idle can trigger RLCR stop hooks that incorrectly detect "stopping with incomplete tasks," wasting tokens in a loop of blocked stop attempts. To avoid this:

Example pattern:

echo "Monitoring sub-agents... $(date)" && sleep 300 && echo "=== Check at $(date) ===" && <progress check commands>

Finalize

Once the RLCR Codex review confirms everything is good:

  1. Ask the user whether to move the design specs out of temp/ and into the codebase's documentation system under version control.
  2. If yes, relocate the spec files and commit them.
  3. Plans are never committed -- they served their purpose and can be discarded.

Nothing under temp/ enters version control until the user explicitly approves this final step.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.