スキル一覧に戻る
apfk88

atomic-commits

by apfk88

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

SKILL.md


name: atomic-commits description: Enforce atomic git commits by committing only the files touched and listing each path explicitly. Use when asked to create commits, split changes, or stage files so each commit is focused and limited to specific file paths.

Atomic Commits

Overview

Commit only the files touched for a single logical change. Always pass explicit paths to git commit and avoid blanket staging.

Workflow

  1. Inspect state: git status -sb, git diff, git diff --staged.
  2. Define the smallest logical change (one commit scope).
  3. Commit only the files in that scope with explicit paths.

Commands

Tracked files only

git commit -m "<scoped message>" -- path/to/file1 path/to/file2

New files included

git restore --staged :/ && git add "path/to/file1" "path/to/file2" && git commit -m "<scoped message>" -- path/to/file1 path/to/file2

Guardrails

  • Never use git commit -am or git add . for atomic commits.
  • Leave unrelated changes unstaged and uncommitted.
  • If a single file mixes concerns, split by hunks before committing.

スコア

総合スコア

50/100

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

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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