Kvmzen ブログ
← 技術の実践に戻る

2026年版 Claude Code Skills テンプレート大全(100+ 無料サンプル)

AIDevelopment ·約 33 分

2026年版 Claude Code Skills テンプレート大全(100+ 無料サンプル)- Kvmzen

2026 年、AI コーディングアシスタントは「チャット補完」から編成可能な Agent ワークフローへ進化しました。Claude Code Skills(Anthropic のターミナル Agent)と Cursor Agent Skills(IDE 内蔵 Agent)は同じ SKILL.md 仕様を共有——Markdown ファイルで AI に「特定のシナリオでどう動くか」を教えます。

毎回の会話で「チームの PR レビュー基準でコードを確認して」と貼り付けているなら、その指示を Skill に書き込んで一度設定すれば済みます。本記事では 120 以上のすぐ使える Skill 名とトリガーシナリオ、さらに 8 つのコピペ可能なテンプレートを提供し、コードレビューから DevOps まで開発パイプライン全体をカバーします。

120+
カテゴリ別 Skill 例
8
コピペ可能な SKILL.md 骨格
12
コードレビュー · テスト · DevOps · セキュリティ…

Skills とは?Rules / MCP との役割分担は?

仕組み 保存場所 トリガー 適したシーン
Rules .cursor/rules/ またはプロジェクトルートの AGENTS.md 常にコンテキスト内 コーディングスタイル、命名規則、禁止事項
Skills ~/.cursor/skills/ または .cursor/skills/ Agent が description を意味マッチして読み込み 多段階ワークフロー、ドメイン知識
MCP 外部サービス接続 Agent がツール API を呼び出し DB クエリ、ブラウザ、CI システム

一言で言うと:Rules が基準を定め、Skills が方法を教え、MCP がツールを接続します。

Claude Code の Skills は通常 ~/.claude/skills/(個人)またはプロジェクト内 .claude/skills/。Cursor は ~/.cursor/skills/.cursor/skills/。フォーマットは互換性があり、本記事のテンプレートはそのまま使えます。

2026 年の重要な変化
Cursor は 2026 年初頭に Agent Skills を実験機能から正式機能に昇格し、プロジェクトレベルと個人レベルの Skills の併用をサポート。Claude Code も同じ YAML frontmatter 仕様を採用。両ツールで同じ Skill リポジトリを共有できます。

SKILL.md 標準構造

各 Skill はディレクトリで、コアファイルは SKILL.md

my-skill/
├── SKILL.md          # Required: main instructions + YAML frontmatter
├── reference.md      # Optional: detailed reference
├── examples.md       # Optional: input/output examples
└── scripts/          # Optional: executable scripts
    └── validate.sh

最小テンプレート

---
name: my-skill-name
description: 三人称で WHAT と WHEN を明確に記述。Agent の発見用にキーワードを含める。
---

# My Skill Name

## 手順
1. 最初の具体的な操作
2. 次の具体的な操作

## 出力形式
期待される出力構造を記述。

frontmatter 必須フィールド

フィールド 要件 説明
name ≤64 文字、小文字/数字/ハイフン 一意の識別子
description ≤1024 文字、三人称 Agent がこの Skill を読み込むか判断する

ベストプラクティス(2026)

  1. 簡潔に:Agent は十分賢いので、知らない情報だけ書く
  2. description が鍵:WHAT + WHEN とトリガーキーワードを明記
  3. メインファイル ≤500 行:詳細は reference.md に分割
  4. 実行可能な手順:番号付きリストで、曖昧な表現は避ける
  5. ~/.cursor/skills-cursor/ に作成しない:Cursor 組み込み Skill 用の予約ディレクトリ

120+ Skill クイックリファレンス

12 カテゴリに分けた 120 のすぐ使える Skill 名、トリガーシナリオ、推奨 description キーワードを掲載。名前をコピーしてディレクトリを作成し、カスタマイズしてください。

1. コードレビューと品質(10)

