xml-standards

Define XML schemas for structuring Claude Code agents and commands.

7|4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/MadAppGang/magus --skill xml-standards-madappgang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xml-standards
Source: https://github.com/MadAppGang/magus/tree/main/plugins/agentdev/skills/xml-standards
Command: npx skills add https://github.com/MadAppGang/magus --skill xml-standards-madappgang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a standardized XML structure for designing and implementing Claude Code agents and commands, ensuring consistency and adherence to Anthropic's best practices.

Core Features & Use Cases

  • Defines Core Tags: Outlines essential XML tags like <role>, <instructions>, <knowledge>, <examples>, and <formatting> for all agents.
  • Specialized Tags: Details specific tags for different agent types (Orchestrators, Planners, Implementers, Reviewers, Testers).
  • Use Case: When developing a new AI agent, consult this Skill to ensure your agent's XML configuration follows the established, best-practice structure for clarity and functionality.

Quick Start

Use the xml-standards skill to understand the required XML structure for defining an agent's role and instructions.

Frequently Asked Questions about xml-standards

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

FAQPage Schema
How do I structure XML for Claude Code agents and commands?

Structure Claude Code agents using core XML tags like <role>, <instructions>, <knowledge>, <examples>, and <formatting> to define identity and instructions, ensuring proper nesting and semantic attributes for clarity and functionality.

What XML tags are required for different Claude Code agent types?

Specialized XML tags are required for different agent types, encompassing specific elements for orchestrators, planners, implementers, reviewers, and testers alongside the core tags to ensure proper agent design and functionality.

When do I need standardized XML schema for AI agent design?

You need standardized XML schema for AI agent design when developing new agents to ensure your XML configuration follows established best practices for consistent structure, correct code block handling, and proper character escaping.

What are the best practices for XML nesting and character escaping in agent configurations?

Best practices for XML agent configurations include ensuring proper tag nesting, closing tags correctly, using semantic attributes, maintaining consistent naming, and correctly handling code blocks and character escaping to prevent parsing errors.

Can I use this XML standard to define both agent identity and formatting rules?

Yes, you can use the XML standard to define both agent identity and formatting rules by utilizing the <role> tag for identity and the <formatting> tag for output formatting, alongside <instructions> and <knowledge> tags.

Does this XML schema support orchestrator and planner agent roles?

Yes, the XML schema supports orchestrator and planner agent roles by providing specialized tags tailored for these agent types, ensuring they follow the established best practice structure for clarity and functional orchestration.