agentleFS
EndikaEndika/eskills/skills/task-flow/SKILL.md

task-flow

Skill0 starsChanged 56 days agoMITView on GitHub

Use when implementing a feature or multi-step task end-to-end — orchestrates spec intake, adaptive analysis, planning, and a per-task implement/verify/review loop over superpowers, with a single human gate after the plan; includes a human-pulled respec gate to correct the spec mid-build.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. me-cedric/agent-compass★ 3same name
    2. es6kr/skills★ 2same name

    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 repository14 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    NOT for a one-line fix or a quick question — the ceremony isn't worth it there.

    line 18
  2. Distinctive:

    All green → mark task complete → next task.

    line 70
  3. Very specific:

    Test discipline comes from eskills:standards (integration tests, in-memory fakes, no mocks) — intentionally, not from …

    line 76
  4. Distinctive:

    When pulled (I say something like "stop, the spec is wrong about…"):

    line 87

≈ “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

task-flow

Overview

My end-to-end flow for building a feature with trust. It is a thin orchestrator over superpowers — it sequences existing skills, it does not re-implement them. One human gate (after the plan); everything else runs automatically with per-task gates. The keystone is an adversarial verifier that re-checks "done" in fresh context.

When to use

  • Implementing a feature or non-trivial task from a spec, ticket, or request.
  • NOT for a one-line fix or a quick question — the ceremony isn't worth it there.

Phase 1 — understand & plan (auto, adaptive)

  1. eskills:spec-intake — normalize the task into objective, acceptance criteria, constraints, definition of done. It also classifies greenfield vs brownfield and flags a hard-tech challenge (complex algorithm / performance bottleneck).
  2. If brownfield → dispatch the code-explorer agent (Agent tool, from the optional feature-dev plugin) to trace the existing code before planning. It ships agents, not skills — there is nothing to invoke with the Skill tool. Without the plugin, use the built-in Explore agent; either way the step is not optional, only the tool is.
  3. If hard-tech challenge → SPIKE sub-phase: explore 2–3 approaches, benchmark candidates if needed (apply eskills:perf-bar), and pick the approach before committing the plan. The code-architect agent (same plugin, same caveat) helps here when present; it is not required.
  4. superpowers:brainstorming — refine intent and trade-offs.
  5. superpowers:writing-plans — produce the plan, enriched with the template below.
  6. Emit the PLAN + acceptance criteria + subagent design + chosen-approach rationale.

Plan template (integrated — not a separate skill)

Each task in the plan carries:

  • exact files to create/modify;
  • the change, concretely (no "add error handling" placeholders);
  • acceptance criteria — observable and checkable;
  • validation commands — the exact lint/typecheck/test commands that prove it.

🚦 GATE — the only human stop

I review the plan + acceptance criteria and approve. Nothing in Phase 2 starts until I do.

Compact here. This gate is the prime context boundary: once the plan is approved, /compact to drop the exploration/brainstorming context and carry only the plan into Phase 2. Do the same after each milestone or before an unrelated task — strategic compaction at logical boundaries beats arbitrary auto-compaction mid-task.

Phase 2 — build (auto), per task via superpowers:subagent-driven-development

For each task, in order:

  1. Implementer — implements, tests, commits, self-reviews. Reports DONE / DONE_WITH_CONCERNS / NEEDS_CONTEXT / BLOCKED.
  2. Spec reviewer (independent) — does the code match the spec?
  3. Adversarial verifier (fresh context — my reinforcement). Does not trust the implementer's self-report. Re-runs the gates itself — lint + typecheck + tests, per eskills:standards — and checks real output against the acceptance criteria. It defaults to NOT done, and marks done only when it has itself seen lint pass, typecheck pass, tests pass, and the output meet every acceptance criterion.
  4. Quality reviewer — applies only the lenses that apply to this task: eskills:ux-bar / eskills:security-bar / eskills:arch-bar / eskills:perf-bar.
  5. All green → mark task complete → next task.

Model selection: the implementer runs on Sonnet (model: "sonnet"), and so do the fixes the reviewers send back to it. The spec reviewer, the adversarial verifier and the quality reviewer inherit the session model (Opus). Never Haiku for code.

Test discipline comes from eskills:standards (integration tests, in-memory fakes, no mocks) — intentionally, not from superpowers:test-driven-development; my test philosophy differs.

Phase 2 — respec gate (human-pulled)

A human-pulled escape hatch, available throughout Phase 2. Not a sequential step — an interrupt I fire when, watching the changes go by, I realize the spec itself missed something (a component that should be reused instead of rebuilt, scope to drop, a plan assumption that's false). There is no automatic trigger: only I pull this cord.

When pulled (I say something like "stop, the spec is wrong about…"):

  1. Pause the per-task loop — do not start the next task.
  2. Capture the correction conversationally — I state in natural language what was missed: drop scope ("don't build/use this"), redirect ("reuse object/component Y"), or fix a plan assumption.
  3. Single gate, two decisions — show me what is already built, then ask:
    • Altura: edit spec and continue · re-plan affected tasks · re-plan everything.
    • Fate of built work: discard (git reset / abandon) · keep and adapt.
  4. Re-spec via eskills:spec-intake — update only the requirements I asked to change. No trail; the "why" lives in the conversation, not the document.
  5. Re-plan the affected tasks via superpowers:writing-plans from the corrected spec.
  6. Re-launch Phase 2 over the affected tasks. The adversarial verifier is unchanged.

Compact after a discard. A re-spec that discards work is a context boundary like the plan gate — /compact to drop the abandoned-work context before re-launching.

Phase 3 — finish (auto)

  • superpowers:verification-before-completion + a final review pass.
  • superpowers:finishing-a-development-branch.
  • PR / release in my flow: Conventional Commits (eskills:standards), release-please.

Why the adversarial verifier

The known failure mode is an agent claiming tests pass when they don't. The spec and quality reviewers read the diff and can inherit a false "tests passing" claim. The adversarial verifier re-runs the gates in fresh context and defaults to "not done", turning "the agent says it's done" into "it's done, and here is the evidence a second agent produced while trying to prove otherwise." That is trust, made into a gate.

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.