post-commit

Solid

Use when a code commit just landed (not wip/amend/undo) and CHANGELOG or plugin-version post-commit actions are needed.

Code & Development 25 stars 4 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
47
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

<objective> Runs universal post-commit actions after any non-wip/amend/undo code commit. Detects repo type: if `.claude-plugin/marketplace.json` exists, follows the Marketplace Path (bump each modified plugin's version, bump the suite version, recompute every README shields.io badge from the filesystem, check documentation parity for newly-added plugins); otherwise follows the Standard Path (CHANGELOG only). Updates `CHANGELOG.md` with a new entry and commits the bump as a commit separate from the code change. The git tag itself is NOT created here — it is created POST-MERGE by the `commit` command's Step 8 (or locally in LOCAL/DEGRADED mode when no remote/`gh` is available). </objective> # Post-Commit Skill Universal post-commit actions after a successful code commit. ## Step 1: Read Last Commit ```bash git log --format='%s' -1 ``` Save the commit message for CHANGELOG entry. ## Step 2: Detect Repo Type Check if `.claude-plugin/marketplace.json` exists in the repo root. - **EXISTS** → Follow **Marketplace Path** (Steps M1–M5) - **DOES NOT EXIST** → Follow **Standard Path** (Steps S1–S2) ## Standard Path (any repo without marketplace.json) ### Step S1: Update CHANGELOG Read the latest git tag to determine current version: ```bash git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0" ``` Increment PATCH: `X.Y.Z` → `X.Y.(Z+1)`. Add a new entry at the top of `CHANGELOG.md` (create it with a `# Changelog` heading first if missing). Load `references/changelog-te...

Details

Author
fusengine
Repository
fusengine/agents
Created
8 months ago
Last Updated
6 days ago
Language
CSS
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category