commit-helper by charon-fan/agent-playbook
npx skills add https://github.com/charon-fan/agent-playbook --skill commit-helper一个用于创建遵循 Conventional Commits 规范的、格式正确的 Git 提交信息的技能。
当您进行以下操作时,此技能将被激活:
<type>(<scope>): <subject>
<body>
<footer>
| 类型 | 描述 |
|---|---|
feat | 新功能 |
fix | 错误修复 |
docs | 仅文档更改 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
style | 不影响代码含义的更改(格式化等) |
refactor | 既不修复错误也不添加功能的代码更改 |
perf | 提高性能的代码更改 |
test | 添加缺失的测试或更正现有测试 |
chore | 对构建过程或辅助工具的更改 |
ci | 对 CI 配置文件和脚本的更改 |
build | 影响构建系统或外部依赖项的更改 |
范围应指明受影响的代码库区域:
components、hooks、store、styles、utilsapi、models、services、database、authci、deploy、dockerCloses #123、Fixes #456、Refs #789Closes #123, #456, #789BREAKING CHANGE: 开头,后跟描述feat(auth): add OAuth2 login support
Implement OAuth2 authentication flow to allow users to log in
with their Google or GitHub accounts.
This change adds:
- New OAuth2 middleware for handling callbacks
- Updated login UI with social login buttons
- User profile synchronization
Closes #123
fix(api): resolve race condition in user creation
The concurrent user creation requests could result in duplicate
email entries. Added unique constraint and proper error handling.
Fixes #456
refactor(user): simplify profile update logic
Extracted common validation logic into a reusable function
to reduce code duplication across profile update endpoints.
docs: update API documentation with new endpoints
Added documentation for the v2 user management endpoints
including request/response examples and error codes.
updated stuff # 太模糊,没有类型/范围
fixed bug # 没有说明是哪个错误
feat: added feature # 冗余("feat" 意味着新功能)
Feat(User): Add Login # 大小写不正确
feat: A really really really long subject line that exceeds the recommended limit # 太长
当引入破坏性变更时,在页脚添加 BREAKING CHANGE::
feat(api): migrate to REST v2
The API endpoints have been restructured for better consistency.
Old endpoints are deprecated and will be removed in v3.0.
BREAKING CHANGE: `/api/v1/users` is now `/api/v2/users`.
All consumers must update their integration by 2025-03-01.
撰写提交信息时:
git diff 以了解更改内容使用验证脚本检查提交信息格式:
python scripts/validate_commit.py "your commit message"
references/conventional-commits.mdreferences/examples.mdreferences/scopes.md每周安装次数
46
代码仓库
GitHub 星标数
11
首次出现
2026年1月22日
安全审计
安装于
codex40
gemini-cli40
opencode40
cursor39
github-copilot36
amp35
A skill for creating properly formatted Git commit messages following the Conventional Commits specification.
This skill activates when you:
<type>(<scope>): <subject>
<body>
<footer>
| Type | Description |
|---|---|
feat | A new feature |
fix | A bug fix |
docs | Documentation only changes |
style | Changes that do not affect the meaning of the code (formatting, etc.) |
refactor | A code change that neither fixes a bug nor adds a feature |
perf | A code change that improves performance |
test | Adding missing tests or correcting existing tests |
chore | Changes to the build process or auxiliary tools |
ci | Changes to CI configuration files and scripts |
build | Changes that affect the build system or external dependencies |
The scope should indicate the area of the codebase affected:
components, hooks, store, styles, utilsapi, models, services, database, authci, deploy, Closes #123, Fixes #456, Refs #789Closes #123, #456, #789BREAKING CHANGE: followed by descriptionfeat(auth): add OAuth2 login support
Implement OAuth2 authentication flow to allow users to log in
with their Google or GitHub accounts.
This change adds:
- New OAuth2 middleware for handling callbacks
- Updated login UI with social login buttons
- User profile synchronization
Closes #123
fix(api): resolve race condition in user creation
The concurrent user creation requests could result in duplicate
email entries. Added unique constraint and proper error handling.
Fixes #456
refactor(user): simplify profile update logic
Extracted common validation logic into a reusable function
to reduce code duplication across profile update endpoints.
docs: update API documentation with new endpoints
Added documentation for the v2 user management endpoints
including request/response examples and error codes.
updated stuff # Too vague, no type/scope
fixed bug # No context about which bug
feat: added feature # Redundant ("feat" means new feature)
Feat(User): Add Login # Incorrect capitalization
feat: A really really really long subject line that exceeds the recommended limit # Too long
When introducing breaking changes, add BREAKING CHANGE: to the footer:
feat(api): migrate to REST v2
The API endpoints have been restructured for better consistency.
Old endpoints are deprecated and will be removed in v3.0.
BREAKING CHANGE: `/api/v1/users` is now `/api/v2/users`.
All consumers must update their integration by 2025-03-01.
When writing a commit message:
git diff to understand what changedUse the validation script to check commit message format:
python scripts/validate_commit.py "your commit message"
references/conventional-commits.md for full specificationreferences/examples.md for more examplesreferences/scopes.md for recommended scope namingWeekly Installs
46
Repository
GitHub Stars
11
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
codex40
gemini-cli40
opencode40
cursor39
github-copilot36
amp35
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
152,900 周安装
docker