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.
npx skills add majiayu000/claude-skill-registry --skill xml-standards --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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> ``` ###
- Core Tags (Required for ALL Agents/Commands)
- <role>
- <instructions>
- <knowledge>
- <examples>
- <formatting>
- Specialized Tags by Agent Type
- Orchestrators (Commands)
- Planners (Architects)
- Implementers (Developers)
- Reviewers
- Testers
- Nesting Rules
- Code Blocks in XML
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.
