Mend Agent Templates
Agent Buildingmend-agent-templatesMend Agent Templates is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Maintain and synchronize agent templates with their associated skill templates.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/skills/mend-agent-templates/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mend-agent-templates, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Mend Agent Templates
This skill automates the synchronization of agent templates in skills/meta-agent-skills/assets/templates/agents/ with the actual metadata and descriptions of skill templates in skills/meta-agent-skills/assets/templates/skills/.
Purpose
To ensure that agent templates always accurately reflect the current capabilities, names, and descriptions of the skills they reference in their YAML frontmatter.
Instructions
-
Discovery:
- List all skill templates in
skills/meta-agent-skills/assets/templates/skills/*.md. - List all agent templates in
skills/meta-agent-skills/assets/templates/agents/*.md.
- List all skill templates in
-
Extraction:
- For each skill template, extract:
name: From YAML frontmatter.description: From YAML frontmatter.
- For each agent template, extract:
skills: The list of skill names from YAML frontmatter.
- For each skill template, extract:
-
Synchronization:
- For each agent template:
- Locate the
Capabilitiessection marked by<!-- SKILLS_START -->and<!-- SKILLS_END -->. - Generate a bulleted list of the agent's skills.
- Each bullet should follow the format:
- **Skill Title**: description from the skill template. - Note: "Skill Title" should be a title-cased version of the skill's machine
nameor its display name if available. - Replace the content between the markers with this generated list.
- Locate the
- For each agent template:
-
Verification:
- Ensure that all skills listed in the agent's frontmatter are represented in the
Capabilitiessection. - Confirm that the descriptions match the source skill templates exactly.
- Ensure that all skills listed in the agent's frontmatter are represented in the
Markers
<!-- SKILLS_START -->
<!-- SKILLS_END -->