スキル一覧に戻る
craigtkhill

write-commit-message

by craigtkhill

Agentic Terminal User Interface tools, agents and configs following a Spec-Test-Driven Development process

0🍴 0📅 2026年1月13日
GitHubで見るManusで実行

SKILL.md


name: write-commit-message description: Use when creating git commits. Defines conventional commit format and message structure guidelines.

Commit Message Guidelines

Guidelines for writing clear, consistent git commit messages.

Conventional Commits Format

Use the conventional commits style:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Full Format with All Options

<type>[optional scope]!: <description>

[optional body]

[optional footer: value]
[optional footer: value]

Commit Types

  • feat: New feature
  • fix: Bug fix
  • test: Adding or updating tests
  • docs: Documentation changes
  • refactor: Code refactoring (no functional changes)
  • style: Code style changes (formatting, whitespace)
  • chore: Maintenance tasks, dependencies
  • perf: Performance improvements
  • ci: CI/CD configuration changes
  • build: Build system changes

Scope (Optional)

Add scope in parentheses to provide additional context:

Breaking Changes

Indicate breaking changes with ! after type/scope:

Description Guidelines

  • Use imperative mood ("add feature" not "added feature")
  • Start with lowercase
  • No period at the end
  • Keep under 72 characters
  • Be specific and descriptive

Simple One-Line Commits

ALWAYS prefer simple, single-line commits.

DO NOT add a body unless absolutely necessary. Most commits should be a single line.

When to Use Multi-line Commits (Rarely)

Only use a body when the commit requires significant explanation that cannot fit in the description:

  • Breaking changes that need migration instructions
  • Complex architectural decisions that need justification
  • Changes affecting multiple systems that need explanation

The code speaks for itself. Commit messages should be concise.

Footers

Footers provide metadata about the commit.

Breaking Changes

Document breaking changes in footer:

Commit Message Customization

IMPORTANT: Do NOT include AI attribution footers like:

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>

Keep commit messages clean and focused on the changes themselves.

Before Committing

  1. Check for remote updates: git fetch
  2. Review your changes: git status and git diff
  3. Stage relevant files: git add <files>
  4. Write clear commit message

Commit Frequency

  • Commit logical units of work
  • Don't commit half-finished features
  • Ensure tests pass before committing
  • One commit per requirement or bug fix (when practical)

Integration with STDD Workflow

When following the spec-test-driven development workflow:

  1. After completing a requirement (spec + test + implementation)
  2. Ensure all tests pass
  3. Run any precommit hooks
  4. Commit with descriptive message
  5. Reference requirement ID in commit body if helpful

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です