#Skill 名トリガーシナリオdescription キーワード
1code-reviewPR / diff レビューpull request, code review, diff
2security-reviewセキュリティ脆弱性スキャンsecurity, vulnerability, OWASP
3performance-reviewパフォーマンスホットスポット分析performance, bottleneck, profiling
4refactor-suggestリファクタリング提案refactor, clean code, smell
5api-design-reviewAPI 設計レビューREST, API design, endpoint
6typescript-strictTS 型安全性レビューTypeScript, type safety, strict
7react-patternsReact コンポーネントレビューReact, hooks, component
8go-idiomsGo イディオムチェックGo, idioms, error handling
9python-pep8Python スタイルレビューPython, PEP8, lint
10accessibility-audita11y アクセシビリティ監査accessibility, WCAG, a11y

2. Git とバージョン管理(10)

#Skill 名トリガーシナリオdescription キーワード
11commit-message規約的な commit 生成commit message, conventional commits
12changelog-writerCHANGELOG 作成changelog, release notes
13branch-namingブランチ命名提案branch, git flow
14merge-conflictマージコンフリクト解決merge conflict, rebase
15git-blame-analysisコード変更履歴の追跡git blame, history
16pr-descriptionPR 説明文作成pull request description
17squash-commitsコミット履歴の整理squash, interactive rebase
18git-hooks-setuppre-commit 設定git hooks, pre-commit, husky
19monorepo-workflowMonorepo ブランチ戦略monorepo, turborepo, nx
20release-taggingセマンティックバージョン taggingsemver, release, tagging

3. テスト(10)

#Skill 名トリガーシナリオdescription キーワード
21unit-test-writerユニットテスト生成unit test, jest, pytest
22integration-test統合テストの骨格integration test, e2e setup
23test-coverageカバレッジ分析と補完coverage, untested paths
24mock-factoryモックデータ生成mock, fixture, factory
25snapshot-testスナップショットテスト保守snapshot, visual regression
26playwright-e2ePlaywright E2E スクリプトPlaywright, browser test
27api-contract-testAPI 契約テストcontract test, OpenAPI
28load-test-k6k6 負荷テストスクリプトload test, k6, performance
29mutation-testミューテーションテスト分析mutation testing, stryker
30test-flaky-debug不安定テストのデバッグflaky test, intermittent failure

4. DevOps と CI/CD(10)

#Skill 名トリガーシナリオdescription キーワード
31dockerfile-optimizeDockerfile 最適化Dockerfile, multi-stage, image size
32github-actionsGitHub Actions workflow 作成GitHub Actions, CI pipeline
33gitlab-ciGitLab CI 設定GitLab CI, .gitlab-ci.yml
34kubernetes-manifestK8s YAML 生成Kubernetes, deployment, helm
35terraform-moduleTerraform モジュール作成Terraform, IaC, HCL
36ansible-playbookAnsible playbookAnsible, provisioning
37nginx-configNginx リバースプロキシ設定nginx, reverse proxy, SSL
38monitoring-setupPrometheus/Grafana 設定monitoring, Prometheus, alerting
39log-analysisログパターン分析logs, ELK, structured logging
40rollback-runbookロールバック手順書rollback, incident, runbook

5. セキュリティ(10)

#Skill 名トリガーシナリオdescription キーワード
41owasp-top10OWASP Top 10 チェックOWASP, injection, XSS
42secrets-scanシークレット漏洩スキャンsecrets, API key, credential
43dependency-audit依存関係脆弱性監査npm audit, CVE, Snyk
44auth-review認証・認可レビューOAuth, JWT, RBAC
45sql-injectionSQL インジェクション検出SQL injection, parameterized query
46cors-csp-configCORS/CSP ヘッダー設定CORS, CSP, security headers
47pen-test-reportペネトレーションテストレポートpenetration test, finding
48gdpr-complianceGDPR コンプライアンスチェックGDPR, privacy, PII
49ssl-tls-configTLS 設定レビューTLS, certificate, HTTPS
50sbom-generatorSBOM 生成SBOM, supply chain

6. ドキュメントと技術ライティング(10)

