Logo vun Validate Agent Files

Validate Agent Files

Communautéit
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.

Iwwersiicht

EditeurJBurlison
RepositoryWoWAddonAPIAgents
Skill-Nummvalidate-agent-files
Stären
63
Forks
7
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum JBurlison op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Validate Agent Files an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/JBurlison/WoWAddonAPIAgents/tree/main/skills/validate-agent-files
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Validate Agent Files an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Validate Agent Files automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Validate Agent Files net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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]

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Validate Agent Files op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Validate Agent Files besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Validate Agent Files an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/JBurlison/WoWAddonAPIAgents/tree/main/skills/validate-agent-files an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Validate Agent Files benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Validate Agent Files benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Validate Agent Files domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Validate Agent Files gratis?

Jo. De Skill gëtt vum JBurlison ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