publish-change
Skill3 starsChanged 21 days agoMITView on GitHub
Publish a verified, reviewed change through authorized commits, push, and a draft pull request. Use for the publication phase or to resume interrupted publication. Preserve operation-specific permissions and explicit limits.
In this repository8 other files it gives its agents.
- deliver-changeSkill
- implement-changeSkill
- plan-changeSkill
- remediate-findingsSkill
- review-changeSkill
- review-prSkill
- setup-projectSkill
- verify-changeSkill
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
- Distinctive: line 17
Commit, push, and PR creation are separate permissions.
- Distinctive: line 32
Keep failed, pending, unavailable, inconclusive, and stale evidence explicit and tied to its candidate.
- Distinctive: line 46
After hooks, compare committed contents or content identities with the checked and reviewed candidate.
- Distinctive: line 58
Read back the remote ref; its object ID must match the inspected commit before any PR write.
- Distinctive: line 65
Create new PRs as drafts, applying the project's description convention to prepared and published bodies.
- Distinctive: line 92
Keep local completion, remote publication, and readiness separate.
≈ “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.
Files
Publish change
Publish the current change within the user's authority. First read the contract core and the publication rules.
1. Scope
- Identify the repository, workspace, branch, base, destination, authorized operations, candidate, evidence, limits, and earlier attempts. Read the project's commit, branch, and PR conventions; reuse existing records and tools.
- Commit, push, and PR creation are separate permissions; an invocation, passing check, or approval grants none. An excluded later operation leaves authorized preparation free to continue.
- Resolve missing material intent before its dependent operation.
Checkpoint 1: candidate, destination, permissions, and prior effects are clear. Earlier attempt uncertain → apply the uncertain-outcome rule before any write.
2. Check the candidate
- Inspect the patch, index, and relevant untracked contents. Identify exactly what belongs to this delivery; preserve all other work.
- Compare the proposed commit contents with the checked and independently reviewed contents, including requirements and configuration, using the freshness check.
- Required verification, review, dispositions, and readiness conditions must hold. Keep failed, pending, unavailable, inconclusive, and stale evidence explicit and tied to its candidate. Missing evidence → block the dependent operation and return the gap to its phase; publication authority covers no corrective edits.
Checkpoint 2: gates support the exact candidate for the next operation.
3. Operation gates
Commit
- Stage only authorized changes; inspect the staged contents. Commits stay coherent with their tests and docs and follow the convention.
- Unrelated index entries stay. Keeping them conflicts with the reviewed candidate → stop for a decision.
- After hooks, compare committed contents or content identities with the checked and reviewed candidate. Messages and diff statistics are not this comparison.
- Unexpected change or hook failure → block publication, record effects, report the gap. Leave the work as is: no silent amend, reset, or discard.
Push
- Confirm remote, target branch, intended commit, and destination state.
- Inspect the full outgoing range and resulting tree; a reviewed final patch does not authorize unrelated unpublished ancestors.
- Push normally, preserving remote history. A conflict needs reassessment and never authorizes a force push.
- Read back the remote ref; its object ID must match the inspected commit before any PR write.
Pull request
- Reuse a matching PR for the same repository, head, and base within update authority; create no duplicate.
- Create new PRs as drafts, applying the project's description convention to prepared and published bodies.
- Body: delivered behavior, actual verification, review evidence, limitations, and the verification report or a summary keeping each criterion's status and gaps. Derive remaining gaps from it, including criteria awaiting review.
- Mark ready only under the publication rules' readiness condition.
Checkpoint 3: each authorized operation has an observed result or a precise blocker. Recheck mutable inputs before the next operation; candidate, evidence, destination, or permissions changed → stop dependent writes.
4. Recover and report
Interrupted or uncertain write → apply the uncertain-outcome rule, verifying commit, branch, and PR identity and state through reads. Remaining limits stay. Return:
Candidate vs checked/reviewed contents: result
Commits: IDs
Remote: ref and object ID
Pull request: URL, draft state
Operations: completed | excluded | blocked (reason)
Partial effects, unresolved uncertainty, next action:Keep local completion, remote publication, and readiness separate. Merge, release, deployment, formal approval, and monitoring need their own authorized workflow.
Done when observed state supports the report and every authorized step is accounted for. These are guided procedures, not crash-safe enforcement.
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
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.

