commits by itechmeat/llm-code
npx skills add https://github.com/itechmeat/llm-code --skill commits用于结构化提交消息的规范,支持自动生成变更日志和语义化版本控制。
<类型>[可选范围]: <描述>
[可选正文]
[可选脚注]
| 类型 | 用途 | SemVer |
|---|---|---|
feat | 新功能 | MINOR |
fix | 错误修复 | PATCH |
docs | 仅文档更新 | - |
style |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 格式化,无代码变更 |
| - |
refactor | 代码重构,无功能/修复 | - |
perf | 性能改进 | - |
test | 添加/修复测试 | - |
build | 构建系统、依赖项 | - |
ci | CI 配置 | - |
chore | 维护任务 | - |
revert | 回滚之前的提交 | - |
feat!: 产品发货时发送邮件
feat(api)!: 更改响应格式
chore!: 放弃对 Node 6 的支持
BREAKING CHANGE: 使用了 Node 6 中不可用的 JavaScript 特性。
feat: 添加用户认证
fix: 修复缓存中的内存泄漏
docs: 更新 API 文档
style: 使用 prettier 格式化代码
refactor: 提取验证逻辑
perf: 优化数据库查询
test: 为认证模块添加单元测试
build: 升级 webpack 到 v5
ci: 添加 GitHub Actions 工作流
chore: 更新依赖项
feat(auth): 添加 OAuth2 支持
fix(parser): 处理空数组
docs(readme): 添加安装指南
refactor(api): 简化错误处理
fix: 防止请求竞态
引入请求 ID 和对最新请求的引用。
忽略除最新请求外的传入响应。
移除用于缓解竞态问题但现已过时的超时设置。
fix: 修正代码中的次要拼写错误
Reviewed-by: John Doe
Refs: #123
feat: 允许配置对象扩展其他配置
BREAKING CHANGE: 配置文件中的 `extends` 键现在用于扩展其他配置文件。
chore!: 放弃对 Node 6 的支持
BREAKING CHANGE: 使用了 Node 6 中不可用的 JavaScript 特性。
revert: 让我们永远不要再提面条事件了
Refs: 676104e, a215868
feat、fix 等)为前缀feat 必须用于新功能fix 必须用于错误修复: 前用 ! 表示,或在脚注中用 BREAKING CHANGE: 表示BREAKING CHANGE 必须大写- 代替空格(例如 Reviewed-by)feat(parser):feat 和 fix 之外的类型! 可以与 BREAKING CHANGE: 脚注一起使用BREAKING CHANGE:必须大写BREAKING-CHANGE:BREAKING CHANGE 的同义词| 提交类型 | SemVer 升级 | 版本变更 |
|---|---|---|
fix: | PATCH | 1.0.0 → 1.0.1 |
feat: | MINOR | 1.0.0 → 1.1.0 |
BREAKING CHANGE 或 ! | MAJOR | 1.0.0 → 2.0.0 |
重大变更会覆盖类型 — fix!: 会导致 MAJOR 升级。
Conventional Commits 直接映射到变更日志条目:
| 提交类型 | 变更日志章节 |
|---|---|
feat | 新增 |
fix | 修复 |
perf | 变更 |
refactor | 变更 |
docs | (通常省略或归入变更) |
BREAKING CHANGE | 在变更/移除中高亮显示 |
revert | 移除或修复 |
| 安全修复 | 安全 |
像 conventional-changelog、semantic-release 或 release-please 这样的工具可以:
有关 CHANGELOG.md 格式,请参阅变更日志技能。
git commit -m "feat(users): 添加个人资料页面"
git commit -m "feat(users): 添加头像上传"
git commit -m "test(users): 添加个人资料页面测试"
git commit -m "docs(users): 记录个人资料 API"
git commit -m "fix(auth): 解决会话超时问题 (#142)"
# 先弃用
git commit -m "feat(api): 添加 v2 端点
DEPRECATED: /api/v1/users 将在下一个主版本中移除"
# 之后,移除
git commit -m "feat(api)!: 移除 v1 端点
BREAKING CHANGE: /api/v1/* 端点已被移除。
请使用 /api/v2/*。"
尽可能拆分为多个提交。这会使历史记录更有条理。
合并前:使用 git rebase -i 编辑历史记录。发布后:不关键 — 提交将被自动化工具遗漏。
不需要。使用压缩合并,维护者可以为合并编写适当的消息。
revert: <原始提交主题>
Refs: <提交 SHA>
设置 git 使用模板:
git config commit.template .gitmessage
模板文件请参阅 assets/commit-msg.template。
使用 assets/validate-commit-msg.sh 配合 git hooks 或 CI。
| 工具 | 用途 |
|---|---|
| commitlint | 检查提交消息 |
| commitizen | 交互式提交助手 |
| conventional-changelog | 生成变更日志 |
| semantic-release | 自动发布 |
| release-please | GitHub 发布自动化 |
强制要求:在建议分支名称、提交消息或 PR 描述之前,代理必须:
git status 或 git diff --name-only 检查所有更改的文件git diff 审查实际更改(已暂存和未暂存的)# 步骤 1: 获取所有更改文件的列表
git status --short
# 步骤 2: 审查实际更改(针对未暂存的)
git diff
# 步骤 3: 审查已暂存的更改
git diff --staged
# 步骤 4: 使用完整的变更集来建议:
# - 分支名称
# - 提交消息
# - PR 描述
当用户询问提交消息时,提供:
所有建议必须基于实际的 git diff 输出,而非假设。
每周安装量
112
仓库
GitHub Stars
10
首次出现
2026年1月25日
安全审计
安装于
github-copilot86
opencode75
codex56
gemini-cli55
kimi-cli49
amp49
Specification for structured commit messages that enable automated changelog generation and semantic versioning.
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
| Type | Purpose | SemVer |
|---|---|---|
feat | New feature | MINOR |
fix | Bug fix | PATCH |
docs | Documentation only | - |
style | Formatting, no code change | - |
refactor | Code change, no feature/fix | - |
perf | Performance improvement | - |
test | Adding/fixing tests | - |
build | Build system, dependencies | - |
ci | CI configuration | - |
chore | Maintenance tasks | - |
revert | Revert previous commit | - |
feat!: send email when product shipped
feat(api)!: change response format
chore!: drop support for Node 6
BREAKING CHANGE: use JavaScript features not available in Node 6.
feat: add user authentication
fix: resolve memory leak in cache
docs: update API documentation
style: format code with prettier
refactor: extract validation logic
perf: optimize database queries
test: add unit tests for auth module
build: upgrade webpack to v5
ci: add GitHub Actions workflow
chore: update dependencies
feat(auth): add OAuth2 support
fix(parser): handle empty arrays
docs(readme): add installation guide
refactor(api): simplify error handling
fix: prevent request racing
Introduce a request id and reference to latest request.
Dismiss incoming responses other than from latest request.
Remove timeouts which were used to mitigate the racing issue
but are obsolete now.
fix: correct minor typos in code
Reviewed-by: John Doe
Refs: #123
feat: allow config object to extend other configs
BREAKING CHANGE: `extends` key in config file is now used
for extending other config files.
chore!: drop support for Node 6
BREAKING CHANGE: use JavaScript features not available in Node 6.
revert: let us never again speak of the noodle incident
Refs: 676104e, a215868
feat, fix, etc.)feat MUST be used for new featuresfix MUST be used for bug fixes! before : OR BREAKING CHANGE: footerBREAKING CHANGE MUST be uppercase- instead of spaces (e.g., Reviewed-by)feat(parser):feat and fix MAY be used! MAY be used with BREAKING CHANGE: footerBREAKING CHANGE: MUST be uppercaseBREAKING-CHANGE: synonym for BREAKING CHANGE| Commit Type | SemVer Bump | Version Change |
|---|---|---|
fix: | PATCH | 1.0.0 → 1.0.1 |
feat: | MINOR | 1.0.0 → 1.1.0 |
BREAKING CHANGE or ! | MAJOR | 1.0.0 → 2.0.0 |
Breaking changes override type — fix!: results in MAJOR bump.
Conventional Commits map directly to changelog entries:
| Commit Type | Changelog Section |
|---|---|
feat | Added |
fix | Fixed |
perf | Changed |
refactor | Changed |
docs | (usually omitted or Changed) |
BREAKING CHANGE | Highlight in Changed/Removed |
Tools like conventional-changelog, semantic-release, or release-please can:
See changelog skill for CHANGELOG.md format.
git commit -m "feat(users): add profile page"
git commit -m "feat(users): add avatar upload"
git commit -m "test(users): add profile page tests"
git commit -m "docs(users): document profile API"
git commit -m "fix(auth): resolve session timeout (#142)"
# Deprecate first
git commit -m "feat(api): add v2 endpoint
DEPRECATED: /api/v1/users will be removed in next major version"
# Later, remove
git commit -m "feat(api)!: remove v1 endpoints
BREAKING CHANGE: /api/v1/* endpoints have been removed.
Use /api/v2/* instead."
Split into multiple commits when possible. This makes history more organized.
Before merge: git rebase -i to edit history. After release: not critical — commit will be missed by automated tools.
No. Use squash merging and maintainers can write proper message for the merge.
revert: <original commit subject>
Refs: <commit SHA>
Set up git to use template:
git config commit.template .gitmessage
See assets/commit-msg.template for template file.
Use assets/validate-commit-msg.sh with git hooks or CI.
| Tool | Purpose |
|---|---|
| commitlint | Lint commit messages |
| commitizen | Interactive commit helper |
| conventional-changelog | Generate changelogs |
| semantic-release | Automated releases |
| release-please | GitHub release automation |
MANDATORY : Before proposing branch name, commit message, or PR description, the agent MUST:
git status or git diff --name-onlygit diff (staged and unstaged)# Step 1: Get list of all changed files
git status --short
# Step 2: Review actual changes (for unstaged)
git diff
# Step 3: Review staged changes
git diff --staged
# Step 4: Use the complete changeset to propose:
# - Branch name
# - Commit message
# - PR description
When user asks for commit message, provide:
All proposals MUST be based on the actual git diff output, not assumptions.
Weekly Installs
112
Repository
GitHub Stars
10
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
github-copilot86
opencode75
codex56
gemini-cli55
kimi-cli49
amp49
Azure 升级评估与自动化工具 - 轻松迁移 Functions 计划、托管层级和 SKU
111,700 周安装
Datadog自动化监控:通过Rube MCP与Composio实现指标、日志、仪表板管理
69 周安装
Intercom自动化指南:通过Rube MCP与Composio实现客户支持对话管理
69 周安装
二进制初步分析指南:使用ReVa工具快速识别恶意软件与逆向工程
69 周安装
PrivateInvestigator 道德人员查找工具 | 公开数据调查、反向搜索与背景研究
69 周安装
TorchTitan:PyTorch原生分布式大语言模型预训练平台,支持4D并行与H100 GPU加速
69 周安装
screenshot 截图技能:跨平台桌面截图工具,支持macOS/Linux权限管理与多模式捕获
69 周安装
revert| Removed or Fixed |
| Security fixes | Security |