release-creator
Skill2 starsChanged 6 days agoMITView on GitHub
Cuts a new release of a software project or plugin, coordinating release configuration, version files, changelog, validation, and the fixed git/PR/tag/CI sequence. Not for: PHP package publication or ordinary commits. Output: a validated release preparation or publication result with the human merge gate preserved.
In this repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- change-verdictSkill
- code-simplifySkill
- code-traceSkill
- create-prSkill
- deploy-listSkill
- doc-maintainSkill
- feature-verifySkill
- flow-driveSkill
- flow-guideSkill
- git-smart-commitSkill
- git-worktreeSkill
- harness-setupSkill
- issue-analyzeSkill
- js-static-checksSkill
- laravelSkill
- legacy-characterization-testsSkill
- library-authorSkill
- merge-prepSkill
- module-designSkill
- nextjsSkill
- openspec-artifact-guardSkill
- opsx-apply-resumeSkill
- phpSkill
- phpunitSkill
- precommitSkill
- project-auditSkill
- project-briefSkill
- proposal-analyzeSkill
- pr-summarySkill
- pythonSkill
- reactSkill
- repo-intakeSkill
- repo-verifySkill
- swiftSkill
- tdd-workflowSkill
- ui-ux-verifySkill
- vue-2-notesSkill
- yii1Skill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are 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.
5
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
- Distinctive: line 25
Stop with a blocked report when configuration is ambiguous, validation fails, the PR is not merged, or the tag-triggered workflow cannot be …
- Very specific: line 37
Follow project RELEASE.md when present.
- Very specific: line 53
Update every {VERSION_FILES} entry to <version> in lockstep.
- Very specific: line 54
Add the release notes at the top of {CHANGELOG} using the exact heading format required by RELEASE.md/CI.
- Very specific: line 55
Run {VALIDATE_CMD} and stop on failure.
- Very specific: line 62
After the release edits and validation are complete, prepare the release PR.
- Distinctive: line 75
Stop here for the human merge.
≈ “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
Release Creator
Resolve project-specific release judgment first; delegate the fixed mechanics to the tested runner.
$SKILL_DIR denotes the physical directory containing this SKILL.md;
$PROJECT_DIR denotes the consumer project root. These are resolved path
notations, not ambient environment-variable requirements. Run the local runner
from the consumer project after the existing execution approval boundary.
Output
Return a release report containing the resolved configuration, changed version files, changelog result, validation result, runner phase, and the current merge/tag/CI gate. Stop with a blocked report when configuration is ambiguous, validation fails, the PR is not merged, or the tag-triggered workflow cannot be identified; do not infer a release success from a local edit or an unassociated CI run.
When NOT to Use
- PHP package/library publishing: use
$library-author composer. - Ordinary feature or bug commits: use
$git-smart-commit. - The integration branch or required tests are not ready.
1. Resolve release config
- Follow project
RELEASE.mdwhen present. - Otherwise inspect the relevant manifests and
references/release-presets.md. - Confirm these values with the user before execution:
| Token | Meaning | Typical default |
{VERSION_FILES} | Lockstep version files | package.json |
{VALIDATE_CMD} | Required validation | npm test |
{BASE_BRANCH} | Integration branch | main or develop |
{RELEASE_BRANCH} | Published branch | main |
{TAG_PREFIX} | Tag prefix | v |
{CHANGELOG} | Changelog file | CHANGELOG.md |
{RELEASE_WORKFLOW} | Tag-triggered CI workflow | release.yml |
2. Author the release content
- Update every
{VERSION_FILES}entry to<version>in lockstep. - Add the release notes at the top of
{CHANGELOG}using the exact heading format required byRELEASE.md/CI. - Run
{VALIDATE_CMD}and stop on failure. - Confirm the workspace now contains only the intended release edits.
Config resolution, version editing, changelog synthesis, validation interpretation, and any human merge requirement remain judgment steps; the runner does not invent them.
3. Run the mechanical sequence
After the release edits and validation are complete, prepare the release PR. Pass every
intended release file explicitly, unless the project's own release-preparation
script (dhpk: prepare-release.js under the repository's release scripts) has a
paths subcommand that prints its release scope (file/dir/deleted lines). With no file list, the runner then stages only
the changed paths inside that scope. Either way it rejects unrelated worktree changes
and does not stage the whole repository implicitly:
bash "$SKILL_DIR/scripts/release-runner.sh" \
"prepare" "<version>" "{BASE_BRANCH}" "{RELEASE_BRANCH}" "{TAG_PREFIX}" "{RELEASE_WORKFLOW}" \
{VERSION_FILES} {CHANGELOG}Stop here for the human merge; never self-merge against policy. The release PR
must use GitHub's Create a merge commit method. Squash and rebase merges can
drop the generated-input commit ancestry; the publish runner rechecks the
SOURCE+PACKAGE gate on merged main and stops before creating a tag if that
identity cannot be proven. After GitHub reports the PR merged, publish the tag
and watch its exact workflow run:
For this dhpk release contract, the publish runner automatically runs the SOURCE+PACKAGE gate after the human merge and before creating the tag. You may run the same command first for a diagnostic preflight, but publication must still go through the runner:
node "$PROJECT_DIR/scripts/release/publish-gate.js" --version "<version>"The runner uses $PROJECT_DIR/scripts/release/publish-gate.js when present and refuses the
tag if SOURCE or PACKAGE fails. A compatible project-specific combined gate may
be selected with DHPK_RELEASE_PUBLISH_GATE_SCRIPT; projects without one retain
the DHPK_RELEASE_PACKAGE_GATE_SCRIPT PACKAGE fallback.
bash "$SKILL_DIR/scripts/release-runner.sh" \
"publish" "<version>" "{BASE_BRANCH}" "{RELEASE_BRANCH}" "{TAG_PREFIX}" "{RELEASE_WORKFLOW}"The publish phase independently verifies the merged {BASE_BRANCH} →
{RELEASE_BRANCH} PR before tagging: its GitHub mergeCommit.oid must equal the
fetched release-branch HEAD, and that commit must have two parents. It then
runs the combined gate (including the PACKAGE provenance check), creates an
annotated immutable tag, polls for a workflow run associated with the new tag,
fails if no matching run appears, and returns to {BASE_BRANCH} only after
that run completes. The tag workflow resolves the merged release PR head SHA
and passes it to sync-develop. That job succeeds only when release completed,
origin/develop is still exactly that SHA, and its tree matches origin/main;
only then does it align the ref with --force-with-lease. A moved develop,
tree difference, or rejected lease is blocking and requires recovery in
RELEASE.md. This skill never force-pushes develop.
Verification
- Release config was resolved and confirmed.
- All version files agree.
- Changelog formatting matches project CI.
- No unrelated worktree changes were included.
- Validation passed.
- Release PR followed the project merge policy.
- Tag exists remotely and release CI passed.
- Release workflow confirmed that
origin/developdid not advance after the release PR. sync-developalignedorigin/developtoorigin/mainwith--force-with-lease.- Consumer update status is reported separately from publication status.
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.

