Schemas provides templates and validation for agent configuration files using YAML frontmatter.

Install

mkdir -p .claude/skills/schemas && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6524" && unzip -o skill.zip -d .claude/skills/schemas && rm skill.zip

Installs to .claude/skills/schemas

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

YAML frontmatter schemas for Claude Code agents and commands. Use when creating or validating agent/command files.
114 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Validates agent frontmatter syntax
  • Validates command frontmatter syntax
  • Enforces required fields for agent configuration
  • Provides color and tool pattern guidelines

How it works

It checks YAML frontmatter against defined schemas for agents and commands to ensure required fields and syntax are correct.

Inputs & outputs

You give it
YAML frontmatter block
You get back
Validation status or corrected YAML structure

When to use schemas

  • Create new AI agent config
  • Validate agent frontmatter
  • Define tool permissions
  • Configure agent models

About this skill

plugin: agentdev updated: 2026-01-20

Frontmatter Schemas

Agent Frontmatter

---
name: agent-name               # Required: lowercase-with-hyphens
description: |                 # Required: detailed with examples
  Use this agent when [scenario]. Examples:
  (1) "Task description" - launches agent for X
  (2) "Task description" - launches agent for Y
  (3) "Task description" - launches agent for Z
model: sonnet                  # Required: sonnet | opus | haiku
color: purple                  # Optional: purple | cyan | green | orange | blue | red
tools: TaskCreate, TaskUpdate, TaskList, TaskGet, Read, Write  # Required: comma-separated, space after comma
skills: skill1, skill2         # Optional: referenced skills
---

Field Reference

FieldRequiredValuesDescription
nameYeslowercase-with-hyphensAgent identifier
descriptionYesMulti-line string3-5 usage examples
modelYessonnet, opus, haikuAI model to use
colorNoSee colors belowTerminal color
toolsYesTool listAvailable tools
skillsNoSkill listReferenced skills

Color Guidelines

ColorAgent TypeExamples
purplePlanningarchitect, api-architect
greenImplementationdeveloper, ui-developer
cyanReviewreviewer, designer
orangeTestingtest-architect, tester
blueUtilitycleaner, api-analyst
redCritical/Security(rarely used)

Tool Patterns by Agent Type

Orchestrators (Commands):

  • Must have: Task, TaskCreate, TaskUpdate, TaskList, TaskGet, Read, Bash
  • Often: AskUserQuestion, Glob, Grep
  • Never: Write, Edit

Planners:

  • Must have: TaskCreate, TaskUpdate, TaskList, TaskGet, Read, Write (for docs)
  • Often: Glob, Grep, Bash

Implementers:

  • Must have: TaskCreate, TaskUpdate, TaskList, TaskGet, Read, Write, Edit
  • Often: Bash, Glob, Grep

Reviewers:

  • Must have: TaskCreate, TaskUpdate, TaskList, TaskGet, Read
  • Often: Glob, Grep, Bash
  • Never: Write, Edit

Command Frontmatter

---
description: |                 # Required: workflow description
  Full description of what this command does.
  Workflow: PHASE 1 → PHASE 2 → PHASE 3
allowed-tools: Task, Bash      # Required: comma-separated
skills: skill1, skill2         # Optional: referenced skills
---

Field Reference

FieldRequiredValuesDescription
descriptionYesMulti-lineCommand purpose and workflow
allowed-toolsYesTool listTools command can use
skillsNoSkill listReferenced skills

Validation Checklist

Agent Frontmatter

  • Opening --- present
  • name is lowercase-with-hyphens
  • description includes 3+ examples
  • model is valid (sonnet/opus/haiku)
  • tools is comma-separated with spaces
  • Closing --- present
  • No YAML syntax errors

Command Frontmatter

  • Opening --- present
  • description explains workflow
  • allowed-tools includes Task, TaskCreate, TaskUpdate, TaskList, TaskGet for orchestrators
  • Closing --- present
  • No YAML syntax errors

