Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/j5ik2o/event-store-adapter-js/git-commitnpx skills add j5ik2o/event-store-adapter-js --skill git-commitgit clone --depth 1 https://github.com/j5ik2o/event-store-adapter-jsWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00149 | $0.00926 |
| Opus 5 | $0.00075 | $0.00463 |
| Sonnet 5 | $0.00030 | $0.00185 |
| Haiku 4.5 | $0.00015 | $0.00093 |
Grade A, and why
git-commit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Git Commit
意味のある変更単位ごとにコミットを行うことで、コードの履歴を明確にし、将来の変更追跡を容易にする。
手順
1. 直近のコミット履歴を確認する
プロジェクトのコミットスタイルを把握するため、直近の履歴を確認する。
git log --oneline -10
2. 変更内容を確認する
ワーキングディレクトリの状態を確認する。-uallフラグは大規模リポジトリでメモリ問題を起こす可能性があるため使わないこと。
git status
git diff
git diff --staged
3. 意味のある単位でステージングする
変更を意味のある単位ごとにステージングする。git add -A や git add . で無条件に全ファイルを追加してはならない。対象ファイルを個別に指定すること。
git add <対象ファイルやディレクトリ>
以下のファイルはコミットに含めないこと:
.envやクレデンシャル情報を含むファイル- ユーザーが明示的に除外を指示したファイル
一つのコミットに含める変更が論理的に独立した複数の変更を含む場合は、複数のコミットに分割することを検討する。
4. コミットメッセージを作成してコミットする
Conventional Commitsの形式に従い、英語でコミットメッセージを作成する。
git commit -m "$(cat <<'EOF'
<type>(<scope>): <description>
<body(必要な場合)>
EOF
)"
コミットメッセージのルール:
- Conventional Commits形式:
type(scope): description- type:
feat,fix,docs,style,refactor,test,chore,ci,perf,buildなど - scope: 変更の影響範囲(省略可)
- description: 変更内容の簡潔な説明
- type:
- 英語で記述する
- co-authorやエージェント名("Claude Code"など)をコミットメッセージに含めない
- 変更の「何を」ではなく「なぜ」を重視する
- descriptionは命令形(imperative mood)で書く(例: "add" not "added")
5. コミットを確認する
コミットが正しく行われたかを確認する。
git log --oneline -5
注意事項
- pre-commitフックが失敗した場合、コミットは作成されていない。問題を修正して新しいコミットを作成すること(
--amendは使わない) --no-verifyでフックをスキップしない。フックが失敗したら原因を調査して修正する- pushはこのスキルの範囲外。ユーザーから明示的に指示がない限りpushしない
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 87 lines · 149 tokens per session scan A bf79d1220f68
git-commit is a skill published in the GitHub repository j5ik2o/event-store-adapter-js (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 149 tokens to every session and 926 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.
Other skills, from other repositories
spec
Spec-driven development orchestrator. The single entry point for all spec work: creating features, fixing bugs, evolving APIs. Drives the full 6-step pipeline (spec → RED tests → implement → GREEN tests → validate → update docs) autonomously, only pausing for developer approval at gate points. Use when asked to 'add a…
update-docs
Internal procedure for Step 6. Use /spec instead — it orchestrates the full pipeline. This skill contains detailed instructions for updating documentation pages after a spec is implemented or updated.
audit-spec
Internal procedure for the Auditor agent. Use /spec instead — it orchestrates the full pipeline. Runs Steps 5-6 (validate + update docs) with an independent context and an added coherence review. Produces an Audit Report.
validate-spec
Internal procedure for Step 5. Use /spec instead — it orchestrates the full 6-step pipeline. This skill contains detailed instructions for validating implementation against spec.
build-spec
Internal procedure for the Builder agent. Use /spec instead — it orchestrates the full pipeline. Combines Steps 2-4 (generate RED tests, implement code, run GREEN tests) into a single agent invocation. Produces a Build Report for the Auditor.
generate-tests
Internal procedure for Step 2. Use /spec instead — it orchestrates the full pipeline. This skill contains detailed instructions for generating vitest tests from a spec's Test Scenarios section.