Skip to content

Include project rules in commit message generation#44921

Merged
rtfeldman merged 3 commits intomainfrom
rtfeldman/commit-msg-rules
Dec 16, 2025
Merged

Include project rules in commit message generation#44921
rtfeldman merged 3 commits intomainfrom
rtfeldman/commit-msg-rules

Conversation

@rtfeldman
Copy link
Contributor

@rtfeldman rtfeldman commented Dec 15, 2025

Closes #38027

Release Notes:

  • AI-generated commit messages now respect rules files (e.g. AGENTS.md) if present

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 15, 2025
rtfeldman and others added 3 commits December 15, 2025 16:51
Load and include project rules files (CLAUDE.md, .rules, etc.) in the LLM prompt when generating commit messages. This allows the commit message generator to respect project-specific conventions and guidelines.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rtfeldman rtfeldman force-pushed the rtfeldman/commit-msg-rules branch from 39eeda9 to a58f6c6 Compare December 15, 2025 21:52
@rtfeldman rtfeldman marked this pull request as ready for review December 16, 2025 02:44
@rtfeldman rtfeldman enabled auto-merge (squash) December 16, 2025 02:44
@rtfeldman rtfeldman merged commit c7d2483 into main Dec 16, 2025
38 of 39 checks passed
@rtfeldman rtfeldman deleted the rtfeldman/commit-msg-rules branch December 16, 2025 02:57
CherryWorm pushed a commit to CherryWorm/zed that referenced this pull request Dec 16, 2025
)

Closes zed-industries#38027

Release Notes:

- AI-generated commit messages now respect rules files (e.g.
`AGENTS.md`) if present

---------

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AI: generate git commit message follow AGENTS.md

1 participant