Agent skill

Commit

by ayutaz in ayutaz/piper-plus

piper-plus のコミットルール (CLAUDE.md 準拠) でステージ済みファイルをコミットします。--no-verify 禁止、HEREDOC、適切な prefix を強制。

MITAuto-check: notesAgent Workflows

Install Commit

skills CLI
$ npx skills add ayutaz/piper-plus --skill commit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ayutaz/piper-plus commit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ayutaz/piper-plus.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/commit .claude/skills/commit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit
GitHub stars
220
Token cost
~839 tokens
SKILL.md length
249 words
Files
1
Skills in repo
20
Repo updated
First seen
Licence
MIT

At a glance

piper-plus のコミットルール (CLAUDE.md 準拠) でステージ済みファイルをコミットします。--no-verify 禁止、HEREDOC、適切な prefix を強制。

  • Works in 8 steps: ブランチ確認 → 変更内容の把握 → ファイルのステージング → …
  • Tasks that involve Agent instruction files
  • SKILL.md covers 現在の状態, 手順 and 注意
  • Calls git

What it does

Commit is an agent skill from ayutaz/piper-plus. piper-plus のコミットルール (CLAUDE.md 準拠) でステージ済みファイルをコミットします。--no-verify 禁止、HEREDOC、適切な prefix を強制。

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent instruction files. It works with Git and Python. The repository describes itself as: Multilingual neural TTS (6 languages: JA/EN/ZH/ES/FR/PT, code supports SV) — C++, C, Rust, Go, Python, npm (WASM). VITS + Prosody, streaming, CUDA/CoreML/DirectML. pip install…. The licence is MIT.

When your agent uses it

  • Tasks that involve Agent instruction files

Example prompts

  • “/commit”

Requirements

  • Pre-approved tools (allowed-tools): Bash(git status *), Bash(git diff *), Bash(git log *), Bash(git add *), Bash(git commit *), Bash(git rev-parse *)

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. ブランチ確認
  2. 変更内容の把握
  3. ファイルのステージング
  4. コミットメッセージ生成
  5. コミット実行
  6. 禁止事項 (CLAUDE.md より)
  7. pre-commit hook 失敗時
  8. 成功後の報告

What it can do on your machine

Read from SKILL.md and the folder at commit 9c6946e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(git status *)
    • Bash(git diff *)
    • Bash(git log *)
    • Bash(git add *)
    • Bash(git commit *)
    • Bash(git rev-parse *)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit loads about 839 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 249 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~839

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:32
    - `.env`, `.env.*`, `credentials*`, `*.pem`, `*.key` 等の秘密情報が含まれていないか **必ず** チェック

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ayutaz/piper-plus at commit 9c6946e, republished under its MIT licence (© ayutaz). 249 words, ~839 tokens.

