Claude-skill-registry commit-rules
When making a Git commit, provide the subject of the commit and the rules to follow before committing.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/commit-rules" ~/.claude/skills/majiayu000-claude-skill-registry-commit-rules && rm -rf "$T"
manifest:
skills/data/commit-rules/SKILL.mdsource content
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
directory in the commit target (as this is required when importing by specifying the repository directly).dist/
Instructions
- Run
to ensure there are no build errorspnpm build - Run
to ensure there are no lint errorspnpm lint - Run
to ensure all tests passpnpm test - If steps 1 through 3 all pass, commit the changes