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/
📄 Documents & Visualization ドキュメント・可視化 4

One-page Japanese HTML reports with mandatory 5-family diagram triage. Four renderer families bundled; machine checker loops to exit 0; PDF-safe by construction.

図トリアージ必須の1枚もの日本語レポート。4種のレンダラー同梱、機械チェッカーを exit 0 まで回す PDF-safe 設計。

cp -r visual-report ~/.claude/skills/

Knowledge-graph figures in three tiers — full corpus analysis, bundled stdlib renderer with label-collision fail-fast, or hand-authored SVG.

知識グラフ図を3ティアで生成 — フル解析/ラベル衝突 fail-fast 付き同梱レンダラー/手書きSVGガイド。

cp -r graph-figure ~/.claude/skills/

Japanese HTML linter: CJK whitespace gaps (auto-fixable), unsafe CSS, and translation-ese phrasing, with a regression fixture suite.

日本語HTMLリンター。CJK空白ギャップ(自動修正可)・危険CSS・翻訳調を検出し、fixtures で回帰を防ぎながら育てる。

cp -r ja-lint ~/.claude/skills/

Local HTML to one continuous-page vector PDF via headless Chrome — solves the printToPDF traps (stream transfer, print-media height, webfont settling).

ローカルHTMLを1枚もの縦長ベクターPDFへ。printToPDF の定番の罠(ストリーム転送・printメディア高さ・webfont待ち)を解決済み。

cp -r html-single-page-pdf ~/.claude/skills/
💾 Session Management セッション管理 1

Snapshot, clear, and hook-driven auto-restore. Git state goes to a sidecar file for fast snapshots; a cwd-keyed path with hierarchy fallback survives /clear.

スナップショット保存・クリア・フック自動復元のセット。git状態はサイドカーへ退避して高速化、cwdキー+階層フォールバックで /clear を生き延びる。

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