ポッドキャストに戻るClaude
Claude Code skills
スキルとは何か?
Every time you explain your team's coding standards to Claude, you're repeating yourself.
チームのコーディング規約をClaudeに説明するたびに、同じことを繰り返しています。
Every PR review, you redescribe how you want feedback [music] structured.
PRレビューのたびに、フィードバックの [音楽] 構成を再度説明しています。
Every commit message, you remind Claude of your preferred format.
コミットメッセージのたびに、好みのフォーマットをClaudeに伝えています。
And skills fix this.
スキルがこれを解決します。
A skill is a markdown file that teaches Claude how [music] to do something once, and Claude applies that knowledge automatically whenever it's relevant.
スキルとは、Claudeに何かを一度だけ教えるmarkdownファイルです。[音楽] Claudeは関連する場面でその知識を自動的に適用します。
Agent skills are folders of instructions, scripts, and resources that agents can discover and use to do things more accurately and efficiently.
エージェントスキルは、指示・スクリプト・リソースのフォルダであり、エージェントが発見して活用することでより正確かつ効率的に作業できます。
With Claude Code, we have the skill.md file.
Claude Codeでは、skill.mdファイルを使います。
The description is how Claude decides whether to use the skill.
descriptionは、Claudeがそのスキルを使うかどうかを判断する基準です。
When you ask Claude to review this PR, it matches your request against available skill descriptions and finds this one.
「このPRをレビューして」と頼むと、Claudeは利用可能なスキルのdescriptionと照合して該当するスキルを見つけます。
Claude reads your request, compares it to all available skill descriptions, and activates the ones that match.
Claudeはリクエストを読み込み、全スキルのdescriptionと比較して、一致するものを有効化します。
You can store skills in a few places depending on who needs them.
スキルは、誰が使うかに応じて複数の場所に保存できます。
Personal skills go in the home directory .claude/skills and follow you across all your project.
個人スキルはホームディレクトリ内の .claude/skills フォルダに置き、すべてのプロジェクトで利用できます。
These are your preferences, your commit message style, your documentation format, how you like code explained.
ここには好みの設定、コミットメッセージのスタイル、ドキュメントフォーマット、コードの説明方法を保存します。
Project skills go in the .claude/skills inside of the root directory of your repository.
プロジェクトスキルは、リポジトリルートの .claude/skills に置きます。
Anyone who clones the repository gets these skills automatically.
リポジトリをクローンした人は誰でも自動的にこれらのスキルを取得します。
This is where team standards live, like your company's brand guidelines, preferred fonts, and colors that you use for web design.
チームの基準はここに置きます。会社のブランドガイドライン、推奨フォント、ウェブデザインで使う配色など。
Claude Code has several ways to customize behavior.
Claude Codeには動作をカスタマイズする方法がいくつかあります。
Skills are unique because they're automatic and task-specific.
スキルが特別なのは、自動かつタスク固有である点です。
Claude.md files load into every conversation.
Claude.mdファイルはすべての会話に読み込まれます。
If you want Claude to always use TypeScript strict mode, that goes in your claw.md file.
TypeScript strictモードを常に使いたい場合は、Claude.mdファイルに記載します。
Skills, on the other hand, load on demand when they match your request.
一方スキルは、リクエストに一致したときだけオンデマンドで読み込まれます。
It only loads in the name and description, so it doesn't fill up your entire context window.
スキルは名前とdescriptionだけを読み込むため、コンテキストウィンドウ全体を埋めません。
Your PR review checklist doesn't need to be in the context when you're debugging.
デバッグ中にPRレビューのチェックリストはコンテキストに必要ありません。
It loads when you actually ask for a review.
実際にレビューを依頼したときだけ読み込まれます。
Slash commands require you to type them.
スラッシュコマンドは手動で入力する必要があります。
Skills don't.
スキルは不要です。
Claude applies them when it recognizes the situation.
Claudeは状況を認識して自動的に適用します。
Skills work best for specialized knowledge that applies to specific tasks.
スキルは特定のタスクに適用される専門知識に最も効果的です。
Code review standards your team follows, commit message formats that you prefer, brand guidelines of your organization.
チームのコードレビュー基準、好みのコミットメッセージフォーマット、組織のブランドガイドライン。
If you find yourself explaining the same thing [music] to Claude repeatedly, well, that's a skill waiting to be written.
同じことをClaudeに繰り返し説明していると気づいたら、[音楽] それは書かれるべきスキルです。