agentleFS
strikersamstrikersam/autonomous-ai-agency/.agents/skills/changelog-enforcer/SKILL.md

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.

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
  1. Distinctive:

    Before EVERY commit that is not purely:

    line 20
  2. Distinctive:

    If in doubt, add a changelog entry.

    line 27
  3. Very specific:

    Add under ## [Unreleased] at the top of the file:

    line 35
  4. Distinctive:

    Only include subsections that are relevant to the commit.

    line 56
  5. Very specific:

    Read docs/changelog.md to find the [Unreleased] block.

    line 60
  6. Distinctive:

    Add a new entry under the appropriate subsection.

    line 61

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill: changelog-enforcer

When to Use

Before EVERY commit that is not purely:

  • chore: — dependency bumps, tooling config
  • docs: — doc-only changes (unless the doc IS the changelog)
  • style: — formatting only
  • ci: — CI/workflow-only changes
  • test: — 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

  1. Read docs/changelog.md to find the [Unreleased] block.
  2. Add a new entry under the appropriate subsection.
  3. Be specific: mention the module, the route, or the behaviour that changed.
  4. Include the reason if non-obvious.
  5. Stage docs/changelog.md alongside 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.md has 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.md shows staged changes
  • CI changelog-check job 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:.

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.