Conversation
…PR format Update CLAUDE.md to ensure Claude Code follows git workflow automatically: - Add "OVERRIDE DEFAULT BEHAVIOR" directive to override defaults - Change "should" language to "MUST" for mandatory requirements - Add explicit sections for when confirmation is/isn't needed - Add standardized PR summary format with Status and Changes fields (Title, Number, Status, Commits, Changes, Reviewers, URL) This eliminates the need for manual reminders about git workflow procedures. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
74c1ae0 to
4bd9c79
Compare
There was a problem hiding this comment.
Pull request overview
This PR strengthens the CLAUDE.md git workflow documentation by adding override directives to ensure Claude Code follows git procedures automatically, converting optional language to mandatory requirements, and standardizing PR output format.
Changes:
- Added "OVERRIDE DEFAULT BEHAVIOR" directive to header to ensure automatic workflow compliance
- Converted "should" language to "MUST" throughout mandatory workflow steps
- Added explicit sections defining when user confirmation is and isn't required
- Added standardized PR summary format with specific fields (Title, Number, Status, Commits, Changes, Reviewers, URL)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - Title: <pr-title> | ||
| - Number: #<number> | ||
| - Status: <pr-status> (Open/Closed/Merged/Draft) | ||
| - Commits: <count> (squashed as per your git workflow / or actual count) |
There was a problem hiding this comment.
Corrected grammar from 'as per your git workflow' to 'as per the git workflow'.
Suggested change
| - Commits: <count> (squashed as per your git workflow / or actual count) | |
| - Commits: <count> (squashed as per the git workflow / or actual count) |
| - Status: <pr-status> (Open/Closed/Merged/Draft) | ||
| - Commits: <count> (squashed as per your git workflow / or actual count) | ||
| - Changes: <files-changed> files changed, <insertions>+ insertions, <deletions>- deletions | ||
| - Reviewers: <reviewer-list> (already requested / or state if none) |
There was a problem hiding this comment.
The phrasing '(already requested / or state if none)' is unclear. Consider rephrasing to '(if requested, otherwise state none)' for better clarity.
Suggested change
| - Reviewers: <reviewer-list> (already requested / or state if none) | |
| - Reviewers: <reviewer-list> (if requested, otherwise state none) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Impact
This eliminates the need for manual reminders about git workflow procedures when using Claude Code.
🤖 Generated with Claude Code