AGENT SKILL

deliver-work

Use whenever work leaves your working tree: staging and committing, writing a commit message, pushing, opening, updating or merging a pull request, finishing, keeping or deleting a branch or worktree; preparing or publishing a release (version bump, changelog, release notes, tag, package publish); and deploying, rolling out, rolling back or restoring production. Read it before running git commit, git push, a merge, a tag or a publish command, even when the user only says commit or ship. It checks the branch, the staged files and the remote before each step, and exactly what each step includes.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 5
Forks
0

01 前言 Front Matter

name
deliver-work
description
Use whenever work leaves your working tree: staging and committing, writing a commit message, pushing, opening, updating or merging a pull request, finishing, keeping or deleting a branch or worktree; preparing or publishing a release (version bump, changelog, release notes, tag, package publish); and deploying, rolling out, rolling back or restoring production. Read it before running git commit, git push, a merge, a tag or a publish command, even when the user only says commit or ship. It checks the branch, the staged files and the remote before each step, and exactly what each step includes.

02 资源文件 9

03 SKILL.md 正文

Deliver Work

Take finished work into a commit, a pushed or merged branch, a pull request, a release or production, only as far as the user said yes.

The Rules are binding; if one cannot be met, stop and say why. Everything else is judgment: adapt it when another choice serves its goal better.

Routes

Situation Read
An ordinary commit of your own changes Commit, below
Committing with mixed owners or concerns, a file holding included and excluded changes, or generated, sensitive or unexplained files; Git mid-operation, unmerged, detached or with a changed submodule; nothing to commit; amend, empty commit or skipped hooks asked for; a failed commit or hook commit
Pushing to a remote branch branch closeout: Simple Push
Merging, a pull request, or keeping, discarding or deleting a branch or worktree branch closeout
A version, release notes, tag or registry publication release
Deploying, exposing a change to users, rolling back or restoring production launch

Start every route with delivery-state (node <deliver-work-directory>/scripts/delivery-state.mjs): branch, upstream counts from local refs, staged, unstaged and untracked counts, a Git operation in progress, every worktree with the one holding this session's directory flagged, the latest tag, the version and the changelog's Unreleased entries. It reads only; what needs the network it reports unavailable. With --task <task folder> --base <ref> it also prints Review Work's Review: line for HEAD, which The Review Check below reads.

A request spanning routes, such as "commit and push": take them in order, each within its own yes, and stop at the first that fails.

