1- Commit, push, pull request
1+ Commit, review, push, pull request
22
33## Usage
44```
55/cpp [in branch <branch-name>]
66```
77
88## Description
9- Commits the current changes, pushes to remote, and creates a pull request.
9+ Commits the current changes, performs a code review, applies fixes if needed, then pushes to remote and creates a pull request.
1010
1111## Optional Arguments
1212- ` in branch <branch-name> ` - Specifies the target branch to use for the commit, push, and PR
1313
14+ ## Workflow
15+
16+ ### 1. Commit Changes
17+ - Stage and commit all changes with a descriptive message
18+ - Follow CLAUDE.md commit message guidelines
19+
20+ ### 2. Code Review
21+ - Run automated code review using ` /codeReview ` workflow
22+ - Apply CODE_REVIEW_GUIDE.md standards
23+ - Check for bugs, best practices violations, performance issues, security concerns
24+
25+ ### 3. Review Findings
26+ - Present review results to developer
27+ - If issues found, ** STOP and discuss** with developer:
28+ - Should we fix the issues now?
29+ - Are the findings valid or false positives?
30+ - Should we proceed anyway?
31+ - ** Developer decides next steps** - never auto-amend commits
32+
33+ ### 4. Push and PR (when approved)
34+ - Only proceed when developer approves
35+ - Push to remote with tracking
36+ - Create pull request with summary
37+
1438## Branch Handling
1539When a branch name is provided:
16401 . ** Branch doesn't exist locally or remotely** : Creates a new branch with the specified name
@@ -19,12 +43,12 @@ When a branch name is provided:
1943
2044## Examples
2145``` bash
22- # Commit, push, and PR on current branch
46+ # Commit, review, push, and PR on current branch
2347/cpp
2448
25- # Commit, push, and PR on specific branch (creates if doesn't exist)
49+ # Commit, review, push, and PR on specific branch (creates if doesn't exist)
2650/cpp in branch ios-5364-add-claude-to-gh-actions
2751
28- # Commit, push, and PR on existing branch
52+ # Commit, review, push, and PR on existing branch
2953/cpp in branch develop
3054```
0 commit comments