.claude/skills/commit/SKILL.md
Stage files and create a conventional commit with a well-formed message.
npx skillsauth add carrot-foundation/methodology-rules Commit ChangesInstall 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.
Review changes: Run git status and git diff to understand what changed.
Run quality checks: Before committing, ensure pnpm lint:affected, pnpm ts:affected, and pnpm test:affected all pass.
Stage specific files: Add files individually by name. Never use git add . or git add -A to avoid accidentally staging sensitive or unrelated files.
Write a conventional commit message following this format:
<type>(<scope>): <description>
feat, fix, docs, style, refactor, perf, test, chore, revertnx, rule, shared, scriptfeat(rule): add vehicle definition validationfix(shared): prevent racing of requestsrefactor(rule): extract helper for document matchingCreate the commit: Use git commit -m "<message>". If a pre-commit hook fails, fix the issue and create a new commit (do not amend).
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.