Agent skill
Create Pull Request
Analyze changes and create a pull request using the gh CLI with repo conventions.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/create-pr-carrot-foundation-methodology-rules-2
SKILL.md
-
Analyze changes: Review all commits on the branch since it diverged from main:
bashgit log main..HEAD --oneline git diff main...HEAD -
Push the branch if it has not been pushed yet:
bashgit push -u origin HEAD -
Create the PR using the
ghCLI with the required repo flags:bashgh pr create \ -a @me \ -r @carrot-foundation/developers \ --label <label> \ -R carrot-foundation/methodology-rules \ -t "<type>(<scope>): <description>"- Labels:
feature,bug,chore,docs,refactoring - Title: Use conventional commit format matching the branch type
- Body: Include a summary section, details of what changed, and a declaration checkbox
- Labels:
-
Return the PR URL to the user once created.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?