.agents/skills/rule-pull-request/SKILL.md
Rule mapping for pull-request
npx skillsauth add carrot-foundation/methodology-rules rule-pull-requestInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply this rule whenever work touches:
*Pull requests are created exclusively through the gh CLI to ensure consistent metadata.
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 |
The summary should be brief and action-oriented:
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.
databases
Create and modify Zod schemas for runtime validation with proper type inference.
testing
Write Vitest unit tests following project conventions with proper stubs and assertions.
tools
Autonomously implement a task following project conventions with iterative verification.
testing
Analyze a pull request diff and provide structured feedback on correctness, conventions, and quality.