agentleFS
fightheyyyfightheyyy/SuperCoding/skills/superdev/SKILL.md

superdev

Skill0 starsChanged 4 months agoMITView on GitHub

Use when Codex is asked to develop, modify, refactor, or plan work for a long-lived repository or module using the SuperDev spec / plan gate. Enforce root and module SPEC.md + PLAN.md maintenance, require each SPEC.md to contain Current Architecture and Target Architecture Mermaid diagrams, infer the target proactively, and ask the user only when a material architectural fork cannot be resolved safely.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. fightheyyy/SuperDev★ 098% same

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

27 rules. About 0 are common, 15 are distinctive, and 12 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 12

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use spec / plan driven development for durable work:

    line 10
  2. Distinctive:

    Do not begin substantial production implementation until the target Mermaid architecture is clear enough to guide the work.

    line 15
  3. Very specific:

    Treat SPEC.md and PLAN.md as local Agent working memory by default.

    line 23
  4. Very specific:

    Do not stage, commit, or push newly created or untracked SPEC.md or PLAN.md files unless the user explicitly asks to publish them or the …

    line 25
  5. Distinctive:

    Before any commit or push, inspect git status and keep local SuperDev documents out of the staged set.

    line 27
  6. Distinctive:

    Before substantial code changes:

    line 39
  7. Very specific:

    Read the root SPEC.md and PLAN.md when they exist.

    line 42
  8. Very specific:

    Read each relevant module's SPEC.md and PLAN.md when they exist.

    line 43
  9. Very specific:

    Check whether each relevant SPEC.md has:

    line 44
  10. Distinctive:

    If docs are missing, stale, or unclear, update or discuss the docs first.

    line 47
  11. Distinctive:

    Treat target alignment as model-led reasoning, not a mandatory approval ceremony:

    line 53
  12. Distinctive:

    When pausing, present the recommended target diagram, explain the key tradeoff, and ask no more than three focused decision questions.

    line 64
  13. Very specific:

    After the decision, update Target Architecture and continue implementation without requesting another approval for the same direction.

    line 65
  14. Distinctive:

    Do not require explicit user approval for a target that can be inferred safely.

    line 67
  15. Distinctive:

    Prefer one implementation path and remove the superseded internal path in the same change.

    line 74
  16. Distinctive:

    Before implementation closes, remove unused indirection, duplicate state or execution paths, obsolete wrappers, and abandoned experiments …

    line 77
  17. Distinctive:

    Use this minimum architecture structure:

    line 91
  18. Very specific:

    Keep diagrams simple, horizontal, and truthful.

    line 135
  19. Distinctive:

    When the implementation changes architecture:

    line 163
  20. Very specific:

    Update Current Architecture to reflect the new code.

    line 165
  21. Very specific:

    Update Target Architecture if the intended direction changed or if the old target has been reached.

    line 166
  22. Very specific:

    Update PLAN.md completed work, remaining work, next steps, risks, acceptance criteria, and verification evidence.

    line 167
  23. Very specific:

    When SPEC.md adds a concept, field, boundary, component, or phase, update PLAN.md so the execution state covers it.

    line 169
  24. Distinctive:

    If the target is clear, implement the change and update docs afterward.

    line 175
  25. Distinctive:

    If the target can be inferred safely, record assumptions, make the smallest necessary SPEC/PLAN update, and implement without waiting for …

    line 176
  26. Very specific:

    If the target contains a material architectural fork, do not write production code across that decision.

    line 177
  27. Distinctive:

    If the user explicitly asks only for planning, do not implement code.

    line 178

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

SuperDev

Core Rule

Use spec / plan driven development for durable work:

  • Maintain root SPEC.md and PLAN.md for repository-wide architecture and execution state.
  • Maintain <module>/SPEC.md and <module>/PLAN.md for every long-lived module.
  • Require every substantial SPEC.md to include both Current Architecture and Target Architecture Mermaid diagrams.
  • Do not begin substantial production implementation until the target Mermaid architecture is clear enough to guide the work.

Small one-off utilities, copy edits, typo fixes, and local experiments do not need new module docs unless they become durable subsystems.

Maintenance and Git publication are separate decisions. Keep SuperDev documents local by default unless the repository deliberately uses them as shared documentation.

Git Publication Policy

Treat SPEC.md and PLAN.md as local Agent working memory by default. SuperDev requires maintaining them; it does not require publishing them.

  • Do not stage, commit, or push newly created or untracked SPEC.md or PLAN.md files unless the user explicitly asks to publish them or the repository already treats them as shared architecture documentation.
  • In a Git worktree, add the exact untracked paths to .git/info/exclude by default. Prefer this local-only exclusion over changing the repository's shared .gitignore.
  • Before any commit or push, inspect git status and keep local SuperDev documents out of the staged set. Do not let broad staging commands decide whether they are published.
  • If a SPEC.md or PLAN.md is already tracked, continue maintaining it but do not include its changes in a commit by default and do not silently untrack it. Explain that ignore rules do not affect tracked files; use git rm --cached only when the user explicitly authorizes making the file local-only.
  • Explicit user instructions and established repository policy override this default.

Tracking can be appropriate when these files are intentionally part of a team's architecture contract. Volatile execution plans should usually remain local, especially in public repositories.

Main Session Runtime

Use the model and reasoning effort already active in the main Codex session. Never inspect, request, require, verify, or switch the main-session profile, and never block implementation because a particular model or reasoning level cannot be confirmed. SuperDev gates work on architecture clarity, not model identity.

Development Gate