Download SKILL.mdSave it as .claude/skills/commit/SKILL.md (or your agent's skills folder).
name
commit
description
piper-plus のコミットルール (CLAUDE.md 準拠) でステージ済みファイルをコミットします。--no-verify 禁止、HEREDOC、適切な prefix を強制。
allowed-tools
Bash(git status *), Bash(git diff *), Bash(git log *), Bash(git add *), Bash(git commit *), Bash(git rev-parse *)
argument-hint
[optional commit message]
disable-model-invocation
true

piper-plus 向けコミット

CLAUDE.md のコミット規約に従い、ステージ済みまたは指定ファイルを安全にコミットします。

現在の状態

  • ブランチ: !git rev-parse --abbrev-ref HEAD
  • 直近のコミット: !git log -3 --oneline
  • ステージ状態: !git status --short
  • 差分サマリ: !git diff --stat HEAD

手順

💡 大規模変更の場合: /sync-docs を先に呼び出してドキュメント整合性を確認することを推奨します。このスキルはステップ 2.5 でその判定を行います。

1. ブランチ確認

現在のブランチを確認し、dev の場合はユーザーに確認を取る (CLAUDE.md: 通常はフィーチャーブランチで作業)。

2. 変更内容の把握
  • git status --short で変更ファイルを確認
  • git diff で内容を簡単にレビュー
  • .env, .env.*, credentials*, *.pem, *.key 等の秘密情報が含まれていないか 必ず チェック
  • 含まれていたら 即中止 してユーザーに報告
2.5. ドキュメント同期チェック

コード変更のサイズと種類に応じて、ドキュメント更新が必要か判定します。

判定基準

以下のいずれかに該当する場合、/sync-docs skill を呼び出すことを強く推奨:

  • git diff --stat の変更行数が 100 行以上
  • src/python_run/piper_plus/ / src/python/g2p/ / src/rust/piper-core/ / src/cpp/ / src/csharp/ / src/go/ / src/wasm/openjtalk-web/src/ に新規ファイルが追加されている
  • 公開 API (関数シグネチャ、クラス、メソッド、HTTP エンドポイント) に変更がある
  • piper_train / timing / voice / phonemize / config などのコアモジュールが変更されている
  • 新規テストファイル (tests/test_*.py, test/js/test-*.js, etc.) が 3 つ以上追加されている
アクション
  1. 大規模/コア変更 → ユーザーに /sync-docs の実行を促す:

    このコミットには X 件のコア変更が含まれます。/sync-docs でドキュメント整合性を監査してからコミットしますか?

  2. 小規模変更 (< 100 行、ドキュメントのみ、テストのみ、バグ修正) → スキップ可

  3. ユーザーが「スキップ」を選択 → 警告のみ表示して続行

このステップは informational です。ユーザーが明示的にスキップを選べば、コミット自体はブロックしません。

3. ファイルのステージング
  • ユーザーが既にステージしている場合はそのまま使用
  • 必要なら関連ファイルだけを git add <file1> <file2> で個別追加
  • git add -A / git add . は禁止 (誤って秘密情報をステージするリスク)
4. コミットメッセージ生成

$ARGUMENTS がある場合はそれを優先。なければ変更内容から自動生成:

Prefix 規約
Prefix用途
feat(<scope>):新機能 (scope = python/rust/cpp/cs/go/wasm/ci/docs)
fix(<scope>):バグ修正
refactor(<scope>):リファクタ (機能変更なし)
docs:ドキュメントのみ
test:テスト追加・修正
chore(<scope>):ビルド/依存/雑務
perf(<scope>):パフォーマンス改善
メッセージ本文の規約
  • 1-2 文、why を強調
  • 日本語可
  • 命令形ではなく事実の記述 ("Add X" ではなく "X を追加")
  • 詳細は本文に bullet で記述 (短いタイトルだけでなく)
5. コミット実行

必須形式: HEREDOC

bash
git commit -m "$(cat <<'EOF'
<prefix>(<scope>): <summary>

- <detail 1>
- <detail 2>
EOF
)"
6. 禁止事項 (CLAUDE.md より)
  • ❌ --no-verify (pre-commit hook を skip しない)
  • ❌ --no-gpg-sign (署名を skip しない)
  • ❌ --amend は明示要求がない限り使用しない (新コミットを作る)
  • ❌ 既存の published コミットの修正
  • ❌ git config の変更
  • ❌ pre-commit hook が失敗したら、原因を修正して 新しいコミット を作る (amend ではなく)
7. pre-commit hook 失敗時

pre-commit hook (例: ruff format hook) が失敗したら:

  1. エラー内容を確認
  2. 原因を修正 (ruff format/check --fix を手動実行など)
  3. 修正したファイルを git add で再ステージ
  4. 新しいコミット を作成 (amend ではない)
  5. ユーザーに「hook が失敗したので修正後に再コミットした」と報告
8. 成功後の報告
text
✅ コミット成功
- ハッシュ: abc1234
- メッセージ: feat(python): ...
- ファイル: 5 changed (+120 -30)
- ドキュメント同期: ✅ (完了) / ⚠️ (未実行・推奨) / - (小規模のためスキップ)

push する場合:
  git push origin <branch-name>

PR 作成する場合:
  /check-pr-ready で最終チェック

注意

  • push は実行しない (明示要求があるまで)
  • PR は作成しない
  • 1 コミットで複数の論理的に異なる変更を混ぜない
  • 大きな変更は複数の小さなコミットに分割することを提案

© ayutaz, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/commit of ayutaz/piper-plus.

Open the folder on GitHubat commit 9c6946e

Compare with similar skills

Commit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit this skillayutaz/piper-plus220—~839Automated safety check: NotesMIT
Dr Drive HarnessAHepi/DeepReason141—~3.4kAutomated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Harness Evolution Feedback Looprevfactory/harness9.1k—~855Automated safety check: PassApache-2.0
Mspm0 Ccsmc3545dada/mspm0-skill374—~4.5kAutomated safety check: PassMIT
Generate AI Rulesdivar-ir/ai-doc-gen766—~1.2kAutomated safety check: PassMIT

