一键导入
commit
Create commits following Angular Conventional Commits format with proper scope naming for consistent changelog generation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create commits following Angular Conventional Commits format with proper scope naming for consistent changelog generation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | commit |
| description | Create commits following Angular Conventional Commits format with proper scope naming for consistent changelog generation |
Use this skill when creating git commits. All commits must follow Angular Conventional Commits format because:
<type>(<scope>): <subject>
[optional body]
[optional footer]
Requirements:
| Type | Purpose | In Changelog |
|---|---|---|
feat | New feature | Yes |
fix | Bug fix | Yes |
docs | Documentation only | Yes |
refactor | Code change (no feat/fix) | Yes |
perf | Performance improvement | Yes |
build | Build system changes | Yes |
style | Formatting, whitespace | No |
test | Adding/fixing tests | No |
ci | CI/CD configuration | No |
These are widely adopted extensions configured in cog.toml:
| Type | Purpose | In Changelog |
|---|---|---|
chore | Maintenance, deps, tooling | No |
revert | Revert previous commit | Yes |
Scopes should be consistent to group related changes in changelogs.
lib - library code (src/lib.rs)cli - command-line interfacetoolchain - toolchain detection and managementversion - version bumpsdeps - dependency updatesci - CI/CD workflows (use with ci: or chore: type)config - configuration filesmsrv - minimum supported Rust versionreadme - README.md changesclaude - CLAUDE.md, Claude Code skillstests - general test changesfeat(lib): add automatic nightly version detection
fix(toolchain): handle missing rust-toolchain.toml
docs(readme): update installation instructions
refactor(cli): simplify argument parsing
test(lib): add tests for version parsing
chore(deps): update clap to 4.5
ci(workflows): add release binary uploads
feat(cli)!: change default output format
feat: add feature # missing scope
Fix(lib): Fix bug # uppercase type and subject
feat(lib): Add feature. # uppercase subject, has period
updated the readme # wrong format entirely
feat(lib) add feature # missing colon
feat(Lib): add feature # uppercase scope
For breaking changes, add an exclamation mark after the scope:
feat(cli)!: change default output format
BREAKING CHANGE: Output now uses JSON by default.
Use --text for the old behavior.
This will appear prominently in the changelog.
git add <files>git commit -m "type(scope): subject"If the commit is rejected, fix the issue and try again.
For complex changes, use a body:
git commit -m "feat(lib): add channel override support
Allows specifying a custom nightly channel date.
Useful for pinning to specific nightly versions.
Closes #42"
To see the commit style used in this repo:
git log --oneline -20