agentleFS
erikhowarderikhoward/agent-tools/skills/flow-implement/SKILL.md

flow-implement

Skill0 starsChanged 3 months agoMITView on GitHub

Execute an approved plan with bounded built-in general workers, explicit ownership, checkpoints, and behavior verification.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use $1 to inspect .opencode/plans/$1.md before asking questions.

    line 14
  2. Very specific:

    Use the built-in general worker for implementation.

    line 34
  3. Distinctive:

    Check worker evidence before integration.

    line 53
  4. Distinctive:

    Never report final success while a required check, blocker, or worker failure remains unresolved.

    line 57
  5. Distinctive:

    After each batch, persist task IDs, worker task IDs, ownership, changed files, evidence, completion state, blockers, and next action in the …

    line 61
  6. Distinctive:

    Run the plan's integration checks and inspect version-control status and diff.

    line 65

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

Flow Implement

Execute an explicitly approved plan from .opencode/plans/. The build agent orchestrates. Built-in general workers implement. Consultants remain read-only.

Preflight

Use $1 to inspect .opencode/plans/$1.md before asking questions. If $1 is a path, read that path. If absent, locate a clear matching plan from the request. Do not guess between plans.

Read the full plan and its checkpoint. A saved plan is not approved. Stop if approval is absent, blockers remain, acceptance criteria are unclear, or required ownership overlaps. Ask the user about intent or authorization. Do not ask questions already answered by the plan or current repository evidence.

For an old plan, show this mapping and get confirmation before execution:

  • solution-architect consultation maps to principal-architect.
  • devops-engineer planning maps to a retained read-only analyst with an infrastructure assignment.
  • test-engineer planning maps to a retained read-only analyst with a testing assignment.
  • devops-engineer implementation maps to built-in general with infrastructure-only ownership.
  • test-engineer implementation maps to built-in general with test-only ownership and no production-code changes.

Unknown names, including developer-prime and developer-fast, or tasks that edit retired files require plan revision. Do not rewrite the plan or create aliases automatically. Preserve task IDs, acceptance criteria, and completion state.

Prepare Batches

Reconcile plan tasks with current files and prior evidence. Reuse valid exploration. Create bounded batches of independent tasks. Tasks in one batch must have non-overlapping allowed files. Give every file one writer.

The host permits one Todo item in in_progress. Represent the active orchestration batch as that item. Record child task IDs, worker task IDs, ownership, and evidence inside it. Complete or checkpoint the batch before another batch starts.

Use the built-in general worker for implementation. Every fresh-worker prompt must contain:

Role: <implementation role>
Task: <plan task IDs and exact outcome>
Allowed files: <exclusive paths; no other writes>
Requirements: <behavior, interfaces, constraints, acceptance criteria>
Method: make the smallest correct change; avoid unrelated refactors and speculative abstractions.
Tests: write a failing behavior test first unless the approved plan sets another order.
Verification: <focused tests and relevant static checks; return command results and behavior evidence>
Stop: stop on unclear intent, ownership conflict, out-of-scope need, risky unplanned decision, or failed required check.

Children do not inherit loaded skills or repository instructions. Put all critical constraints in the prompt. Add focused technology guidance only when needed. Do not require generic skill loads.

Execute And Verify

Dispatch one bounded batch at a time. Parallelize only non-overlapping tasks. Each worker returns changed files, test evidence, failures, deviations, and unresolved concerns.

Check worker evidence before integration. Run focused missing checks, then relevant integration checks. Do not repeat an identical check without a reason. Verify observable behavior, acceptance criteria, minimal scope, and the final diff. Do not mark a task complete from a worker claim alone.

If one branch fails, record the failure and continue independent work that is safe. Bound local diagnosis. Consult a relevant specialist for material security, data, performance, or architecture risk, or for an unresolved technical problem. Principal architecture handles all architecture questions. Consultants advise and review without edits, shell commands, or delegation.

Never report final success while a required check, blocker, or worker failure remains unresolved. Do not hide unavailable checks.

Checkpoint And Resume

After each batch, persist task IDs, worker task IDs, ownership, changed files, evidence, completion state, blockers, and next action in the plan checkpoint. On resume, inspect current files and reconcile prior results before dispatch. Do not rerun completed work blindly.

Finish

Run the plan's integration checks and inspect version-control status and diff. Confirm that only intended files changed. Preserve concurrent changes. Do not commit, push, install, deploy, or change configuration without explicit authorization.

Report completed and blocked task IDs, changed files, behavior and check results, deviations, unresolved concerns, and the next action. Success requires all acceptance criteria and required checks to pass.

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.