agentleFS
itsofficialadiitsofficialadi/boundiff/.agents/skills/release-checkpoint/SKILL.md

release-checkpoint

Skill0 starsChanged 24 days agoMITView on GitHub

Inspect or create a high-integrity Git commit/release checkpoint with exact repository provenance and staged-diff verification. Use for checkpoint, commit, push-readiness, or release preparation; writes require explicit authorization.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Default to inspection mode: collect evidence and report readiness without modifying repository state.

    line 10
  2. Distinctive:

    Verify: Run appropriate tests, lint, build or artifact validation.

    line 18
  3. Distinctive:

    If explicitly asked to stage files, stage only an enumerated allowlist of paths.

    line 22
  4. Distinctive:

    If a commit was explicitly authorized, create it only after checking the staged diff and verification status.

    line 23
  5. Distinctive:

    Before an authorized push, establish the expected remote destination and relationship to its current tip.

    line 29
  6. Distinctive:

    If high-risk integrity checks fail, report the mismatch.

    line 31

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

Release checkpoint

Modes and authority

Default to inspection mode: collect evidence and report readiness without modifying repository state. Enter write mode only when the user explicitly authorizes the particular commit, tag, push, or release action and its scope. A request to inspect readiness does not authorize publishing.

Before any write

  1. Establish identity. Confirm repository root and remote(s), current branch, HEAD, parent relationship where relevant, expected base, and target environment. Do not guess the intended repository or branch.
  2. Record all state. Inspect staged changes, unstaged tracked changes, unexpected untracked files, conflicts, and ignored outputs where relevant. Use commands such as git status --porcelain=v1 -uall, git diff --name-status, git diff --cached --name-status, and git diff --cached --check.
  3. Resolve provenance. Compare against the expected branch/commit/remote if that evidence is available. Remote-tracking refs can be stale; fetching changes local refs and should not be done silently where the task is strictly read-only. Mark remote state unverified if it was not checked.
  4. Enforce scope. Enumerate exact intended files and examine the entire staged patch. Stop if the stage includes unexpected paths, the worktree contains unreconciled changes relevant to the operation, or the target differs from expectations.
  5. Verify. Run appropriate tests, lint, build or artifact validation. Record command, observed result, skipped checks, and any output/hash used as a release input.

Authorized local checkpoint

  1. If explicitly asked to stage files, stage only an enumerated allowlist of paths. Never use git add . or git add -A by default. Recheck git diff --cached --name-status and git diff --cached afterward.
  2. If a commit was explicitly authorized, create it only after checking the staged diff and verification status. Record the resulting commit SHA and parent SHA. Stop if a hook or tool altered the staged content unexpectedly; re-inspect rather than bypass checks.
  3. Confirm HEAD, staged/unstaged/untracked state, and any expected artifact hash after the operation. Do not claim a clean worktree unless it is observed.

Push, release, and deployment boundaries

  • Push, tag, publish, deploy, rollback, force-push, history rewrite, and destructive cleanup each require explicit authority and a known target. No force push by default.
  • Before an authorized push, establish the expected remote destination and relationship to its current tip. Stop if divergent or uncertain; do not silently reconcile by rebasing or resetting.
  • A successful local commit is not a confirmed push. A successful push is not a deployed release. A successful deploy command is not proof that production is healthy.
  • If high-risk integrity checks fail, report the mismatch. Never disable the checks just to pass.

Output

Provide a compact checkpoint ledger: repo/branch/HEAD (before), staged file list, verification evidence, actions performed or withheld, commit and parent (if created), remote/deployment state (confirmed or unknown), repo/HEAD/worktree (after), and unresolved risks.

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.