Appearance
0005: Keep Markdown in docs and instruction commits
Status: accepted
Date: 2026-12-04
PR: #2
Context
Markdown in this repository has two readers. People read docs, and agents follow instructions such as CLAUDE.md and the files in .claude/. When prose and code are in one commit, a reviewer can miss one of them.
Options considered
- Only
CLAUDE.mdand.claude/**/*.mdcount as instructions: the READMEs thatCLAUDE.mdimports also load into every Claude session, but they would count as docs.
Decision
Only docs and instruction commits may change Markdown. instruction is a commit type for Markdown that steers agents: CLAUDE.md, .claude/**/*.md and each file that CLAUDE.md imports. A script lists those files from the repository, so the choice of type does not depend on a guess.
Consequences
Reviewers read prose and code apart, so neither hides in the diff of the other. The pull request description shows docs and instructions as their own entries, with their own reasons. Anyone can tell which Markdown steers agents, and PR Prep picks the type the same way each time.