de-commit

Generate conventional commit messages with type rules and issue references.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/baobaoyeye/skills --skill de-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: de-commit
Source: https://github.com/baobaoyeye/skills/tree/main/de-commit
Command: npx skills add https://github.com/baobaoyeye/skills --skill de-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

在为项目创建提交信息时,请遵循统一的提交规范。该规范基于约定式提交,并结合团队的任务引用规则,提升历史可读性与追溯性。

Core Features & Use Cases

  • 提供清晰的提交类型和格式要求(feat、fix、ref、docs 等),并给出长度和语气方面的约束。
  • 支持在提交信息尾部添加引用(如 Fixes/Refs)以及可选的 AI 联合作者标注等实践,以便追踪来源。
  • 提供分支命名与工作流的基本建议,帮助团队保持一致性。

Quick Start

创建一次符合类型/主题格式的提交信息。

Frequently Asked Questions about de-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write conventional commit messages for git?

Conventional commit messages require explicit type prefixes like feat, fix, ref, or docs, followed by a concise subject. This Skill enforces these coding standards, applying a 300-character limit per line to ensure version-control history remains readable and traceable.

How do I add issue references and AI authorship annotations to git commit footers?

Git commit footers can include issue references using Fixes or Refs tags, alongside optional AI authorship annotations in the commit notes. This Skill structures these mandatory frontmatter fields and footnotes to track task origins and co-authorship automatically.

What is the best way to enforce a 300-character line limit in git commit messages?

Enforcing a 300-character line limit in git commit messages involves applying strict formatting rules to the subject line and body. This Skill acts as a guideline to restrict line length, ensuring conventional commits stay concise and readable across feature and refactor workflows.

Does this conventional commit guideline support feature, fix, refactor, and docs workflows?

Yes, the conventional commit guideline supports feature, fix, refactor, and docs workflows with explicit type rules. It ensures consistent git documentation and collaboration by validating commit types and enforcing mandatory frontmatter fields across these specific coding workflows.

Why do my team's git commit messages lack historical traceability?

Git commit messages lack traceability when they omit mandatory frontmatter fields and issue references in footnotes. This Skill solves the problem by enforcing conventional commits with strict type rules and team task referencing, improving version-control readability and historical tracking.

Can I use conventional commits for branch naming and workflow consistency?

Yes, conventional commits can be extended to branch naming and workflow consistency. This Skill provides basic recommendations for branch naming alongside commit message rules, helping teams maintain unified documentation and coding standards across the entire version-control lifecycle.