スキル一覧に戻る
kutayilmaaz

atomic-commits

by kutayilmaaz

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

SKILL.md


name: atomic-commits description: Analyzes git changesets to create atomic, non-breaking, incremental commits. Use when you have multiple changes in the working directory and need to commit them in logical, independent steps that "just work".

Atomic Commits

This skill guides the process of creating atomic git commits from an existing changeset.

Core Principle

"The goal is that every commit just works - so you need to commit features in a non-breaking, incremental way."

Workflow

  1. Analyze Changes

    • Examine the current status with git status.
    • Review diffs with git diff to understand all pending changes.
  2. Plan Atomic Commits

    • Group changes into logical units.
    • Rule: Dependencies must be committed before dependents.
    • Rule: Each commit must be self-contained and non-breaking.
    • Rule: Tests (if present and relevant) should ideally pass after each commit.
  3. Execute

    • Stage specific files or hunks using git add (or git add -p for partial file staging).
    • Commit with a clear, descriptive message explaining why the change was made, not just what changed.
    • Repeat until the working directory is clean (or only contains changes meant for a later batch).

Example Scenario

Context: You have modified a backend API, updated the frontend to use the new API, and added a new dependency in package.json.

Bad Approach: git commit -am "update api and frontend" (Too large, mixes concerns).

Atomic Approach:

  1. git add package.json package-lock.json -> Commit: "Add axios dependency" (Safe, pre-requisite).
  2. git add backend/api.py -> Commit: "Update API endpoint to support user filtering" (Backend works independently).
  3. git add frontend/UserList.js -> Commit: "Connect frontend to new user filtering API" (Frontend uses the now-available API).

スコア

総合スコア

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

レビュー

💬

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