Commitのロゴ

Commit

組織
iOfficeAI
commit

Generate commit messages following project conventions and commit staged changes. Use when the user explicitly asks to commit, create a commit, or run /commit.

概要

公開者iOfficeAI
リポジトリAionHub
スキル名commit
スター
44
フォーク
22
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    iOfficeAIがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルCommitをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/iOfficeAI/AionHub/tree/main/.claude/skills/commit
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iOfficeAI/AionHub.git /tmp/AionHub
mkdir -p .claude/skills
cp -r /tmp/AionHub/.claude/skills/commit .claude/skills/commit
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCommitを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にCommitを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Commitは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Commit Skill

Generate well-formatted commit messages and commit staged changes for AionHub.

Usage

  • /commit - Generates a commit message based on staged changes
  • /commit <advice> - Uses provided advice to guide commit message generation

Guidelines

  • Only commit staged files - Never add files with git add. The user controls staging.
  • Analyze all staged changes - Review both previously staged and newly added changes
  • Follow commit message format - Use the project format shown below
  • Match the project style - Check recent commits (git log) to match existing style

Format

<Type>[!](<scope>): <message title>

<bullet points summarizing changes>

[optional BREAKING CHANGE section if applicable]

Key convention: Type is always lowercase (e.g., feat, fix, chore, not Feat, Fix, Chore).

Examples

Basic commits

feat(extensions): add new ACP agent extension

- Added aion-extension.json manifest and install script
- Registered extension in build pipeline
fix(kits): resolve server startup crash on missing config

- Added fallback for undefined port in dev server
- Improved error message when config file is absent
refactor(build): use content-based SHA-256 for deterministic integrity

- Replaced timestamp-based hashing with file content hashing
- Ensures reproducible builds across environments
chore(extensions): promote claude, codex, goose from pending to extensions

- Moved directories from pending/ to extensions/
- Updated build script to include new entries

No scope (cross-cutting changes)

chore: add .gitignore and remove dist from tracking

- Created .gitignore with standard Node/dist patterns
- Removed previously tracked dist artifacts

Breaking change

refactor!(extensions): redesign manifest schema from v1 to v2

- Replaced flat fields with nested contributes block
- Updated all existing manifests to new format

BREAKING CHANGE: aion-extension.json schema v1 is no longer supported.

Rules

  • Type: Always lowercase (feat, fix, chore, etc.), no period at end
  • Title: Lowercase after colon, max 50 characters total
  • Breaking changes: Use "!" after type/scope AND include "BREAKING CHANGE:" section
  • Scope: Optional, lowercase, aligned with project directory/module name
  • Body: Use bullet points, explain WHY not just WHAT
  • Be specific: Avoid vague titles like "update" or "fix stuff"

Allowed Types

TypeDescription
featNew feature or extension
fixBug fix
choreMaintenance (deps, config, file moves)
perfPerformance improvements
refactorCode restructure (no behavior change)
docsDocumentation changes
testAdding or refactoring tests
styleCode formatting (no logic change)
buildChanges to the build system or scripts
ciChanges to CI/CD workflows

Common Scopes

ScopeWhen to use
extensionsChanges under extensions/ (manifests, installs)
kitsChanges under kits/ (server, fake agent, toolkits)
buildBuild scripts under .github/scripts/
ciCI workflows under .github/workflows/
docsDocumentation under docs/

Omit scope for cross-cutting changes that span multiple areas.

Workflow

  1. Review changes in parallel:

    • Run git status (never use -uall flag)
    • Run git diff --cached (staged changes)
    • Run git diff (unstaged changes)
    • Run git log -5 --oneline to confirm current commit style
  2. Draft commit message:

    • Summarize the nature of changes (new feature, bug fix, etc.)
    • Ensure message accurately reflects changes and purpose
    • Use lowercase type matching the project convention
    • Pick the most fitting scope from the table above
    • Focus on WHY rather than WHAT
    • Never commit files that likely contain secrets (.env, credentials.json, etc.)
  3. Commit:

    • Create commit with proper message format
    • Always use HEREDOC for commit messages:
    bash
    git commit -m "$(cat <<'EOF'
    feat(extensions): descriptive title
    
    - Bullet point summary
    - Another change detail
    
    EOF
    )"
    • Verify with git status after commit
  4. If pre-commit hook fails:

    • Fix the issue
    • Create a NEW commit (do not use --amend)
    • Never skip hooks unless explicitly requested

Important Notes

  • Never push unless user explicitly requests it
  • Never stage files without asking - Must ask the user for confirmation before running any git add command
  • Never use interactive flags (-i) as they require user input
  • No empty commits - If nothing is staged, inform the user instead
  • Always use HEREDOC for commit messages to ensure proper formatting
  • Never add Co-Authored-By - Do not append any Co-Authored-By trailer for any agent
  • One commit per concern - If staged changes span multiple unrelated concerns, split into separate commits. Each commit should have a single, clear purpose

よくある質問

AIスキル「Commit」では何ができますか?

Generate commit messages following project conventions and commit staged changes. Use when the user explicitly asks to commit, create a commit, or run /commit.

TypingMindでCommitを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Commitはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCommitをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/iOfficeAI/AionHub/tree/main/.claude/skills/commitを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Commitを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Commitは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCommitを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Commit」は無料ですか?

はい。iOfficeAIがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