Common Errors

Invalid YAML Syntax

# WRONG - missing colon
name agent-name

# CORRECT
name: agent-name

Incorrect Tool Format

# WRONG - no spaces after commas
tools: TaskCreate, TaskUpdate, TaskList, TaskGet,Read,Write

# CORRECT
tools: TaskCreate, TaskUpdate, TaskList, TaskGet, Read, Write

Missing Examples

# WRONG - too generic
description: Use this agent for development tasks.

# CORRECT
description: |
  Use this agent when implementing TypeScript features. Examples:
  (1) "Create a user service" - implements service with full CRUD
  (2) "Add validation" - adds Zod schemas to endpoints
  (3) "Fix type errors" - resolves TypeScript compilation issues

When not to use it

  • When working with non-YAML configuration files

Limitations

  • Limited to YAML frontmatter validation

How it compares

It provides automated schema validation rather than manual checking of configuration files.

Compared to similar skills

schemas side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
schemas (this skill)36moNo flagsBeginner
skill-development178moReviewIntermediate
writing-skills44moReviewAdvanced
openai-knowledge54moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by MadAppGang

View all by MadAppGang

claudish-usage

MadAppGang

CRITICAL - Guide for using Claudish CLI ONLY through sub-agents to run Claude Code with any AI model (OpenRouter, Gemini, OpenAI, local models). NEVER run Claudish directly in main context unless user explicitly requests it. Use when user mentions external AI models, Claudish, OpenRouter, Gemini, OpenAI, Ollama, or alternative models. Includes mandatory sub-agent delegation patterns, agent selection guide, file-based instructions, and strict rules to prevent context window pollution.

442

golang-performance

MadAppGang

Use when profiling Go applications (pprof), running benchmarks, optimizing memory/CPU usage, or debugging performance bottlenecks in production Go code.

47

golang

MadAppGang

Use when building Go backend services, implementing goroutines/channels, handling errors idiomatically, writing tests with testify, or following Go best practices for APIs/CLI tools.

313

external-model-selection

MadAppGang

Choose optimal external AI models for code analysis, bug investigation, and architectural decisions. Use when consulting multiple LLMs via claudish, comparing model perspectives, or investigating complex Go/LSP/transpiler issues. Provides empirically validated model rankings (91/100 for MiniMax M2, 83/100 for Grok Code Fast) and proven consultation strategies based on real-world testing.

218

adr-documentation

MadAppGang

Architecture Decision Records (ADR) documentation practice. Use when documenting architectural decisions, recording technical trade-offs, creating decision logs, or establishing architectural patterns. Trigger keywords - "ADR", "architecture decision", "decision record", "trade-offs", "architectural decision", "decision log".

12

claudemem-orchestration

MadAppGang

Use when orchestrating multi-agent code analysis with claudemem. Run claudemem once, share output across parallel agents. Enables parallel investigation, consensus analysis, and role-based command mapping.

12

You might also like

skill-development

anthropics

This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.

17145

writing-skills

obra

Use when creating new skills, editing existing skills, or verifying skills work before deployment

445

openai-knowledge

openai

Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.

539

openai-docs

openai

Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations (for example: Codex, Responses API, Chat Completions, Apps SDK, Agents SDK, Realtime, model capabilities or limits); prioritize OpenAI docs MCP tools and restrict any fallback browsing to official OpenAI domains.

333

microsoft-skill-creator

MicrosoftDocs

Create agent skills for Microsoft technologies using Learn MCP tools. Use when users want to create a skill that teaches agents about any Microsoft technology, library, framework, or service (Azure, .NET, M365, VS Code, Bicep, etc.). Investigates topics deeply, then generates a hybrid skill storing essential knowledge locally while enabling dynamic deeper investigation.

626

creating-skills

letta-ai

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Letta Code's capabilities with specialized knowledge, workflows, or tool integrations.

37

Search skills

Search the agent skills registry