本文へ移動
cccskills
無料GitHub で公開

commit

Turn uncommitted work into a logically ordered sequence of atomic conventional commits. Surveys the whole working tree, groups changes, orders them foundation-first, shows a plan, then commits by path. Use when the user says "commit this", "commit my work", "split this into commits", or "clean up my changes into commits"

日本語の概要は準備中です。原文の説明を表示しています。

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

commit

Take the current uncommitted work and commit it as a clean, ordered sequence of atomic commits — each self-consistent, each a conventional-commit.

1. Survey

Run these to see everything (not just what's staged):

git status --short
git diff            # unstaged
git diff --staged   # staged

Read the actual changes. List untracked files too (git status --short shows them as ??).

If the user named a subset to commit (specific files, or "just the auth work"), scope everything below to that subset and leave the rest untouched. Otherwise consider the whole tree.

2. Group into atomic commits

Cluster the changes into the smallest units that each stand on their own (one logical change per commit). Split unrelated work apart; keep a change and its direct test/doc together.

Flag unfinished work. While reading the diff, watch for changes that look incomplete or not meant to ship — e.g. TODO/FIXME/XXX added, commented-out or debug code (print, console.log, dbg!), stubs / empty function bodies / pass / NotImplementedError, half-edited files, failing or .skipped tests, or a reference with no definition. List each one and ask whether to include it, hold it back (leave unstaged), or fix it first. Don't silently commit it.

3. Order foundation-first

Sequence commits so each builds on the last:

  1. Dependencies / config / build setup
  2. Shared utilities, types, refactors that others depend on
  3. Features / fixes that use them
  4. Tests
  5. Docs

4. Show the plan, wait for approval

Print the proposed sequence and stop:

1. feat(auth): add password reset endpoint
   files: src/auth/reset.ts, src/routes.ts
2. test(auth): cover password reset flow
   files: test/auth/reset.test.ts

Do not create any commit until the user approves. Adjust on feedback.

5. Commit sequentially

For each commit, stage that group by path then commit:

git add <paths for this commit>
git commit -m "<type>(<scope>): <description>" -m "- detail" -m "- detail"
  • Stage by explicit paths only. Do not use git add -p/git add -i (interactive, unsupported here); if two logically separate changes live in the same file and can't be split by path, note it in the plan and commit them together.
  • After each commit, verify with git status that the right files landed.

Commit format

<type>(<scope>): <description>

Add a bullet body (-m per bullet) only when the change has multiple parts.

Types: feat (new feature), fix (bug fix), refactor, perf, test, docs, build, ci, chore. Scope is optional, lowercase, the affected area. Description: imperative, lowercase, no trailing period.

Rules

  • Plan before committing. Never commit without showing the sequence first.
  • Subset is fine. Commit only the changes the user asked for; leave everything else exactly as it was.
  • Never commit unfinished work silently. If something looks incomplete, ask first.
  • Clean messages. No agent attribution footer — write them as a human would.
  • Never push. Only git push if the user explicitly asks.
  • Don't commit junk. If a file looks like a secret, credential, or large build artifact, leave it unstaged and flag it.
  • Branch safety. If on the default branch (main/master), say so and offer to create a branch before committing.
  • Respect hooks. If a pre-commit hook rejects or rewrites a commit, stop and report — don't loop or bypass with --no-verify unless asked.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

decide

無料

Record decisions in docs-agents/DECISIONS.md — add a TBD (open question), log a decided decision, or revise/revoke an existing one. Use when the user says "decide", "we decided", "log a decision", "that's TBD", or wants to change/revoke a past decision

日本語の概要は準備中です。原文の説明を表示しています。

patrickfleith/awesome-spacecraft-engineering-datasets1102026年10月23日 更新

glossary

無料

Manage docs-agents/GLOSSARY.md — add or refine a canonical term, extract terms from the current conversation, or audit for conflicts and duplicates. Use when the user says "define this term", "add to the glossary", "build a glossary", "what do we call this", or wants to harden terminology

日本語の概要は準備中です。原文の説明を表示しています。

patrickfleith/awesome-spacecraft-engineering-datasets1102026年10月23日 更新

log

無料

Quickly add one entry to the right doc — a task, idea, stack choice, concern, or open question — in the correct format. Triggered by "log"/"note"/"capture"/"add"/"jot down" + the kind, e.g. "log this task", "note this idea down", "capture a concern", "add TODO", "we're using X for Y — put it in the stack", "open question:". Addition only.

日本語の概要は準備中です。原文の説明を表示しています。

patrickfleith/awesome-spacecraft-engineering-datasets1102026年10月23日 更新

unslop

無料

Rules for AI-written text. Must always apply.

日本語の概要は準備中です。原文の説明を表示しています。

patrickfleith/awesome-spacecraft-engineering-datasets1102026年10月23日 更新

Write or update docs-agents/SUM.md — the Software User Manual — from the codebase. Mode 1 (generate) builds a full, detailed SUM from scratch by inventorying every user-facing surface so nothing is missed. Mode 2 (update) revises the SUM against a PR/diff, removing what's obsolete, editing what changed, and adding what's new — precisely and concisely. Triggered by "write the manual", "generate the user manual", "document how to use this", or "update the manual for this PR".

日本語の概要は準備中です。原文の説明を表示しています。

patrickfleith/awesome-spacecraft-engineering-datasets1102026年10月23日 更新

patrickfleith のスキルをすべて見る

このスキルの問題を報告する