agentleFS
bordenetbordenet/superpowers-plus/skills/engineering/feature-development/skill.md

feature-development

Skill8 starsChanged 7 months agoMITView on GitHub

DEFAULT WORKFLOW for ANY code change. Orchestrates the full rigorous development lifecycle: brainstorming → think-twice → debate → progressive-harsh-review → plan-and-execute → progressive-harsh-review → commit. This fires AUTOMATICALLY for code changes unless the user explicitly opts out. Sequences existing skills so no phase is skipped.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use code-review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the task spans multiple files and requires coordination

    line 42
  2. Distinctive:

    If you are about to write, edit, or generate code, this skill applies.

    line 49
  3. Distinctive:

    Exit gate: All BLOCKER/MAJOR findings resolved.

    line 102
  4. Very specific:

    Run output-verification after generating any artifact

    line 112
  5. Distinctive:

    Exit gate: All phases complete, all tests pass, no regressions.

    line 113
  6. Very specific:

    Run output-verification — read back all generated files

    line 127
  7. Very specific:

    Run verification-before-completion — evidence before assertions

    line 128
  8. Distinctive:

    Run all validation tools (harsh-review, trigger-validator, tests)

    line 129
  9. Distinctive:

    Commit, push, create PR, merge (with user approval at each step)

    line 130
  10. Distinctive:

    Exit gate: All checks pass, PR merged, synced to all remotes.

    line 131

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

Feature Development

Wrong skill? Bug fix → systematic-debugging. Design comparison → debate. Pre-commit checks → pre-commit-gate. Workflow

Purpose: Orchestrate the full rigorous development lifecycle so no phase is skipped. Pattern: This skill SEQUENCES existing skills — it does not replace them. Scope: This is the DEFAULT workflow for ANY code change. Opt out ONLY if the user explicitly says to skip it.

Announce at start: "I'm using the feature-development skill to orchestrate this workflow."

When to Use

  • Implementing a new feature end-to-end (design → code → test → ship)
  • When the task spans multiple files and requires coordination
  • Multi-step implementation that needs a structured workflow

When to Use — DEFAULT for Code Changes

  • Any code change — features, bug fixes, refactors, skill edits, config changes
  • This fires AUTOMATICALLY. You do not need the user to say "use the full workflow."
  • If you are about to write, edit, or generate code, this skill applies.

Opt-Out Conditions

  • User explicitly says "skip the workflow", "just do it", "quick fix only"
  • Pure documentation-only changes (no code files touched)
  • Reading/exploring code with no intent to change it

The Workflow

Phase 1: BRAINSTORM → Phase 2: FRESH PERSPECTIVE → Phase 3: DESIGN →
Phase 4: HARSH REVIEW → Phase 5: PLAN & EXECUTE → Phase 6: HARSH REVIEW →
Phase 7: SHIP

Each phase has an exit gate — you cannot proceed until the gate passes.

Phase 1: Brainstorming

Invoke: brainstorming

  1. Explore the user's intent, requirements, and constraints
  2. Gather codebase context — read existing code, understand patterns
  3. Surface assumptions, edge cases, and scope boundaries
  4. Exit gate: Clear understanding of what needs to change and why.

Phase 2: Fresh Perspective

Invoke: think-twice

  1. Dispatch a sub-agent with zero prior context to review the problem
  2. The sub-agent should identify gaps, blind spots, and alternative framings
  3. Integrate fresh insights back into the plan
  4. Exit gate: Fresh perspective reviewed, no unaddressed blind spots.

Phase 3: Design

Invoke: debate

  1. Generate ≥3 genuinely distinct design options
  2. Build comparison matrix (≤5 criteria)
  3. Evaluate options against requirements from Phase 1
  4. Select winning design with documented rationale
  5. Exit gate: Design selected, trade-offs documented, edge cases addressed.

Phase 4: Harsh Review (Design)

Invoke: progressive-code-review-gate

  1. Red-team the selected design via hostile sub-agent reviewer
  2. Reviewer should find issues the designer is blind to
  3. Fix all BLOCKER and MAJOR findings before proceeding
  4. Exit gate: All BLOCKER/MAJOR findings resolved. MINOR findings tracked.

Phase 5: Plan & Execute

Invoke: plan-and-execute

  1. Break the design into ordered implementation phases with success criteria
  2. Enroll each phase as a TODO via todo-management / todo-crud.sh, then mirror to MCP tasks
  3. Execute each phase, running tests after each
  4. For each phase: implement → test → self-review via adversarial-search
  5. Run output-verification after generating any artifact
  6. Exit gate: All phases complete, all tests pass, no regressions.

Phase 6: Harsh Review (Implementation)

Invoke: progressive-code-review-gate

  1. Red-team the FULL implementation via hostile sub-agent reviewer
  2. Reviewer reads ALL changed files, runs quality gates, checks for regressions
  3. Fix all BLOCKER and MAJOR findings
  4. Re-review after fixes (minimum 2 review rounds total)
  5. Exit gate: Two review rounds passed, all findings resolved.

Phase 7: Ship

  1. Run output-verification — read back all generated files
  2. Run verification-before-completion — evidence before assertions
  3. Run all validation tools (harsh-review, trigger-validator, tests)
  4. Commit, push, create PR, merge (with user approval at each step)
  5. Exit gate: All checks pass, PR merged, synced to all remotes.

Phase Skip Prevention

You MUST NOT skip phases. "I already know the approach" → think-twice catches blind spots. "Only one design option" → debate requires ≥3. "Too small" → the 2026-03-27 incident was "just a small script."

Opt-out is user-initiated ONLY. The agent never decides to skip.

Integration Map

PhaseSkill InvokedPurpose
BrainstormbrainstormingExplore intent, gather context, surface assumptions
Fresh Perspectivethink-twiceSub-agent catches blind spots
Designdebate≥3 options, comparison, selection
Harsh Review (Design)progressive-code-review-gateRed-team the design
Plan & Executeplan-and-execute + adversarial-searchStructured implementation with self-review
Harsh Review (Impl)progressive-code-review-gateRed-team the implementation (min 2 rounds)
Shipoutput-verification, verification-before-completionInspect output, verify completion, merge

Incident History

2026-03-27: Agent skipped brainstorming, think-twice, and harsh review. Confabulated summary without reading output. Required 2 hostile review rounds. Every issue would have been caught by the full workflow.

Example

# Pre-flight: verify branch, tests pass, no uncommitted changes
git status --short && npm test 2>&1 | tail -5
# Post-implementation: run full test suite + lint
npm run lint && npm test

Failure Modes

FailureRecovery
Phase skipping (most common)Every phase has an exit gate. No phase can be skipped without user opt-out.
Rushing through brainstorming in <2 exchangesBrainstorming should explore ≥3 approaches with real trade-offs
Skipping harsh review after implementationPhase 6 is mandatory. Fixes from review need their own review.
Not persisting phase state via TODOEach phase must be enrolled as a TODO before starting

Companion Skills

  • brainstorming: Generating options and alternatives
  • debate: Evaluating design alternatives
  • plan-and-execute: Structured planning workflow
  • progressive-code-review-gate: Code review enforcement
  • test-driven-development: TDD workflow
  • subagent-driven-development: Multi-agent development
  • autonomous-chain-controller: Full workflow orchestration

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.