Claude Code Skills Claude Code スキル集

A collection of custom skills for Claude Code. Each skill adds focused behaviors — bilingual commits, pre-commit validation, changelog generation, and more.

Claude Code 用カスタムスキルのコレクションです。英日バイリンガルコミット、コミット前検証、更新履歴生成など、特定の動作を追加します。

cp -r <skill-dir> ~/.claude/skills/
Git & Version Control Git・バージョン管理 4

Atomic commits with bilingual EN/JA messages. Confirms staged file list and excludes AI attribution.

英日バイリンガルのアトミックコミット。ステージ済みファイルを確認、AI帰属を除外。

cp -r commit ~/.claude/skills/

Bilingual EN/JA changelog from git history. Groups commits by type (feat/fix/refactor/docs).

git履歴から英日バイリンガルの更新履歴を生成。feat/fix/refactor/docsのタイプ別に分類。

cp -r changelog ~/.claude/skills/

Pre-commit validator. Blocks secrets, AI attribution, oversized files, and policy violations.

コミット前バリデーター。シークレット・AI帰属・大容量ファイル・ポリシー違反をブロック。

cp -r safe-commit ~/.claude/skills/

Safe stale branch and worktree cleanup. Confirms each deletion — never deletes silently.

ステールブランチとワークツリーの安全な削除。削除は必ず1件ずつ確認。

cp -r branch-cleanup ~/.claude/skills/
Planning & Execution プランニング・実行 5

Spec-driven development: produces requirements.md, design.md, and tasks.md before any code. User approval at each of the three phases.

仕様駆動開発:コード前にrequirements.md・design.md・tasks.mdを作成。3フェーズごとに承認を取って進める。

cp -r sdd ~/.claude/skills/

Generates a rich self-contained spec.md covering user stories, architecture, API contracts, and data models. Improves itself from your feedback.

ユーザーストーリー・アーキテクチャ・API・データモデルを網羅した自己完結型のspec.mdを生成。フィードバックでスキル自体が改善される。

cp -r create-spec ~/.claude/skills/

Outputs a numbered plan and waits for approval before modifying files or running destructive commands.

ファイル変更・破壊的コマンドの前に番号付き計画を提示して承認を待つ。

cp -r plan-before-action ~/.claude/skills/

Estimates execution time, token usage, and parallelism before heavy operations.

重い操作の前に実行時間・トークン使用量・並列数を見積もる。

cp -r time-estimate ~/.claude/skills/

Detects test runner, estimates time, offers filter and background options before running.

テストランナーを検出し実行前に時間見積もりとフィルタ・バックグラウンド実行を提案。

cp -r run-tests ~/.claude/skills/
🧪 Testing & Refactoring テスト・リファクタリング 3

Generates test cases covering happy path, edge cases, and error cases for existing functions.

既存関数の正常系・エッジケース・エラーケースのテストを生成。

cp -r test-gen ~/.claude/skills/

Adds mocks at correct boundaries without over-mocking. Distinguishes when to mock vs use real values.

適切な境界にモックを追加。モックすべき箇所と実値を使うべき箇所を判断。

cp -r mock-design ~/.claude/skills/

Refactors with green test baseline. Runs tests after each step and reverts immediately on failure.

テスト安全網でリファクタリング。各ステップ後にテスト実行、失敗したら即リバート。

cp -r refactor-safe ~/.claude/skills/
🔍 Code Quality & Security コード品質・セキュリティ 5

Detects unused exports, imports, and functions. Confirms each removal individually.

未使用のエクスポート・インポート・関数を検出し削除前に確認。

cp -r dead-code ~/.claude/skills/

Audits dependencies for vulnerabilities, outdated versions, and unused packages.

脆弱性・古いバージョン・未使用パッケージを依存関係から検出。

cp -r dep-audit ~/.claude/skills/

Scans files and staged changes for leaked secrets like API keys and tokens.

APIキーやトークンなどの漏洩したシークレットをスキャン。

cp -r secret-scan ~/.claude/skills/

Collects TODO/FIXME/HACK comments into a single report grouped by severity.

TODO・FIXME・HACKコメントを深刻度別にまとめたレポートに集約。

cp -r todo-aggregate ~/.claude/skills/

Systematically analyzes stack traces to extract root cause.

スタックトレースを体系的に分析して根本原因を特定。

cp -r error-trace ~/.claude/skills/
🗄 Database & Performance データベース・パフォーマンス 2

Analyzes EXPLAIN output and proposes specific query optimizations.

EXPLAINの出力を解析し具体的なクエリ最適化を提案。

cp -r sql-explain ~/.claude/skills/

Designs MongoDB schemas from access patterns using Computed, Extended Reference, Subset, and Bucket patterns.

アクセスパターン駆動でMongoDBスキーマを設計(Computed・Extended Reference・Subset・Bucketパターン)。

cp -r mongo-pattern ~/.claude/skills/
⚙️ Language Specific 言語固有 2

Fixes mypy/pyright type errors at root cause, preferring narrow types over Any.

mypy/pyrightの型エラーをroot causeで修正。Anyより狭い型を優先。

cp -r mypy-fix ~/.claude/skills/

Reviews React state design for derived state, mutation bugs, and missing keys.

Reactの状態設計を派生状態・mutationバグ・keyの欠如でレビュー。

cp -r react-state-review ~/.claude/skills/
💾 Session Management セッション管理 1

Snapshots complete session state — actual code, verbatim errors, executable next steps — then clears context. Resumes instantly on the next session without re-explanation.

実際のコード・エラー全文・実行可能な次のアクションをスナップショット保存してコンテキストをクリア。次のセッションで再説明なしに即座に再開。

cp -r context-snapshot-clear ~/.claude/skills/