跳到正文
cccskills
免费在 GitHub 公开

commit

Create a git commit following project conventions. Use when: commit, commit this, make a commit, commit changes, git commit, save changes, commit my work, stage and commit, detailed commit.

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

查看安装方法

包含的文件(1)

  • SKILL.md1.9 KB

SKILL.md(原文)

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

Git Commit

Modes

Quick (default)

Single-line commit message.

<type>: <short description>

Detailed (/commit detailed or /commit -d)

Multi-paragraph commit for significant changes. Review the conversation and staged diff, then write:

<type>: <short summary>

<paragraph explaining what changed and why>

<paragraph on technical approach, trade-offs, or notable decisions>

Use detailed mode for: milestone features, non-obvious fixes, architectural changes, anything where "why" matters more than "what".

Format

Types: feat:, fix:, refactor:, test:, chore:, docs:

Rules

  1. Concise — short message, present tense ("add" not "added")
  2. Lowercase after prefix
  3. No AI mentions — never reference Claude, AI, or assistants
  4. No Co-Authored-By — never add Co-Authored-By trailers
  5. No emojis in commit messages
  6. Specific files — git add <files>, never git add .

Pre-commit Checklist

mix test
mix format --check-formatted
mix compile --warnings-as-errors
git diff --staged

Examples

Quick

git commit -m "feat: add rss feed generation"
git commit -m "fix: handle empty search pagination"
git commit -m "refactor: extract export context from mix tasks"

Detailed

git commit -m "feat: add article pinning with exclusive constraint

Articles can now be pinned to appear first in the list. Only one article
can be pinned at a time. The pin operation uses a database transaction
to atomically unpin all others before pinning the selected one.

Ordering changed to: pinned DESC, published_at DESC, inserted_at DESC.
This affects both the dynamic LiveView and static site generation."

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

dev

免费

Implementer - fetches a GitHub issue, builds an implementation plan, then implements using TDD. Use when: implement, build this, code this, add this feature, TDD, test first, red green refactor, pick a task, next task, dev.

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

leandronsp/curupira222026年3月21日 更新

po

免费

Product Owner - scans codebase and creates or amends GitHub issues with PRD. Use when: PRD, feature, issue, create issue, amend issue, what should we build, plan feature, design feature, scope, requirements.

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

leandronsp/curupira222026年3月21日 更新

pr

免费

Open or update a draft PR for the current branch. Use when: create PR, open PR, draft PR, pull request, prepare for review.

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

leandronsp/curupira222026年3月21日 更新

review

免费

Deep code review - Elixir idioms, Phoenix patterns, architecture, safety. Launches 3 parallel reviewers + plan-reviewer gate. Use when: review, review this, code review, check this code, review my changes, is this good, what do you think, code smells.

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

leandronsp/curupira222026年3月21日 更新

查看 leandronsp 的全部技能

报告此技能的问题