Skip to content

chore: add copyright header guidance to CLAUDE.md#12541

Merged
kim-em merged 3 commits intomasterfrom
chore/claude-copyright-guidance
Feb 18, 2026
Merged

chore: add copyright header guidance to CLAUDE.md#12541
kim-em merged 3 commits intomasterfrom
chore/claude-copyright-guidance

Conversation

@kim-em
Copy link
Collaborator

@kim-em kim-em commented Feb 18, 2026

This PR adds a "Copyright Headers" section to .claude/CLAUDE.md instructing Claude to:

  • Always use date +%Y for the copyright year instead of relying on memory
  • Match the copyright holder to what the author uses in other recent files in the repo
  • Skip copyright headers for test files in tests/

🤖 Prepared with Claude Code

This adds prompting to ensure new files get correct copyright headers
with the current year (via `date`, not from memory) and the right
copyright holder (matched from other files by the same author).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kim-em kim-em added the changelog-no Do not include this PR in the release changelog label Feb 18, 2026
@kim-em kim-em enabled auto-merge February 18, 2026 00:37
@kim-em kim-em added this pull request to the merge queue Feb 18, 2026
Merged via the queue into master with commit 12d3ffc Feb 18, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-no Do not include this PR in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant