Automated summary
This skill describes the open Agent Skills standard for creating and using specialized instruction packages for AI agents.
Strengths
- Portable, versioned format that works across multiple agent platforms
- Supports executable scripts and additional resources
- Progressive loading to keep context usage efficient
Limitations
- Requires understanding of YAML front matter and directory structure
- Scripts must be self-contained and handle edge cases properly
- Limited to agents that support the standard (Cursor, Claude Code, Codex)
Use this skill when you want to add specialized, reusable capabilities to your AI agents for repetitive or complex tasks.
Do not use it for one-off instructions that don't need packaging or sharing across projects.
Security analysis
SafeThis file is purely documentation about the Agent Skills standard, with no executable instructions, no declared tools, and no security risks. It describes the structure and usage of skill files, not performing any actions.
No concerns found
How this analysis is madeExamples
Create a new skill in `.cursor/skills/deploy-app/` with a SKILL.md that describes how to deploy an app to staging and production, and include a `scripts/deploy.sh` script.Install the official 'test-generation' skill from the GitHub repository 'example-user/test-generation-skill' into my project.Modify the 'code-review' skill's SKILL.md to set `disable-model-invocation: true` so it only runs when I explicitly type `/code-review`.コンテキスト
エージェントスキル
エージェントスキルは、AI エージェントに専門的な能力を追加するためのオープンな標準仕様です。スキルは、ドメイン固有の知識やワークフローをパッケージ化し、エージェントが特定のタスクを実行する際に利用できるようにします。
スキルとは?
スキルとは、エージェントにドメイン固有のタスクの実行方法を教える、ポータブルでバージョン管理されたパッケージです。スキルには手順だけでなく、エージェントが実行できるスクリプトやコードを含めることもできます。
ポータブル
スキルは、Agent Skills 標準仕様に対応したあらゆるエージェントで動作します。
バージョン管理
スキルはファイルとして保存され、リポジトリで管理でき、GitHub リポジトリのリンクからインストールすることもできます。
実行可能
スキルには、エージェントがタスクを実行するために動かすスクリプトやコードを含めることができます。
プログレッシブ
スキルはリソースをオンデマンドで読み込み、コンテキスト使用量を効率的に保ちます。
スキルの仕組み
Cursor の起動時に、スキルディレクトリからスキルを自動的に検出し、Agent で利用できるようにします。Agent には利用可能なスキルが提示され、コンテキストに基づいてどのスキルが適切かを判断します。
スキルは、Agent チャットで / を入力してスキル名を検索することで、手動で呼び出すこともできます。
スキルディレクトリ
スキルは次の場所から自動的に読み込まれます。
| Location | Scope |
| --- | --- |
| .cursor/skills/ | プロジェクトレベル |
| .claude/skills/ | プロジェクトレベル(Claude 互換) |
| .codex/skills/ | プロジェクトレベル(Codex 互換) |
| ~/.cursor/skills/ | ユーザーレベル(グローバル) |
| ~/.claude/skills/ | ユーザーレベル(グローバル、Claude 互換) |
| ~/.codex/skills/ | ユーザーレベル(グローバル、Codex 互換) |
各スキルは、 SKILL.md ファイルを含むフォルダである必要があります。
.cursor/
└── skills/
└── my-skill/
└── SKILL.md
スキルには、スクリプト、リファレンス、アセット用の任意のディレクトリを追加で含めることもできます。
.cursor/
└── skills/
└── deploy-app/
├── SKILL.md
├── scripts/
│ ├── deploy.sh
│ └── validate.py
├── references/
│ └── REFERENCE.md
└── assets/
└── config-template.json
SKILL.md ファイル形式
各スキルは、YAML フロントマターを持つ SKILL.md ファイルで定義します。
---
name: my-skill
description: Short description of what this skill does and when to use it.
---
# My Skill
Detailed instructions for the agent.
## When to Use
- Use this skill when...
- This skill is helpful for...
## Instructions
- Step-by-step guidance for the agent
- Domain-specific conventions
- Best practices and patterns
- Use the ask questions tool if you need to clarify requirements with the user
フロントマターのフィールド
| Field | Required | Description |
| --- | --- | --- |
| name | Yes | スキルの識別子。小文字の英字、数字、ハイフンのみ使用できます。親フォルダ名と一致している必要があります。 |
| description | Yes | スキルの機能と利用タイミングを説明します。エージェントが関連性を判断する際に使用されます。 |
| license | No | ライセンス名、またはバンドルされているライセンスファイルへの参照。 |
| compatibility | No | 環境要件(システムパッケージ、ネットワークアクセスなど)。 |
| metadata | No | 追加メタデータ用の任意のキーと値のマッピング。 |
| disable-model-invocation | No | true の場合、このスキルは /skill-name で明示的に呼び出されたときにのみ使用されます。エージェントはコンテキストに基づいて自動的には適用しません。 |
自動呼び出しを無効にする
デフォルトでは、エージェントが関連していると判断したスキルは自動的に呼び出されます。 disable-model-invocation: true を設定すると、そのスキルは従来のスラッシュコマンドのように動作し、チャットで明示的に /skill-name と入力した場合にのみコンテキストに含まれるようになります。
スキルへのスクリプトの追加
スキルには、エージェントが実行できるコードを含む scripts/ ディレクトリを追加できます。 SKILL.md では、スキルのルートからの相対パスでスクリプトを参照します。
---
name: deploy-app
description: アプリケーションをステージング環境または本番環境にデプロイします。コードのデプロイ時、またはユーザーがデプロイ、リリース、環境について言及した際に使用します。
---
# Deploy App
Deploy the application using the provided scripts.
## Usage
Run the deployment script: \`scripts/deploy.sh <environment>\`
Where \`<environment>\` is either \`staging\` or \`production\`.
## Pre-deployment Validation
Before deploying, run the validation script: \`python scripts/validate.py\`
エージェントはこれらの手順を読み、スキルが呼び出されると、そこで指定されたスクリプトを実行します。スクリプトは任意の言語で記述できます。Bash、Python、JavaScript、またはエージェント実装でサポートされているその他の実行可能形式を使用できます。
スクリプトは自己完結型とし、わかりやすいエラーメッセージを含め、エッジケースを適切に処理する必要があります。
任意のディレクトリ
スキルでは、次の任意ディレクトリをサポートしています:
| Directory | 目的 |
| --- | --- |
| scripts/ | エージェントが実行できるコード |
| references/ | 必要に応じて読み込まれる追加ドキュメント |
| assets/ | テンプレート、画像、データファイルなどの静的リソース |
メインの SKILL.md は要点に絞り、詳細なリファレンス資料は別ファイルに分けてください。こうしておくと、エージェントは必要なときにだけ段階的にリソースを読み込むため、コンテキストの利用が効率的になります。
スキルを表示する
検出されたスキルを確認するには:
- Cursor Settings を開きます(Mac: Cmd+Shift+J、Windows/Linux: Ctrl+Shift+J)
- Rules に移動します
- スキルは Agent Decides セクションに表示されます
GitHub からスキルをインストールする
GitHub リポジトリからスキルをインポートできます。
- Cursor Settings → Rules を開く
- Project Rules セクションで Add Rule をクリックする
- Remote Rule (Github) を選択する
- GitHub リポジトリの URL を入力する
ルールとコマンドをスキルに移行する
Cursor 2.4 には、既存の動的ルールとスラッシュコマンドをスキルに変換するための組み込みスキル /migrate-to-skills が含まれています。
この移行スキルは次の項目を変換します:
- Dynamic rules: 「Apply Intelligently」設定を使うルール—
alwaysApply: false(または未定義)で、globsパターンが定義されていないルール。これらは標準スキルに変換されます。 - Slash commands: ユーザーレベルおよびワークスペースレベルの両方のコマンドは、
disable-model-invocation: trueを指定したスキルに変換され、明示的な呼び出し動作が保持されます。
移行手順:
- Agent チャットで
/migrate-to-skillsと入力します - Agent が対象となるルールとコマンドを特定し、スキルに変換します
- 生成されたスキルを
.cursor/skills/で確認します
詳しく知る
Agent Skills はオープンスタンダードです。詳細は agentskills.io をご覧ください。
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/ai-agent-skills-specification-mm5t8bi3/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/ai-agent-skills-specification-mm5t8bi3' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ai-agent-skills-specification-mm5t8bi3/download' --output '.skill-downloads/ai-agent-skills-specification-mm5t8bi3/SKILL.md.part' && mv '.skill-downloads/ai-agent-skills-specification-mm5t8bi3/SKILL.md.part' '.skill-downloads/ai-agent-skills-specification-mm5t8bi3/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/ai-agent-skills-specification-mm5t8bi3/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.