#Skill 名トリガーシナリオdescription キーワード
51readme-writerREADME 生成README, project documentation
52api-docs-openapiOpenAPI ドキュメント生成OpenAPI, Swagger, API docs
53adr-writerアーキテクチャ決定記録ADR, architecture decision
54inline-commentsコードコメント追加code comments, docstring
55migration-guideバージョン移行ガイドmigration, upgrade guide
56onboarding-docオンボーディングドキュメントonboarding, getting started
57runbook-writer運用手順書作成runbook, SOP, operations
58tech-blog-post技術ブログ執筆blog post, technical writing
59mermaid-diagramMermaid アーキテクチャ図Mermaid, diagram, flowchart
60javadoc-jsdocAPI コメント生成JSDoc, JavaDoc, Sphinx

7. データベース(10)

#Skill 名トリガーシナリオdescription キーワード
61sql-optimizeSQL クエリ最適化SQL, query plan, index
62migration-sqlDB マイグレーションスクリプトmigration, ALTER TABLE, Flyway
63schema-designテーブルスキーマ設計schema, normalization, ER diagram
64postgres-tuningPostgreSQL チューニングPostgreSQL, vacuum, EXPLAIN
65redis-patternsRedis 使用パターンRedis, cache, pub/sub
66mongodb-schemaMongoDB ドキュメント設計MongoDB, document model
67prisma-schemaPrisma schema 作成Prisma, ORM, schema.prisma
68data-seedシードデータ生成seed data, fixture, faker
69backup-restoreバックアップ・リストアスクリプトbackup, restore, pg_dump
70etl-pipelineETL パイプライン設計ETL, data pipeline, dbt

8. フロントエンド開発(10)

#Skill 名トリガーシナリオdescription キーワード
71react-componentReact コンポーネント足場React component, JSX
72vue-composableVue Composable 作成Vue 3, composable, Pinia
73tailwind-stylingTailwind CSS スタイリングTailwind, utility CSS
74css-responsiveレスポンシブレイアウトresponsive, mobile-first, media query
75state-management状態管理の選定Redux, Zustand, state
76nextjs-app-routerNext.js App RouterNext.js, RSC, app router
77i18n-setup国際化設定i18n, localization, react-intl
78storybook-storyStorybook ストーリー作成Storybook, component story
79bundle-optimizeバンドルサイズ最適化bundle size, tree shaking, code split
80form-validationフォームバリデーションロジックform, validation, zod, yup

9. バックエンドと API(10)

#Skill 名トリガーシナリオdescription キーワード
81rest-api-designRESTful API 設計REST, endpoint, HTTP methods
82graphql-schemaGraphQL schema 定義GraphQL, resolver, schema
83grpc-protobufgRPC / ProtobufgRPC, protobuf, service definition
84express-middlewareExpress ミドルウェアExpress, middleware, Node.js
85fastapi-endpointFastAPI ルートFastAPI, Python, Pydantic
86error-handling統一エラーハンドリングerror handling, exception, status code
87rate-limitingレート制限実装rate limit, throttle, token bucket
88webhook-handlerWebhook 受信処理webhook, event, signature verify
89background-jobバックグラウンドジョブキューqueue, Celery, BullMQ, Sidekiq
90microservice-splitマイクロサービス分割提案microservice, bounded context, DDD

10. AI / LLM 統合(10)

#Skill 名トリガーシナリオdescription キーワード
91prompt-engineeringPrompt 最適化prompt, LLM, few-shot
92rag-pipelineRAG パイプライン構築RAG, embedding, vector store
93agent-orchestrationマルチ Agent オーケストレーションagent, orchestration, tool use
94mcp-serverMCP Server 開発MCP, model context protocol
95llm-evalLLM 出力評価evaluation, benchmark, LLM judge
96token-optimizeToken 使用量最適化token, context window, cost
97fine-tune-guideファインチューニングガイドfine-tune, LoRA, training data
98embedding-searchセマンティック検索実装embedding, semantic search, FAISS
99guardrailsAI 出力ガードレールguardrails, content filter, safety
100function-callingFunction Calling 実装function calling, tool use, OpenAI

11. モバイルとクロスプラットフォーム(10)

