agentleFS
iqbalhasandeviqbalhasandev/claude-code-config/skills/omni-subagent-driven-development/SKILL.md

omni-subagent-driven-development

Skill2 starsChanged 26 days agoMITView on GitHub

Execute a Superpowers implementation plan where each task is implemented by an OmniRoute-backed headless worker (omni-task) and reviewed by native Claude Opus before moving on. Use instead of superpowers:subagent-driven-development unless the user says "native".

  • Reads credentials

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    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:

    Use superpowers:using-git-worktrees: work on an isolated branch/worktree.

    line 13
  2. Very specific:

    Check command -v omni-task and that ~/.config/omniroute.env exists.

    line 14
  3. Very specific:

    Read the plan file. Create a TodoWrite list with one item per task.

    line 15
  4. Very specific:

    Write the brief to .omni-runs/task-<N>.md, based on implementer-prompt.md.

    line 21
  5. Distinctive:

    Follow TDD (superpowers:test-driven-development).

    line 24
  6. Distinctive:

    No inline comments beyond the repo's own style.

    line 26
  7. Distinctive:

    If blocked or the spec is ambiguous, stop and say so.

    line 28
  8. Distinctive:

    Every review runs on native Opus.

    line 39
  9. Distinctive:

    Run the full test suite once.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Omni Subagent-Driven Development

Same loop as superpowers:subagent-driven-development, with one change: implementers run out-of-process on OmniRoute via omni-task; reviewers stay native Claude Opus. You are the controller. You never write implementation code yourself unless escalating (step 6).

Setup (once per plan)

  1. Use superpowers:using-git-worktrees: work on an isolated branch/worktree.
  2. Check command -v omni-task and that ~/.config/omniroute.env exists. Missing: stop and tell the user.
  3. Read the plan file. Create a TodoWrite list with one item per task. Record PLAN_BASE=git rev-parse HEAD.
  4. Locate Superpowers' prompt templates and read them: Glob ~/.claude/plugins/**/subagent-driven-development/*-prompt.md Reuse implementer-prompt.md for briefs and the reviewer template(s) for reviews.

Per task, strictly sequential (never two workers in the same worktree)

  1. Write the brief to .omni-runs/task-<N>.md, based on implementer-prompt.md. Self-contained:
    • Full task text from the plan, verbatim (exact file paths, code, commands).
    • Relevant context: architecture notes, conventions, neighbouring files to read.
    • Follow TDD (superpowers:test-driven-development). Run only the test files the task touches, named explicitly; never the whole suite. Commit with the stated message, do NOT push.
    • No inline comments beyond the repo's own style; no new dependencies unless the task says so.
    • Report: what was done, test command + result, files changed, open questions. If blocked or the spec is ambiguous, stop and say so.
  2. Dispatch: run omni-task .omni-runs/task-<N>.md with Bash (run_in_background for long tasks, then wait; otherwise timeout 600000). Optional second arg picks a different OmniRoute model/combo for hard tasks ($OMNI_OPUS_MODEL).
  3. Worker asked a question / blocked: answer from the plan or ask the user, append the answer to the brief, re-dispatch.
  4. Review, never trusting the worker's report. Using BASE_SHA and HEAD_SHA from the omni-task output: a. HEAD_SHA equals BASE_SHA: the worker committed nothing. Treat as a failed round (step 5). b. Spec compliance: native reviewer subagent with model: "opus", the task text and git diff BASE_SHA..HEAD_SHA. It reads the actual code and runs the task's tests. c. Only if spec passes: code quality review (superpowers:requesting-code-review), also model: "opus". Every review runs on native Opus. Never route reviews to OmniRoute or to Sonnet/Haiku. Reviewer briefs say "do not publish Artifacts".
  5. Review fails: write .omni-runs/task-<N>-fix-<k>.md with the original task, the reviewer's findings verbatim (file:line), and "fix only these, re-run the task's tests, commit". Dispatch again, re-review. Max 3 fix rounds.
  6. Escalate after 3 failed rounds or repeated worker errors (EXIT != 0, no JSON): tell the user, then fix natively or re-dispatch with a stronger model.
  7. Mark the task complete only when both reviews approve. Then next task.

After all tasks

  • Run the full test suite once.
  • Final whole-branch review (native Opus) over git diff PLAN_BASE..HEAD.
  • superpowers:finishing-a-development-branch.
  • Short summary: tasks done, fix rounds per task, escalations, full-suite result.

Red flags

  • Implementing code yourself instead of dispatching (except escalation).
  • Accepting a task because the worker says tests pass; reviewers must run them.
  • Running multiple omni-task workers concurrently in one worktree.
  • Putting secrets or .env contents into briefs.

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.