Agent skill

commit-rules

When making a Git commit, provide the subject of the commit and the rules to follow before committing.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/commit-rules-t0k0sh1-chronia

SKILL.md

This skill provides guidelines for commit targets and pre-commit checks.

Commit targets

  • All files managed by the repository are subject to commit.
  • Please include files in the dist/ directory in the commit target (as this is required when importing by specifying the repository directly).

Instructions

  1. Run pnpm build to ensure there are no build errors
  2. Run pnpm lint to ensure there are no lint errors
  3. Run pnpm test to ensure all tests pass
  4. If steps 1 through 3 all pass, commit the changes

Didn't find tool you were looking for?

Be as detailed as possible for better results