changelog-enforcer
Skill9 starsChanged 3 months agoMITView on GitHub
Ensure every meaningful change has a proper docs/changelog.md entry. Use before every commit that changes behaviour, adds features, or fixes bugs.
In this repository109 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- agent/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- router/CLAUDE.mdCLAUDE.md
- .agents/skills/llms.txtllms.txt
- agent-harnessSkill
- auto-fixSkill
- brain-dumpSkill
- industrial-brutalist-uiSkill
- checkpoint-strategySkill
- context-primeSkill
- cooldown-resumeSkill
- council-reviewSkill
- data-quality-auditSkill
- debug-tracerSkill
- dependency-auditSkill
- deslopSkill
- docs-syncSkill
- duplicate-threadSkill
- email-triageSkill
- fabric-patternsSkill
- feature-flagSkill
- git-hygieneSkill
- graphifySkill
- implementation-plannerSkill
- insightsSkill
- issue-resolverSkill
- learn-ruleSkill
- local-ai-querySkill
- lr-schedule-advisorSkill
- minimalist-uiSkill
- modularity-reviewSkill
- full-output-enforcementSkill
- parallel-agentsSkill
- parallel-worktreesSkill
- prompt-librarySkill
- prompt-transparencySkill
- pro-workflowSkill
- redesign-existing-projectsSkill
- release-readinessSkill
- replay-learningsSkill
- repo-memory-updaterSkill
- repowise-intelligenceSkill
- researchSkill
- resource-panelSkill
- risky-module-reviewSkill
- sandboxed-execSkill
- scope-guardSkill
- self-improveSkill
- session-handoffSkill
- skill-composerSkill
- smart-commitSkill
- high-end-visual-designSkill
- stitch-design-tasteSkill
- system-prompt-auditSkill
- task-alive-updatesSkill
- task-scoperSkill
- design-taste-frontendSkill
- test-first-executorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Before EVERY commit that is not purely:
- Distinctive: line 27
If in doubt, add a changelog entry.
- Very specific: line 35
Add under ## [Unreleased] at the top of the file:
- Distinctive: line 56
Only include subsections that are relevant to the commit.
- Very specific: line 60
Read docs/changelog.md to find the [Unreleased] block.
- Distinctive: line 61
Add a new entry under the appropriate subsection.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Skill: changelog-enforcer
When to Use
Before EVERY commit that is not purely:
chore:— dependency bumps, tooling configdocs:— doc-only changes (unless the doc IS the changelog)style:— formatting onlyci:— CI/workflow-only changestest:— test-only additions with no behaviour change
If in doubt, add a changelog entry. Entries are cheap; missing them causes release confusion.
Changelog Location
docs/changelog.md — follows Keep a Changelog format.
Entry Format
Add under ## [Unreleased] at the top of the file:
## [Unreleased]
### Added
- Brief description of new feature or capability. (#PR or commit reference if known)
### Changed
- What existing behaviour changed and how.
### Fixed
- What bug was fixed and what the symptom was.
### Security
- Any change touching auth, API keys, secrets, or access control.
### Removed
- Features, endpoints, or options that were removed.Only include subsections that are relevant to the commit.
Instructions
- Read
docs/changelog.mdto find the[Unreleased]block. - Add a new entry under the appropriate subsection.
- Be specific: mention the module, the route, or the behaviour that changed.
- Include the reason if non-obvious.
- Stage
docs/changelog.mdalongside the code change.
Examples
Good entries:
### Added
- `router/registry.py` — `fast_response` category routes short streaming requests to `qwen3-coder:7b` (lightest model) to reduce latency.
### Fixed
- `agent/loop.py` — `_parse_execution_response` now handles Windows-style CRLF line endings without corrupting file content.
### Security
- `key_store.py` — API keys are now hashed with SHA-256 before storage; plain-text keys are no longer written to `keys.json`.Bad entries (too vague):
### Changed
- Updated some stuff.
- Fixed bug.Acceptance Checks
docs/changelog.mdhas at least one new entry under[Unreleased]- Entry uses correct subsection (
Added/Changed/Fixed/Security/Removed) - Entry names the specific file or feature that changed
git diff --cached -- docs/changelog.mdshows staged changes- CI
changelog-checkjob will pass (see.github/workflows/changelog-check.yml)
Hook Behaviour
The commit-msg hook in .Codex/hooks/commit-msg will reject commits with
code changes but no docs/changelog.md staged update, unless the commit
subject starts with chore:, docs:, style:, ci:, or test:.
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.