#Skill 名トリガーシナリオdescription キーワード
101swiftui-viewSwiftUI ビュー作成SwiftUI, iOS, view
102kotlin-composeJetpack Compose UICompose, Android, Kotlin
103react-native-screenRN 画面開発React Native, mobile screen
104flutter-widgetFlutter WidgetFlutter, Dart, widget
105app-store-submitApp Store 提出フローApp Store, TestFlight, submission
106push-notificationプッシュ通知統合push notification, APNs, FCM
107deep-linkingDeep Link 設定deep link, universal link
108offline-firstオフラインファーストアーキテクチャoffline, sync, local storage
109app-perf-profileモバイルパフォーマンス分析Instruments, Android Profiler
110ci-mobile-buildモバイル CI ビルドFastlane, Xcode Cloud, mobile CI

12. プロジェクト管理とコラボレーション(10)

#Skill 名トリガーシナリオdescription キーワード
111sprint-planningスプリント計画支援sprint, planning, estimation
112ticket-breakdown要件の ticket 分解ticket, user story, breakdown
113retro-facilitator振り返り会議ファシリテーションretrospective, retro, team
114incident-postmortemインシデントポストモーテムpostmortem, incident, RCA
115tech-debt-audit技術的負債の棚卸しtech debt, prioritization
116rfc-reviewRFC 設計レビューRFC, design proposal, review
117estimation-pokerストーリーポイント見積もりestimation, story points, planning poker
118standup-summaryスタンドアップ要約生成standup, daily sync, summary
119okr-alignmentOKR アラインメントチェックOKR, goal alignment
120handoff-checklistプロジェクト引き継ぎチェックリストhandoff, knowledge transfer

8 つのコピペ可能な SKILL.md テンプレート

以下を .cursor/skills/<name>/SKILL.md または ~/.claude/skills/<name>/SKILL.md にコピーしてカスタマイズしてください。

テンプレート 1:コードレビュー

---
name: code-review
description: Review code changes for quality, security, and best practices. Use when reviewing pull requests, diffs, or when the user asks for a code review.
---

# Code Review

## Checklist
1. Read the full diff before commenting
2. Check for security issues (injection, XSS, secrets)
3. Verify error handling on all external calls
4. Confirm tests cover new logic
5. Flag breaking API changes

## Output Format
- **Critical**: must fix before merge
- **Suggestion**: optional improvement
- **Praise**: well-done patterns worth keeping

テンプレート 2:Commit Message

---
name: commit-message
description: Generate descriptive commit messages following Conventional Commits. Use when the user asks to write commit messages or review staged changes.
---

# Commit Message Generator

## Format
`<type>(<scope>): <subject>`

Types: feat, fix, docs, style, refactor, test, chore

## Rules
- Subject ≤ 72 characters, imperative mood
- Body explains WHY, not WHAT
- Reference issue numbers when applicable

テンプレート 3:ユニットテスト

---
name: unit-test-writer
description: Write unit tests for given code using the project's existing test framework. Use when the user asks to add tests, improve coverage, or test a function.
---

# Unit Test Writer

## Steps
1. Identify the project's test framework (Jest, pytest, Go test, etc.)
2. Read existing test files for patterns and conventions
3. Cover: happy path, edge cases, error paths
4. Use descriptive test names: `should_<expected>_when_<condition>`
5. Mock external dependencies, not the unit under test

テンプレート 4:Dockerfile 最適化

---
name: dockerfile-optimize
description: Optimize Dockerfiles for smaller image size, faster builds, and security. Use when working with Docker, containerization, or image optimization.
---

# Dockerfile Optimizer

## Checklist
- Use multi-stage builds
- Pin base image versions (no `latest`)
- Run as non-root user
- Combine RUN layers, clean package caches
- Use .dockerignore
- Scan for known CVEs in base image

テンプレート 5:セキュリティレビュー

---
name: security-review
description: Review code for security vulnerabilities following OWASP guidelines. Use when the user asks for security review, vulnerability scan, or before deploying to production.
---

# Security Review

## OWASP Top 10 Check
1. Injection (SQL, command, LDAP)
2. Broken authentication
3. Sensitive data exposure
4. XXE / deserialization
5. Broken access control
6. Security misconfiguration
7. XSS
8. Insecure deserialization
9. Known vulnerable components
10. Insufficient logging

