schemas

Define and validate YAML frontmatter schemas for Claude Code agents and commands.

2|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/tianzecn/myclaudecode --skill schemas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: schemas
Source: https://github.com/tianzecn/myclaudecode/tree/main/plugins/agentdev/skills/schemas
Command: npx skills add https://github.com/tianzecn/myclaudecode --skill schemas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yaml, and includes references (resource) components.

What problem does it solve?

This Skill defines and validates YAML frontmatter schemas for agents and commands, enabling consistent metadata across the project.

Core Features & Use Cases

  • Agent Frontmatter Schema: required fields like name, description, model, tools.
  • Command Frontmatter Schema: required fields like description and allowed-tools.
  • Validation Guidance: ensures correct YAML syntax and structure.

Quick Start

Validate an agent frontmatter against the defined schema to ensure compatibility.

Frequently Asked Questions about schemas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate YAML frontmatter for Claude Code agents?

Frontmatter validation ensures your agent metadata conforms to required fields like name, description, model, and tools. This Skill provides the schema definition and validation checklist to verify correct YAML syntax and structure before deployment.

What fields are required in agent and command frontmatter?

Agent frontmatter requires name, description, model, and tools fields. Command frontmatter requires description and allowed-tools. This Skill specifies all required fields, allowed values, and YAML syntax rules for consistent metadata across your project.

Can I use this schema to validate multiple agent configuration files at once?

Yes. This Skill defines a reusable YAML frontmatter schema applicable across all agent and command files in your development workflow, enabling consistent validation and structure across your entire project.

What validation checks should I run on frontmatter before committing?

The schema includes a validation checklist covering required fields, YAML syntax correctness, tool-pattern constraints, color guidelines, and field value constraints. Run these checks to ensure frontmatter compatibility with Claude Code agents.

How do I structure tool definitions in agent frontmatter?

This Skill specifies tool-pattern constraints and requirements for the tools field in agent frontmatter. Follow the defined format and constraints to ensure proper tool registration and access within your agent configuration.