commit-creator
0
总安装量
3
周安装量
安装命令
npx skills add https://github.com/perdolique/workflow --skill commit-creator
Agent 安装分布
opencode
3
codex
3
github-copilot
3
gemini-cli
3
amp
2
kimi-cli
2
Skill 文档
Code Committing
Format
Language Requirement
Always write in English only
<type>(<scope>): summary
- Summary: â¤50 chars, imperative mood, no period
- Scope: Module/package name (monorepo: exact package name or
all) - Body (optional): Bullet list
- {emoji} {text}(â¤100 chars/line) - Breaking: Add
!after type andBREAKING CHANGE:footer - Issues: End the body with a bullet like
- Fixes #123or- Fixes PROJ-456
Types: feat â¨, fix ð, docs ð, style ð, refactor â»ï¸, perf â¡, test â , build ð§, ci ð·, chore ð¨, revert âª
Workflow
Staging behavior
When both staged and unstaged changes exist in the working directory, and interaction is available:
- Ask the user whether to:
- Stage all files before committing
- Commit only the currently staged changes
Commit error handling
If the commit fails (e.g., due to pre-commit hooks, linting failures, or other validation errors):
- Report the exact error message and reasons for the failure
- Ask the user whether to:
- Commit with
--no-verifyflag to bypass hooks - Attempt to fix the issues automatically
- Let the user fix the issues manually
- Commit with
Examples
Simple feature:
feat(button): add loading state
- ⨠Add spinner icon during async operations
- ð¦ @ui/icons: v1.0.0 â v1.1.0
- Fixes #42
Breaking change:
feat(theme)!: redesign color tokens
- ⨠Replace RGB values with HSL format
- ð Update all component styles to use new tokens
- ð¦ @ui/theme: v2.1.0 â v3.0.0
BREAKING CHANGE: Color token values changed from RGB to HSL format
For more examples, see references/examples.md