跳到正文
cccskills
免费在 GitHub 公开

commit

按 Conventional Commits 规范编写提交信息。在创建 git commit 时使用。

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Commit Skill

生成符合 Conventional Commits 规范的提交信息。

格式

type(scope): 动词+对象

{为什么需要这次改动,带来哪些用户/系统影响}

Fixes #{ISSUE_ID}

字段

  • type:feat | fix | docs | style | refactor | perf | test | chore | revert
  • scope:可选,文件/模块/子系统,如 api、ui、auth、deps
  • subject:≤ 50 字符,祈使句,首字母小写,不加句号
  • body:每行 ≤ 72 字符,解释「做了什么」与「为什么做」
  • footer:可选,关联 Issue / PR / Breaking Change

步骤

  1. 读取 git diff 收集信息;若用户已提供上下文则跳过。
  2. 判断变更属于哪一类 type。
  3. 若改动跨多个 scope,使用最核心模块作为 scope。
  4. 提取「新增 / 修改 / 删除」的函数、类、接口名,写入 subject。
  5. 若存在破坏性变更,在 footer 加 BREAKING CHANGE: 说明。
  6. 先给出完整 commit 供用户确认,再询问是否执行 git commit。

禁止行为

  • 不得使用 update code、fix bug、wip 等无意义描述。
  • 禁止 subject 或 body 行超过 72 字符。
  • 禁止把 issue 链接放在 subject 行。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

在进行 Code Review 时,使用这个技能对 LoongCollector 变更进行安全导向、架构一致性优先的深度代码评审。

中文简介正在准备中。当前显示原文说明。

alibaba/loongcollector22072026年10月16日 更新

compile

免费

编译 LoongCollector C++ 与 Go 组件。涉及构建、单元测试或镜像时使用。

中文简介正在准备中。当前显示原文说明。

alibaba/loongcollector22072026年10月16日 更新

Design document writing conventions. Use when writing or reviewing technical design documents.

中文简介正在准备中。当前显示原文说明。

alibaba/loongcollector22072026年10月16日 更新

e2e

免费

LoongCollector E2E 测试全流程指南:设计、编写、运行和调试。当需要编写新 E2E 测试、运行现有测试、或排查 E2E 测试失败时使用此 skill。

中文简介正在准备中。当前显示原文说明。

alibaba/loongcollector22072026年10月16日 更新

LoongCollector E2E Testing Framework Development Guide. Use this rule when you need to understand E2E testing framework architecture, develop new test behavior functions, or extend testing capabilities. Contains detailed BDD testing framework usage, test behavior function development and registration workflows, and comprehensive reference of existing testing capabilities. Example: When adding custom test behaviors for new plugins, use this rule to understand how to write and register new test functions. Example: When developing E2E tests, use this rule to understand the e2e framework.

中文简介正在准备中。当前显示原文说明。

alibaba/loongcollector22072026年10月16日 更新

E2E Testing Standards Guide. Use this rule when you need to write or execute E2E tests, including test naming conventions, test workflows, and test behavior templates. This rule should be used for end-to-end integration testing scenarios to ensure test standardization and maintainability. Example: When writing new E2E tests, use this rule to ensure proper test format and workflow compliance.

中文简介正在准备中。当前显示原文说明。

alibaba/loongcollector22072026年10月16日 更新

查看 alibaba 的全部技能

报告此技能的问题