Before substantial code changes:

  1. Identify whether the request touches repository-wide behavior, one long-lived module, or multiple modules.
  2. Read the root SPEC.md and PLAN.md when they exist.
  3. Read each relevant module's SPEC.md and PLAN.md when they exist.
  4. Check whether each relevant SPEC.md has:
    • Current Architecture with a Mermaid diagram that matches the current implementation.
    • Target Architecture with a Mermaid diagram that matches the requested direction.
  5. If docs are missing, stale, or unclear, update or discuss the docs first.

If Target Architecture is absent, stale, or incomplete, infer and draft the most reasonable target from the request, current code, and existing architecture before asking the user. A missing diagram alone is not a reason to interrupt the user. Pause only when no safe target can be inferred under the rules below.

Target Alignment

Treat target alignment as model-led reasoning, not a mandatory approval ceremony:

  1. Infer the intended target from the request, current implementation, and Current Architecture.
  2. Draft or update the Target Architecture Mermaid diagram before asking questions.
  3. State important assumptions and proceed without confirmation when they are local, reversible, in scope, and preserve existing public contracts and data compatibility.
  4. Pause only when plausible choices would materially change one or more of:
    • system or module boundaries;
    • public APIs, schemas, or compatibility guarantees;
    • persistent data shape or an irreversible migration path;
    • security, privacy, or trust boundaries;
    • user-visible behavior, delivery scope, or operating cost.
  5. When pausing, present the recommended target diagram, explain the key tradeoff, and ask no more than three focused decision questions. Do not hand an open-ended architecture problem back to the user.
  6. After the decision, update Target Architecture and continue implementation without requesting another approval for the same direction.

Do not require explicit user approval for a target that can be inferred safely. The user should decide material product and architecture tradeoffs, not design the architecture for the agent.

Minimum Sufficient Design

The target is the smallest coherent architecture that satisfies the requested behavior and concrete current constraints. Elegance means fewer concepts, states, branches, dependencies, and ownership boundaries—not cleverness or abstraction density. Do not add modules, components, layers, interfaces, extension points, configuration, schemas, or phases for hypothetical future use.

  • Reuse an existing concept or boundary when it can carry the behavior clearly. Add a new one only when required by current behavior, an established repository convention, or a concrete compatibility, security, data-lifecycle, ownership, failure-isolation, deployment, or operational constraint.
  • Prefer one implementation path and remove the superseded internal path in the same change. Keep an adapter, feature flag, dual-read/write flow, or other parallel path only for a named compatibility or migration need; record its exit condition and removal step in PLAN.md.
  • Preserve public contracts at their boundary; compatibility does not require preserving obsolete internal architecture.
  • SPEC.md and PLAN.md describe necessary architecture; they do not justify creating architecture. Omit speculative variants from diagrams and plans.
  • Before implementation closes, remove unused indirection, duplicate state or execution paths, obsolete wrappers, and abandoned experiments introduced or exposed by the change.

SPEC.md Requirements

Each substantial SPEC.md should answer:

  • What problem does this repository or module solve?
  • What is in scope and out of scope?
  • What are the main concepts and boundaries?
  • What is the current architecture?
  • What is the target architecture?
  • What data contracts, schemas, APIs, or file layouts matter?
  • How does it interact with other modules?

Use this minimum architecture structure:

## Current Architecture

```mermaid
flowchart LR
    subgraph Inputs["Inputs"]
        A["current source"]
    end

    subgraph Runtime["Current Runtime"]
        B["current component"]
    end

    subgraph Outputs["Outputs"]
        C["current artifact"]
    end

    A --> B
    B --> C
```

## Target Architecture

```mermaid
flowchart LR
    subgraph Inputs["Inputs"]
        A["target source"]
    end

    subgraph Runtime["Target Runtime"]
        B["target component"]
    end

    subgraph Outputs["Outputs"]
        C["target artifact"]
    end

    A --> B
    B --> C
```

Keep diagrams simple, horizontal, and truthful. Current Architecture is a map of reality, not a wish. Target Architecture is the current intended design, not an unbounded future vision.

PLAN.md Requirements

Each substantial PLAN.md should answer:

  • What is already done?
  • What is partially done?
  • What is not started?
  • What is the recommended next step?
  • Who owns each class of work?
  • What are the acceptance criteria?
  • What risks or open questions remain?
  • What verification evidence supports completed items?

Recommended sections:

  • Current Status
  • Milestones
  • Next Steps
  • Owners
  • Acceptance Criteria
  • Verification Log
  • Risks / Open Questions
  • Status Maintenance Rules

Keeping Docs In Sync

When the implementation changes architecture:

  • Update Current Architecture to reflect the new code.
  • Update Target Architecture if the intended direction changed or if the old target has been reached.
  • Update PLAN.md completed work, remaining work, next steps, risks, acceptance criteria, and verification evidence.

When SPEC.md adds a concept, field, boundary, component, or phase, update PLAN.md so the execution state covers it. When PLAN.md marks work complete, make sure the code, docs, and verification evidence actually support that state.

Working Behavior

Be proactive but respect the gate:

  • If the target is clear, implement the change and update docs afterward.
  • If the target can be inferred safely, record assumptions, make the smallest necessary SPEC/PLAN update, and implement without waiting for confirmation.
  • If the target contains a material architectural fork, do not write production code across that decision. Present a recommended Target Architecture and ask focused questions first.
  • If the user explicitly asks only for planning, do not implement code.

This skill is about making architecture a live contract: current reality, target direction, implementation, and plan status should stay aligned.

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.