Ship a Feature
Think it through first, then let your agent write tested code.
Use Claude Code
Reads your repo and writes down how it builds and tests, in CLAUDE.md.
Open Claude CodeSave it as CLAUDE.md. In your repo, run claude and type /init; Claude Code reads the code and writes CLAUDE.md with its build, test and style rules.
Give your agent the Brainstorming skill
Makes the agent think the feature through before it writes code.
The skill is in this folder, at skill/brainstorming. Copy it into your agent's skills folder, or install it from its maker:
/plugin install superpowers@claude-plugins-officialSave it as feature-design.md. Paste one function's part of the design doc into {{What the function should do}} and its code into {{Related code it must work with}}.
Run the Write a Function From a Spec prompt
The assumptions, the function, an edge-case table and example calls.
Any capable chat assistant writes a single function well from a clear spec; an editor assistant such as GitHub Copilot or Cursor can also see the surrounding code for you.