## Output
Severity: Critical / High / Medium / Low / Info
Include: location, impact, remediation

テンプレート 6:API ドキュメント

---
name: api-docs-openapi
description: Generate or update OpenAPI/Swagger documentation from code. Use when documenting REST APIs, generating API specs, or working with OpenAPI files.
---

# API Documentation

## Steps
1. Scan route handlers for endpoints, methods, params
2. Generate OpenAPI 3.1 YAML with request/response schemas
3. Add examples for each endpoint
4. Document error responses (4xx, 5xx)
5. Include authentication requirements

テンプレート 7:データベースマイグレーション

---
name: migration-sql
description: Write database migration scripts with rollback support. Use when altering database schema, adding tables, or writing Flyway/Liquibase migrations.
---

# Database Migration

## Rules
- Every UP migration must have a DOWN (rollback)
- Never drop columns in production without deprecation period
- Add indexes CONCURRENTLY on PostgreSQL
- Test migration on a copy of production data
- Name: `V{version}__{description}.sql`

テンプレート 8:MCP Server 開発

---
name: mcp-server
description: Build MCP (Model Context Protocol) servers for tool integration. Use when creating MCP servers, connecting external tools to AI agents, or working with the MCP SDK.
---

# MCP Server Builder

## Structure
- Define tools with JSON Schema input/output
- Implement handlers with proper error responses
- Add authentication if connecting to external APIs
- Test with `npx @modelcontextprotocol/inspector`
- Document each tool's purpose and parameters

インストールと使い方

Cursor

  1. 作成:.cursor/skills/my-skill/SKILL.md(プロジェクト)または ~/.cursor/skills/my-skill/SKILL.md(個人)
  2. Agent チャットでシナリオに言及——Agent が description をマッチして Skill を読み込み
  3. 明示的に呼び出し:/my-skill-name またはプロンプトで @my-skill

Claude Code

  1. 作成:~/.claude/skills/my-skill/SKILL.md
  2. ターミナルでタスクを記述——Agent が自動マッチ
  3. プロジェクト Skill は .claude/skills/ に置き Git にコミット可能

チーム共有のベストプラクティス

  • .cursor/skills/ をバージョン管理に含める
  • README.md に利用可能な Skills とトリガーを一覧
  • 各 Skill に examples.md で期待入出力を追加
  • 新メンバー参加時に description の表現を見直す
上級テクニック
複数の Skill を組み合わせる:まず security-review でスキャンし、unit-test-writer でテストを補完、最後に commit-message でコミットを生成。Skill チェーンは 2026 年の本格 Agent ワークフローの核心パターンです。

開発環境の基盤も重要

Skill がどれほど強力でも、適切なハードウェアと OS 上で動く必要があります。iOS 関連 Skill(swiftui-viewapp-store-submit)は macOS + Xcode が必須。大規模 monorepo の code-review Skill には十分なメモリとディスク I/O が必要です。

Claude Code や Cursor Agent と組み合わせる完全なクラウド macOS 開発環境が必要なら、Kvmzen Mac クラウドレンタル で専用 Mac mini M4 を月額利用でき、本記事のすべての Skill テンプレートとシームレスに連携します。

関連記事

よくある質問

Claude Code Skills と Cursor Rules の違いは?

Rules は常にコンテキストに入るプロジェクトレベルの制約(コーディングスタイル等)。Skills はシナリオに応じて動的に読み込まれる専門ワークフロー指示です。Rules が土台、Skills が手法を教えます。

Skills は個人ディレクトリとプロジェクトディレクトリ、どちらに置く?

個人 Skills はプロジェクト横断の汎用能力向け。プロジェクト Skills はチーム共有のドメイン知識向け。チーム開発では .cursor/skills/ をバージョン管理に含めるのが推奨です。

SKILL.md の適切な長さは?

メインファイルは500行以内を目安に。詳細は reference.md や examples.md に分離し、コンテキストウィンドウを圧迫しないようにします。

期間限定オファー

1 台の Mac を超えた、クラウド上のあなたの開発基地

専有算力 · グローバルノード · 月額サブスクリプション · ハードウェア不要

ホームに戻る
期間限定オファー プランを見る