Similar skills

  • Dr Drive Harness

    AHepi/DeepReason

    The driving manual for DeepReason - how to run the harness properly (session preflight, the public CLI lifecycle, live-run ladders) and where to look before modifying anything or when diagnosing a…

    141 GitHub stars~3.4k tokensUpdated 28 days ago
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 7 days ago
    Agent WorkflowsAuto-check passed
  • Collects feedback on how an agent harness performed, generalizes it, and updates the harness agents, skills and orchestrator along with a change-history table.

    9.1k GitHub stars~855 tokensUpdated 10 days ago
    Agent WorkflowsAuto-check passed
  • Mspm0 Ccs

    mc3545dada/mspm0-skill

    Tool-neutral CLI agent rules for TI MSPM0 development with Code Composer Studio, Keil/uVision, CMake/GCC/OpenOCD, SysConfig, and DriverLib.

    374 GitHub stars~4.5k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Generate AI Rules

    divar-ir/ai-doc-gen

    Generate AI assistant configuration files for a repository — CLAUDE.md, AGENTS.md, and Cursor rules (.cursor/rules/.mdc) — from codebase analysis.

    766 GitHub stars~1.2k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Claude Statusbar

    leeguooooo/claude-code-usage-bar

    Manage cs (claude-statusbar) — switch theme/style/density, override severity colors, preview combinations, run doctor, reset config, install, upgrade (cs upgrade — the only supported upgrade path)…

    377 GitHub stars~2.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from ayutaz/piper-plus

All 20 skills in this repo
  • Skill Health

    ayutaz/piper-plus

    .claude/skills//SKILL.md の frontmatter / referenced script 実在 / trigger 衝突 / .claude/hooks/.sh の executable+shebang を検査する meta-skill。

    220 GitHub stars~626 tokensUpdated today
    Auto-check passed
  • Bump Deps

    ayutaz/piper-plus

    ORT / openjtalk / ruff のような cross-runtime に canonical sync が必要な依存関係を 1 コマンドで bump する read-mostly skill。

    220 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Check Cross Runtime

    ayutaz/piper-plus

    Python canonical (src/pythonrun/piperplus/, src/python/pipertrain/, src/python/g2p/piperplusg2p/) を変更した PR で、 ONNX I/O 以外の追随漏れ (phonemizer / config schema / CLI flag / data 形式 / API 変更) を 7 ランタイム +…

    220 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Check Loanword

    ayutaz/piper-plus

    ZH-EN code-switching loanword の同期と forward-compat を 1 コマンドで検査。zhenloanword.json を編集したり 5 ランタイムのいずれかに新規エントリを追加する前後に呼ぶ。Python source を canonical とし、Rust×2 / Go / C / WASM / C++ の 6 mirror + Python…

    220 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Check New Runtime Asset

    ayutaz/piper-plus

    新規データアセット (JSON/TOML) を追加した PR で「7 箇所の package metadata 更新が全て揃っているか」を 1 コマンドで確認。MANIFEST.in / pyproject package-data / Cargo features / npm files / C Content / Android assets / SPM resources の更新漏れを…

    220 GitHub stars~964 tokensUpdated today
    Auto-check passed
  • Check PR Ready

    ayutaz/piper-plus

    PR 作成前の最終チェックリスト (lint/test/docs/CHANGELOG/未コミット確認)。/precheck の拡張版で、ドキュメント整合性も検証します。

    220 GitHub stars~687 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Commit

What does Commit do?

piper-plus のコミットルール (CLAUDE.md 準拠) でステージ済みファイルをコミットします。--no-verify 禁止、HEREDOC、適切な prefix を強制。. Commit is an agent skill from ayutaz/piper-plus.

When should I use Commit?

Commit fits situations like: tasks that involve Agent instruction files.

How do I install Commit in Claude Code?

Run `npx skills add ayutaz/piper-plus --skill commit -a claude-code`. Or copy the skill folder (.claude/skills/commit in ayutaz/piper-plus) into .claude/skills/commit in your project. Claude Code loads it when a task matches its description.

How do I install Commit in Codex?

Run `npx skills add ayutaz/piper-plus --skill commit -a codex`. Or copy the skill folder (.claude/skills/commit in ayutaz/piper-plus) into .agents/skills/commit in your project. Codex loads it when a task matches its description.

Can I use Commit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ayutaz/piper-plus --skill commit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit, .gemini/skills/commit, .github/skills/commit and .opencode/skills/commit in your project.

What does Commit need to run?

Going by SKILL.md and its folder, Commit needs the command-line tools its instructions call (git). Its frontmatter pre-approves these tools: Bash(git status *), Bash(git diff *), Bash(git log *), Bash(git add *), Bash(git commit *), Bash(git rev-parse *).

Does Commit access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Commit use?

Commit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commit use?

About 839 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit?

Skills that share tags, products or a category with Commit: Dr Drive Harness (AHepi/DeepReason, 141 stars), Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars), Harness Evolution Feedback Loop (revfactory/harness, 9.1k stars) and Mspm0 Ccs (mc3545dada/mspm0-skill, 374 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit?

ayutaz (a GitHub user) maintains it in ayutaz/piper-plus, which has 220 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on October 8, 2026.

Source: ayutaz/piper-plus on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.