Context
- •Branch: !
git branch --show-current - •Remote: !
git remote get-url origin - •Command: $ARGUMENTS
Task
Based on $ARGUMENTS, execute:
- •create:
- •Analyze
git log main..HEADandgit diff main...HEAD --stat - •Run
aws codecommit create-pull-request
- •Analyze
- •list: Run
aws codecommit list-pull-requestsand display results - •view: Run
aws codecommit get-pull-requestfor current branch's PR - •view --comments:
- •Run
aws codecommit get-comments-for-pull-request - •Analyze the feedback and share your opinion on how to address each comment
- •Start discussion
- •Run
- •empty/unknown: Show available subcommands (create, list, view)
Note: Extract repository name from remote URL.
Additional resources
- •For PR description format, see template.md