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

commit

Stage changes and create a commit with a conventional commit message.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.7 KB

SKILL.md(原文)

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

Commit

  1. Assess: run git status and git diff to see changes.

  2. Stage: relevant files only. If $ARGUMENTS contains file paths, stage only those. If empty, stage all changed files or ask the user. Never stage sensitive files (.env, credentials) without confirmation.

  3. Message: analyze the staged diff. Write a conventional commit message:

    • Format: type(scope): subject — types: feat, fix, refactor, chore, docs, test, ci, perf

    • Breaking changes: append ! (e.g., fix!: remove deprecated endpoint)

    • Subject: under 72 chars, imperative mood. Must reference what changed specifically — generic subjects like "initial commit", "fix bug", "update code" are never acceptable.

    • Body: always use the reasoning framework with ## markdown headings. Required: Problem + Solution. Optional (include only when they add non-obvious context): Goal, Background, Alternatives.

      ## Problem
      <what was wrong or missing>
      
      ## Goal (optional)
      <what this change aims to achieve, if not obvious>
      
      ## Background (optional)
      <context needed to understand why, if non-obvious>
      
      ## Solution
      <what was done and why this approach>
      
      ## Alternatives considered (optional)
      <what else was evaluated and why not>
      
    • One logical change per commit. If you need "and" in the subject, split it.

  4. Commit: create a unique temp file with mktemp /tmp/commit-msg.XXXXXX.txt, write the message to it, and run git commit -F <temp-file> — do not add Co-Authored-By or other trailers.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

amend

無料

Amend the last commit with current changes and/or an updated message.

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

simonepri/ifttt-lint272026年9月29日 更新

cook

無料

Full autopilot — plan, implement, and polish a task end-to-end.

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

simonepri/ifttt-lint272026年9月29日 更新

diff

無料

Fetch and display diffs for various scopes (PR, commit, branch, staged, working tree). Used by other skills that need to analyze changes.

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

simonepri/ifttt-lint272026年9月29日 更新

execute

無料

Execute a plan file — parse phases, spawn parallel subagents, handle failures.

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

simonepri/ifttt-lint272026年9月29日 更新

fork

無料

Start or end a forked session for exploring rabbit holes without losing the main conversation's context.

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

simonepri/ifttt-lint272026年9月29日 更新

plan

無料

Structured design intake for non-trivial tasks. Asks clarifying questions and produces a design proposal.

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

simonepri/ifttt-lint272026年9月29日 更新

simonepri のスキルをすべて見る

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