commit-rules
进行Git提交时,提供提交的主题和提交前需要遵循的规则。
📖 中文导读:进行Git提交时,提供提交的主题和提交前需要遵循的规则。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: commit-rules description: When making a Git commit, provide the subject of the commit and the rules to follow before committing.
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
- Run
pnpm buildto ensure there are no build errors - Run
pnpm lintto ensure there are no lint errors - Run
pnpm testto ensure all tests pass - If steps 1 through 3 all pass, commit the changes