Skip to content

docs(agents): tighten the comment rule, and let the changelog skill own its own style - #1036

Open
lukecotter wants to merge 2 commits into
certinia:mainfrom
lukecotter:docs-agent-rules
Open

docs(agents): tighten the comment rule, and let the changelog skill own its own style#1036
lukecotter wants to merge 2 commits into
certinia:mainfrom
lukecotter:docs-agent-rules

Conversation

@lukecotter

Copy link
Copy Markdown
Collaborator

Two rules that were wrong in practice.

The comment bar. "Only the non-obvious: a why, a gotcha, an invariant" reads as permission, and agents take it that way — a summary passes as a why, a signpost passes as a gotcha. The new wording states the test a comment has to pass: without this line a competent reader would make a wrong change.

CHANGELOG rules lived in two places. AGENTS.md carried a summary that had drifted from the changelog-entry skill. It now links the skill.

The skill gained what the file already does. Sub-bullets were banned outright, yet the Unreleased section uses them well for one feature with distinct parts — three at most, one capability each. Also recorded: the - <emoji> **Label**: … house form, that the lana/ copy is generated so only the root file is edited, and the section order the file actually uses (Added, Changed, Removed, Fixed).

Touches AGENTS.md and .claude/skills/changelog-entry/SKILL.md only. No code.

Note: #893 also edits AGENTS.md, in a different section.

… skill

The old bar, "only the non-obvious", read as permission. State the test a
comment has to pass instead. The CHANGELOG rules were a stale summary of the
changelog-entry skill; link it rather than repeat it.
…ouse style

- a big feature can carry up to three sub-bullets, one capability each
- the emoji-and-label form and the generated lana/CHANGELOG.md copy were
  unwritten; both are now in the skill
- section order corrected to Added, Changed, Removed, Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant