Commit a Change
Use this skill when the user asks to commit work in the compartment repo.
Source of truth
commitlint.config.cjs.husky/pre-commit.husky/commit-msg
Rules
- Allowed
typevalues are intype-enum; allowedscopevalues are inscope-enum. - Commit format is
type(scope): subject, with a header no longer than 100 characters. - Treat the final commit header as the canonical change title for later PR creation unless the user explicitly asks for a different PR title.
- During
git commit,.husky/pre-commitstartspnpm lint-staged,pnpm check, andpnpm check:duplicates, so manual validation before commit should stay limited to the checks that matter for the current diff. - Use non-interactive
git commit -m ...; if Husky blocks the commit, fix the failure and retry with a new non-interactive commit. - Never skip Husky hooks; do not use
--no-verify.