Rules

  • Merging, a pull request, deleting or discarding a branch, worktree or uncommitted work, deploying, and every exposure stage need their own yes, like commit, push and release. Loading this skill, a readiness question or an approved plan gives none, and one route's success never authorizes the next.
  • Never use --amend, --allow-empty, --no-verify, a force push, a history rewrite, a moved release tag or an overwritten published version unless the user asked for that exact action; never bypass or blindly retry a failing hook or check.
  • Never stage or publish Working Records (.freeflow/tasks/**, or a Freeflow store's task folders), secrets, credentials, private keys, local environment files or unexplained sensitive content. Only Track Work's script syncs the Freeflow store, and only to the user's own private remote.
  • Never absorb or unstage pre-existing staged changes, or remove a worktree, checkout or other state you did not create. Never run a destructive reset, clean, branch or remote deletion, worktree removal or force push merely to produce a clean status.
  • After a commit, push, publication or deployment step fails or loses its acknowledgement, inspect what changed before retrying, and stop while it stays unknown; a network error does not mean nothing happened.

The Review Check

Goal: work crosses its review unit only with a review on record for the commit that crosses it.

Before the step the user's review.unit names (opening a pull request by default; a push, a commit, or the Return under agreement), read delivery-state's Review: line, Review Work's review-status. On record for the head: go on. None: run the plan's review first, as Review Work's The Review Gate says, or under manual propose it with its plan and cost and wait for a yes. A stale line names the diff-only re-review that covers the commits since. Until Freeflow's gates enforce it, this check is yours: nothing in the host stops the step without it.

Commit

Goal: one commit that holds exactly the supported state.

  1. Boundary. The user asked for this commit, or the work agreement they gave covers it, such as a commit at a return point they agreed; a Working Record can carry that agreement, not create it. Fresh checks support the state, or the user asked to preserve incomplete work; a review they selected is done, its findings settled.
  2. Inspect before touching the index: commit-state lists every staged, unstaged and untracked path as yours, pre-existing or unknown (from a snapshot taken before your first edit, or --mine <path>), with partly staged files, sensitive-looking paths and Working Records flagged; then read git diff and git diff --cached. Staged does not mean yours. If the second Routes row matches, read commit now.
  3. Stage only what the claim needs: explicit paths or hunks, with the tests, docs and generated output it requires; stage broadly only when every changed path was inspected and belongs. Then git diff --cached --check: conflict markers or whitespace damage stop the commit; fix them in the content they belong to, never edit content just to silence the check.
  4. Message in the repository's style; otherwise a short imperative subject naming what this commit holds, and a body only for what the diff cannot show: why, trade-offs, residual risk, why incomplete work is kept. Invent no trailers.
  5. Check git show --stat --oneline HEAD and git status --short --branch: the claimed contents, nothing unexpected left.
  6. Record the commit on the current Slice, as a one-line result naming its SHA, through Track Work, when a Working Record exists.

Rules for a commit:

  • Claim no more than the checks and selected review support. A preservation commit the user asked for may hold incomplete or failing work: say so, and do not take it as leave to cross what is unresolved.
  • A commit is never a Slice of its own; after it, stage no leftovers and begin no other Slice.

Other Owners

A choice that is the user's goes to Discuss Work, with the supported routes as options; what a check supports, to Verify Work; a failure without a known cause, to Execute Work's diagnose; a selected review not yet run, reported for Review Work.

Stop

Stop and return the smallest blocking fact when:

  • what a route's yes covers is unclear;
  • live state differs from what was verified, reviewed or approved: changes, source commit, version, artifact, configuration or target;
  • required evidence, a selected review, or the review the unit needs (The Review Check) is missing;
  • a destination is unclear: remote, branch, base, pull-request target, registry, channel or environment;
  • a conflict needs more than a mechanical resolution of both sides' settled intended behavior, such as a behavior, source-of-truth or owner decision; never end a conflict by taking ours or theirs.

Report

End with the lines that apply:

Route:      <route and stage, and what the yes covered>
Identity:   <SHA and subject, branch and remote, pull-request URL, version and tag, artifact and target>
Evidence:   <each check on the final state and what it shows; the selected review's outcome>
Not shown:  <what this does not establish (pushed is not merged, merged not released, a prepared release not published, published not deployed); what went unverified>
Remaining:  <unpushed or uncommitted work, pending CI or review, observation windows left, temporary machinery with its owner and cleanup, partial failures and recovery>
Next:       <the next route as a question, and whose call it is>

04 同仓库更多 Skills

hassan-mohiddin
hassan-mohiddin/freeflow

write-skill

Use when creating, revising, merging or splitting a skill or any other text an agent acts on: a SKILL.md and its description, the references and scripts in a skill, AGENTS.md, CLAUDE.md, system or runtime prompts, tool descriptions, subagent briefs or judge prompts. Also use when deciding where an instruction should live, and when a skill is read at the wrong time, not read at all, or read but not followed.

★ 5
hassan-mohiddin
hassan-mohiddin/freeflow

verify-work

Use whenever you need to know whether something works or a claim is true: running tests, builds, linters or type checks; reproducing a bug or checking a fix; trying the real path in the running software, a browser or a CLI; measuring performance; and reading what the output actually shows, including failures and conflicting results. Read it before saying a change works, is fixed or is done, and to check your own change or document before reporting it done. Also use when writing, designing or changing a test, fixture or regression check; when a claim depends on an integration, host lifecycle, an installed package, rendered UI or browser behavior, or performance; and when setting up, following or updating a project's saved steps for launching its software and trying each feature as a user would, or rechecking them after the software changed.

★ 5
hassan-mohiddin
hassan-mohiddin/freeflow

setup-freeflow

Use when installing, activating or turning off Freeflow in a repository, changing or repairing its repository or personal configuration (.freeflow/config.json, .freeflow/local.json), setting up the Freeflow store that keeps task memory (local only, or local + cloud with a private repository, in a cloud session too) and moving older task records into it, or checking whether the current host is loading Freeflow's guidance and skills.

★ 5
hassan-mohiddin
hassan-mohiddin/freeflow

research-work

Use when a question has to be answered from evidence gathered and checked first: an in-depth report on a codebase, library, agent harness or tool; a survey, literature or systematic review of papers, docs or prior work; finding out what sources say before relying on them, and rechecking a published study's numbers; a study or experiment whose plan is fixed before the data, or a quick check on about twenty tasks of whether a change helped; writing a paper from results with its figures, references and PDF, and answering its reviewers. Also use when citing code at a pinned commit, deciding how strong a claim's evidence is, checking that each number traces to its log and each citation supports its claim, designing a measurement or a model judge, and computing statistics for a result (intervals, paired comparisons, clustered runs, rater agreement, pass@k, multiple comparisons, power, meta-analysis). Comparing options from facts already in hand is Discuss Work's; checking whether a change works is Verify Work's.

★ 5
hassan-mohiddin
hassan-mohiddin/freeflow

execute-work

Use for any task that uses tools: reading or searching a repository, running commands, diagnosing, and any work that changes code, files or settings: implementing a feature, fixing a bug, adding or changing behavior, configuring, prototyping, refactoring, simplifying or cleaning up code, deleting dead code, or maintaining a project. Also use when something fails, breaks, regresses or slows down and the cause is unknown, or a fix did not hold; when migrating users, data, a schema, a service or traffic to a replacement and removing the old path; when adding edge-case handling or code comments; and when handing work to subagents or parallel workers, or working from another agent's brief. Read it before your first tool call on a task, even a small or read-only one: it reads the request for its asks and implied requirements, finds what the change touches before you edit, and reports the result.

★ 5
hassan-mohiddin
hassan-mohiddin/freeflow

evaluate-behavior

Use when testing, evaluating or comparing how an agent behaves: whether a skill triggers, whether a change to a prompt, skill, model, setting or extension changes outcomes, measuring a reviewer or checker, or benchmarking agents on coding tasks, conversations or pipelines. Also use when writing or checking an eval's JSON files, running an eval and reading its results, and deciding what a result can claim, how many cases and trials it needs and what it costs.

★ 5