Validate Agent Filesのロゴ

Validate Agent Files

コミュニティ
JBurlison
validate-agent-files

Validates AI coding assistant customization files (agents, skills, prompts, instructions) for correct format and structure. Works with GitHub Copilot, Claude Code, Codex, OpenCode, and other providers. Use when checking if agent files are properly configured, troubleshooting agent issues, or before committing new customization files.

概要

公開者JBurlison
リポジトリWoWAddonAPIAgents
スキル名validate-agent-files
スター
63
フォーク
7
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    JBurlisonがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルValidate Agent FilesをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/JBurlison/WoWAddonAPIAgents/tree/main/skills/validate-agent-files
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JBurlison/WoWAddonAPIAgents.git /tmp/WoWAddonAPIAgents
mkdir -p .claude/skills
cp -r /tmp/WoWAddonAPIAgents/skills/validate-agent-files .claude/skills/validate-agent-files
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでValidate Agent Filesを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にValidate Agent Filesを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Validate Agent Filesは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Validate Agent Files

Validates that agent, skill, prompt, and instruction files follow the correct format and structure.

Host-specific packaging

This is a repository maintenance skill, excluded from the WoW plugin. Maintain canonical WoW skills under skills and generate the package with npm run build. Agent metadata, rules, commands, and discovery paths differ by host; do not copy Copilot conventions into Codex or Claude mechanically. See file locations. Examples using / below describe Copilot-style source files and must be adapted using host specifications.

When to Use

  • Before committing new agents, skills, prompts, or instructions
  • When an agent isn't behaving as expected
  • To audit existing customization files for issues
  • After modifying any .github customization files

Validation Process

Step 1: Identify File Type

Determine the type based on location and extension:

  • <provider>/agents/*.md → Agent file (user-invokable)
  • <provider>/agents/*.subagent.agent.md → Sub-agent file (workflow component)
  • <provider>/skills/*/SKILL.md → Skill file
  • <provider>/prompts/*.prompt.md → Prompt file
  • <provider>/instructions/*.instructions.md → Instruction file

Step 2: Apply Type-Specific Validation

Agent File Validation (<provider>/agents/*.md)

Required Structure:

yaml
---
name: agent-name
description: When to use this agent (should include examples)
user-invokable: true  # Optional, defaults to true
---

[System prompt body]

Supported Frontmatter Attributes:

  • name (required) - Agent identifier
  • description (required) - When/how to use, with examples
  • user-invokable (optional) - Set to false for sub-agents (default: true)
  • tools - List of allowed tools
  • model - Specific model to use
  • handoffs - Other agents this can delegate to

Checks:

  1. ✓ YAML frontmatter present with --- delimiters
  2. ✓ name field exists and is non-empty
  3. ✓ description field exists (recommend 50+ characters with examples)
  4. ✓ Body content exists after frontmatter
  5. ✓ If tools specified, they are valid tool names
  6. ✓ If filename contains .subagent.agent.md, verify user-invokable: false is set

Naming Convention Checks:

  • User-facing agents: <name>.agent.md or <name>.md
  • Sub-agents: <name>.subagent.agent.md with user-invokable: false

Common Issues:

  • Missing --- delimiters
  • Empty or minimal description
  • No usage examples in description
  • Body content missing or too brief
  • Sub-agent missing user-invokable: false
  • Sub-agent not using .subagent.agent.md naming convention

Skill File Validation (<provider>/skills/*/SKILL.md)

Required Structure:

yaml
---
name: skill-name
description: What this skill does and when to use it.
---

[Skill instructions body]

Supported Frontmatter Attributes:

  • name (required) - Must match parent directory name, lowercase with hyphens
  • description (required) - Max 1024 chars, describes function and triggers
  • license (optional) - License information
  • compatibility (optional) - Environment requirements
  • metadata (optional) - Key-value pairs for additional info
  • allowed-tools (optional) - Space-delimited pre-approved tools

Checks:

  1. ✓ File is named SKILL.md inside a directory
  2. ✓ name matches parent directory name exactly
  3. ✓ name is lowercase, alphanumeric with hyphens only
  4. ✓ name doesn't start/end with hyphen or have consecutive hyphens
  5. ✓ description is 1-1024 characters
  6. ✓ Body content provides clear instructions

Common Issues:

  • name doesn't match directory name
  • Uppercase characters in name
  • Description too vague (should include trigger keywords)
  • Missing instructions in body

Prompt File Validation (<provider>/prompts/*.prompt.md)

Required Structure:

yaml
---
mode: agent
description: What this prompt does
---

[Prompt template with {{variables}}]

Supported Frontmatter Attributes:

  • mode (optional) - One of: agent (default), ask, edit, generate
  • tools (optional) - Available tools for this prompt
  • description (optional but recommended) - What the prompt accomplishes

Checks:

  1. ✓ File has .prompt.md extension
  2. ✓ If mode present, it's a valid value
  3. ✓ Variables use {{variableName}} syntax
  4. ✓ Body content exists (the prompt itself)

Common Issues:

  • Wrong extension (.md instead of .prompt.md)
  • Invalid mode value
  • Undefined variables in template

Instruction File Validation (<provider>/instructions/*.instructions.md)

Required Structure:

yaml
---
applyTo: "**/*.ts"
---

[Contextual instructions]

Supported Frontmatter Attributes:

  • applyTo (required) - Glob pattern(s) for when instructions apply

Checks:

  1. ✓ File has .instructions.md extension
  2. ✓ applyTo field exists
  3. ✓ applyTo contains valid glob pattern(s)
  4. ✓ Body content provides meaningful guidance

Common Issues:

  • Wrong extension
  • Missing applyTo field
  • Invalid glob syntax
  • Empty or minimal instructions

Output Format

markdown
## Validation: [filename]

**Type:** [Agent|Skill|Prompt|Instruction]
**Status:** ✅ Valid | ⚠️ Warnings | ❌ Invalid

### Issues
- [Issue 1 with line number if applicable]
- [Issue 2]

### Recommendations
- [Suggestion for improvement]

Batch Validation

When validating all files, provide summary:

markdown
## Validation Summary

| Type | Total | Valid | Warnings | Invalid |
|------|-------|-------|----------|---------|
| Agents | X | X | X | X || Sub-Agents | X | X | X | X || Skills | X | X | X | X |
| Prompts | X | X | X | X |
| Instructions | X | X | X | X |

### Files Requiring Attention
- [List files with issues]

よくある質問

AIスキル「Validate Agent Files」では何ができますか?

Validates AI coding assistant customization files (agents, skills, prompts, instructions) for correct format and structure. Works with GitHub Copilot, Claude Code, Codex, OpenCode, and other providers. Use when checking if agent files are properly configured, troubleshooting agent issues, or before committing new customization files.

TypingMindでValidate Agent Filesを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Validate Agent Filesはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにValidate Agent Filesをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/JBurlison/WoWAddonAPIAgents/tree/main/skills/validate-agent-filesを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Validate Agent Filesを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Validate Agent Filesは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもValidate Agent Filesを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Validate Agent Files」は無料ですか?

はい。JBurlisonがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