agentleFS
foliveirafoliveira/harmonia/skills/flow/SKILL.md

flow

Skill2 starsChanged 45 days agoMITView on GitHub

Harmonia flow - run a pinned task through plan, implement, and review in one unattended pass, stopping at human acceptance. Use ONLY when explicitly invoked as /harmonia:flow.

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use grill, ship and 1 more.

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.
  • renatorozasSkill

    grill

    Adversarial code review. Don't let me ship until the changes pass your scrutiny.

    Also in 3 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

  • GoogleSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 3 projects that use this

The file

Files
SKILL.md

Your working contract is the rules; their digest is injected at session start - read ${CLAUDE_PLUGIN_ROOT}/core/RULES.md in full only if that digest is not in your context. Read the plan, implement, and review stages from ${CLAUDE_PLUGIN_ROOT}/core/lifecycle.yaml - their artifacts and gates are authoritative and define the transitions below; do not hardcode them. This runner is a meta-command, not a lifecycle stage: it holds no stage logic of its own and hardcodes no agent list. Each stage's own SKILL.md owns its orchestration - agents, the red-green loop, the panel, the gates - so execute those procedures and never restate them.

Span: plan, then implement, then review, in one unattended session. Discuss stays manual because it is dialogic - the scoper and rubber-duck question the developer, so it cannot run unattended - and acceptance stays manual under the human-only gate. The runner chains neither.

  1. Entry gate - require a pinned scope that carries criteria: bash ${CLAUDE_PLUGIN_ROOT}/bin/workspace.sh resolve --repo . to locate the active workspace (never mint; on ambiguity or no-active-task, surface the script's message and stop). If the resolved workspace has no scope.md, refuse and point the developer to /harmonia:discuss - the runner starts from an already-pinned scope and never mints or auto-scopes. With scope.md present, gate its criteria before any work: run bash ${CLAUDE_PLUGIN_ROOT}/bin/check-criteria.sh --workspace <resolved-workspace> --repo . and halt on a non-zero exit - a criteria-less or non-machine-checkable scope is refused up front and pointed to /harmonia:discuss, the same refusal as the no-scope path (the check writes a status-validated receipts/check-criteria.json; the implement gate re-runs it, redundant but harmless). With scope and criteria confirmed, clear this run's stale prior-run output before any transition runs by calling bash ${CLAUDE_PLUGIN_ROOT}/bin/workspace.sh clear-span --repo .; the subcommand names the span out-artifacts and confines the removal to the resolved workspace, so this runner does not restate that file list (it lives in bin/workspace.sh). scope.md is the pinned input and is never removed.
  2. Plan: execute the plan stage per ${CLAUDE_PLUGIN_ROOT}/skills/plan/SKILL.md. Scope is present, so the scoper consumes and refines it and never re-mints. Before advancing, confirm the plan stage wrote its design.md out-artifact to the workspace; if it did not, halt and hand back.
  3. Implement: execute the implement stage per ${CLAUDE_PLUGIN_ROOT}/skills/implement/SKILL.md. Its pre-implement gate runs check-criteria. Inspect that gate's signal directly: halt when receipts/check-criteria.json records a status other than pass, or when check-criteria exits non-zero. On that signal the criteria are not machine-checkable, so implement writes no code - a stop before any work begins, unlike the review halt in step 5 which stops after the work with verdict.md already on disk. Halt and hand back with the failing-criteria report and its receipt (receipts/check-criteria.json); do not advance.
  4. Advance to review - unconditional: once the implement stage has written its boundary.md and diff-summary.md out-artifacts, advance to review whether the red-green loop completed or exited incomplete at its max_rounds cap. The cap is not a gate failure; the loop records the disagreement in the workspace for the review lead to arbitrate.
  5. Review: execute the review stage per ${CLAUDE_PLUGIN_ROOT}/skills/review/SKILL.md. Take its verdict.md as authoritative. Halt on a failing review gate: if the verdict is not a pass because a criteria-run or receipts gate failed, or because a test-immutability violation was recorded, stop and hand back with verdict.md on disk. Never override the lead's verdict.
  6. Stop before capture - hand back: the runner ends after review. It never writes the accepted marker and never runs bash ${CLAUDE_PLUGIN_ROOT}/bin/workspace.sh accept - acceptance is a human act. Never run accept on the developer's behalf. Hand back a summary telling the developer to exercise the built behavior, record acceptance via /harmonia:accept, then invoke /harmonia:capture as a separate manual act. The runner never enters capture.

Pass workspace paths, not prose recaps. Orchestrate only.

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.