agentleFS
haoyuqihaoyuqi/engineering-agent-skills/skills/git-change-delivery/SKILL.md

git-change-delivery

Skill0 starsChanged 23 days agoApache-2.0View on GitHub

Use when the user explicitly asks to stage, commit, push, publish a branch, or open a GitHub pull request or GitLab merge request from local changes.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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. Very specific:

    Use config.example.yaml. Explicit user choices and repository rules win.

    line 14
  2. Distinctive:

    Commit: Run applicable checks and normal hooks.

    line 28
  3. Distinctive:

    Verify: Read back commit, remote ref, request URL/state, and worktree.

    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

Git Change Delivery

Deliver within user authorization, without redundant confirmation.

Configuration

Use config.example.yaml. Explicit user choices and repository rules win. Configuration never grants permission. Resolve provider and conventions from repository evidence; do not invent issue keys or metadata.

Authorization

Record authorized operations, scope, exclusions, target, and stopping point. An explicit commit/push/PR request authorizes that sequence. Commit requests include necessary scoped staging unless limited to already staged changes. Show the resolved plan and proceed without asking again while scope and risk remain unchanged.

Partial authorization stays partial: stage-only cannot commit; commit-only cannot push; preparing a PR proposal cannot publish it. A PR-only request uses an existing published branch unless the conversation clearly authorizes delivering the current changes too. Ambiguous “ship it” is not blanket permission. Ask only about material ambiguity or missing authority.

Honor explicit requests for step-by-step approval or exact-message approval. Broad delivery authorization does not cover force push, hook bypass, history rewriting, target changes, or scope expansion: disclose the exact risk/action and obtain specific approval. An existing specific approval remains valid only for unchanged scope and conditions.

Workflow

  1. Inspect. Read instructions, branch/remotes/upstream, status, staged/unstaged diffs, untracked files, and hooks. Classify intended, excluded, unrelated, and uncertain changes. Resolve the authorized scope; preserve unrelated pre-staged work. If the index would include uncertain/unrelated content, stop before commit and ask how to isolate it; never silently unstage it.
  2. Stage. Show paths, purpose, and fingerprint; recheck before staging. Use explicit paths or selected hunks, never blanket staging in mixed worktrees. Unexpected drift requires inspection; material scope changes need approval. Verify the staged diff matches the authorized change.
  3. Commit. Run applicable checks and normal hooks. Derive a message from the staged diff and recent repository history; show it and commit when authorized. Offer alternatives only when requested or convention is materially ambiguous. Hook failure stops delivery; never bypass automatically.
  4. Push. Show exact remote/branch and upstream action; push only within authorization. No automatic force mode or target substitution. Stop dependent steps on failure.
  5. PR/MR. Check for an existing request; avoid duplicates and report its URL. Use the repository template. Show base/head, title, body, draft state, and requested metadata; create when authorized. Validate labels/reviewers; creating missing labels, adding unrequested reviewers, or modifying an existing request requires separate authority.
  6. Verify. Read back commit, remote ref, request URL/state, and worktree. Report completed operations, remaining work, and blockers using assets/delivery-report-template.md.

Failure behavior

Preserve evidence and state. Never treat a failed or uncertain write as success; inspect remote state before retrying. Do not rewrite history, alter hooks/remotes, or merge automatically. If provider integration fails after push, report the branch and safe manual compare URL.

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.