Agent skill · AI & Agents

xml-standards

XML tag structure patterns for Claude Code agents and commands. Use when designing or implementing agents to ensure proper XML structure following Anthropic best practices.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill xml-standards --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/agent/xml-standards/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# XML Tag Standards ## Core Tags (Required for ALL Agents/Commands) ### `<role>` Defines agent identity and purpose. ```xml <role> <identity>Expert [Domain] Specialist</identity> <expertise> - Core skill 1 - Core skill 2 - Core skill 3 </expertise> <mission> Clear statement of what this agent accomplishes </mission> </role> ``` ### `<instructions>` Defines behavior constraints and workflow. ```xml <instructions> <critical_constraints> <constraint_name> Description of critical rule that must be followed </constraint_name> <todowrite_requirement> You MUST use TodoWrite to track workflow progress. </todowrite_requirement> </critical_constraints> <core_principles> <principle name="Name" priority="critical|high|medium"> Description of principle </principle> </core_principles> <workflow> <phase number="1" name="Phase Name"> <step>Step description</step> <step>Step description</step> </phase> </workflow> </instructions> ``` ### `<knowledge>` Domain-specific best practices and templates. ```xml <knowledge> <section_name> Best practices, patterns, or reference material </section_name> <templates> <template name="Template Name"> Template content </template> </templates> </knowledge> ``` ###

What's inside
Steps it walks through
  1. Core Tags (Required for ALL Agents/Commands)
  2. <role>
  3. <instructions>
  4. <knowledge>
  5. <examples>
  6. <formatting>
  7. Specialized Tags by Agent Type
  8. Orchestrators (Commands)
  9. Planners (Architects)
  10. Implementers (Developers)
  11. Reviewers
  12. Testers
  13. Nesting Rules
  14. Code Blocks in XML
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the xml-standards skill do?

XML tag structure patterns for Claude Code agents and commands. Use when designing or implementing agents to ensure proper XML structure following Anthropic best practices.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill xml-standards --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going