Skip to content

docs: strengthen CLAUDE.md git workflow with override directives and PR format#5

Merged
pataraco merged 1 commit intomasterfrom
docs/strengthen-git-workflow-instructions
Feb 6, 2026
Merged

docs: strengthen CLAUDE.md git workflow with override directives and PR format#5
pataraco merged 1 commit intomasterfrom
docs/strengthen-git-workflow-instructions

Conversation

@pataraco
Copy link
Owner

@pataraco pataraco commented Feb 5, 2026

Summary

  • Add "OVERRIDE DEFAULT BEHAVIOR" directive to ensure Claude Code follows git workflow automatically
  • Change all "should" language to "MUST" for mandatory requirements
  • Add explicit sections defining when confirmation is/isn't needed
  • Add standardized PR summary format requirement

Changes

  • Updated CLAUDE.md with stronger directive language to override default Claude behavior
  • Added mandatory workflow steps for git operations (fetch, sync, feature branches)
  • Added standardized PR summary output format (Title, Number, Commits, Reviewers, URL)

Impact

This eliminates the need for manual reminders about git workflow procedures when using Claude Code.

🤖 Generated with Claude Code

…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>
@pataraco pataraco force-pushed the docs/strengthen-git-workflow-instructions branch from 74c1ae0 to 4bd9c79 Compare February 5, 2026 23:57
@pataraco pataraco requested a review from Copilot February 6, 2026 00:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

Copilot uses AI. Check for mistakes.
- 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)
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

Copilot uses AI. Check for mistakes.
@pataraco pataraco merged commit d9b00c7 into master Feb 6, 2026
1 check failed
@pataraco pataraco deleted the docs/strengthen-git-workflow-instructions branch February 6, 2026 00:28
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.

2 participants