Agent skill
rule-pull-request
Rule mapping for pull-request
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/rule-pull-request-carrot-foundation-methodology-rules
SKILL.md
Rule pull-request
Apply this rule whenever work touches:
*
Pull requests are created exclusively through the gh CLI to ensure consistent metadata.
Creating a PR
gh pr create \
-a @me \
-r @carrot-foundation/developers \
--label feature \
-R carrot-foundation/methodology-rules \
-t "feat(rule): add vehicle weight validation"
Adjust --label to match the change type:
| Label | When to use |
|---|---|
feature |
New functionality |
bug |
Bug fix |
chore |
Tooling, CI, dependencies |
docs |
Documentation changes |
refactoring |
Code restructuring |
PR summary
The summary should be brief and action-oriented:
- Start with a verb: "Add", "Fix", "Refactor", "Remove"
- 1-3 sentences covering the what and why
- Link related issues if applicable
Pre-submission checklist
Before opening the PR, verify locally:
pnpm lint:affected
pnpm ts:affected
pnpm test:affected
These same checks run in CI, but catching failures early saves review cycles.
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?