Guides agents and users to create standards-compliant agent definitions using templates in markdown frontmatter format, ensuring context gathering, clarity, and proper metadata. Forces agents to ask clarifying questions when context is insufficient. Token-efficient documentation required. All content must be in English. Trigger: When creating a new agent definition, setting up project agents, or documenting agent workflows.
npx skills add https://github.com/majiayu000/claude-skill-registry --skill agent-creation
Provides actionable instructions for creating standards-compliant agent definitions using templates. Agents are defined in markdown files (AGENTS.md) with YAML frontmatter specifying metadata and a clear, readable structure. This skill enforces context gathering before agent creation to ensure robust and well-defined agents.
Enable agents and users to generate agent definitions that strictly follow the required structure and conventions using the provided template. Ensure sufficient context is gathered through clarifying questions before proceeding with agent creation. Validate each agent against the JSON schema and provide a compliance checklist to ensure all requirements are met.
Use this skill when:
Don't use this skill for:
Before creating an agent definition, you MUST ask clarifying questions when context is missing. Do not proceed until you have sufficient information.
Required context to gather:
Do not proceed with creating the agent until you have:
agents/ named after the project or agent (lowercase, hyphens, no spaces).AGENTS.md file inside the directory.The frontmatter must include:
Required fields:
my-project-agent). Keep concise.- item syntax (never []). Must be existing skills from skills/ directory.critical-partnerprocess-documentationOptional fields (include only if they add specificity):
"user query | string"). Omit if obvious from description."markdown report"). Omit if obvious from description.Formatting rules:
- item (never [] for arrays)Example frontmatter:
---
name: my-project-agent
description: Development assistant for Project X. Expert in TypeScript, React, and MUI.
skills:
- typescript
- react
- mui
- critical-partner
- process-documentation
- conventions
- a11y
---
After the frontmatter, include the following sections:
| Trigger (When to Read) | Required Skill | Path |Critical trigger that MUST be included in all agents:
Additional triggers based on agent's skills: Add specific triggers for each skill the agent uses (e.g., "Create React components" → react, "Create TypeScript types" → typescript)
Important: The Mandatory Skill Reading section must inform AI agents that when working with complex skills (40+ patterns), they should consult the skill's Decision Tree and Quick Reference Table to determine if reading references/ is required. See AGENTS.md Extended Mandatory Read Protocol for complete guidance. 5. ## Supported stack (if applicable): List technologies, frameworks, libraries, and versions used in the project. 6. ## Skills Reference (optional but recommended): Table listing all skills with descriptions and paths. 7. ## Workflows (optional): Common workflows the agent handles (e.g., "Feature Development," "Code Review"). 8. ## Policies (optional): Project-specific rules, constraints, or guidelines the agent must follow.
All generated code, documentation, comments, and prompt content must follow the english-writing skill. Do not duplicate these rules here.
Before finalizing, verify:
agents/ with correct namingAGENTS.md file exists with proper frontmattername, description, skillscritical-partner included in skills (mandatory for ALL agents)process-documentation included for technical/management agentsskills/ directory- item), not arrays ([])Context gathered (9 questions answered)? → NO → Stop: Ask clarifying questions
All required skills identified? → NO → Ask: Which skills needed?
Agent for technical/management? → YES → Include process-documentation in skills
Creating first agent? → YES → Use AGENT-TEMPLATE.md as starting point
Agent has complex workflows (3+ phases)? → YES → Add detailed Workflow section
Agent needs skill reference reading? → YES → Include Extended Protocol reference
Mandatory Skill Reading section included? → NO → Stop: Must include (REQUIRED)
critical-partner in skills list? → NO → Stop: Must include (mandatory)
All referenced skills exist in skills/? → NO → Stop: Verify skill paths
Ready to create? → YES → Proceed with agent creation
Before finalizing agent creation, verify:
- item, not [])Confidence check: Can you answer these questions?
If you answered NO to any checklist item or cannot answer the confidence questions:
For complete validation: See Compliance Checklist below.
---
name: example-agent
description: Development assistant for Example Project. Provides guidance on TypeScript, React, and accessibility standards.
skills:
- typescript
- react
- critical-partner
- process-documentation
- conventions
- a11y
---
# Example Project Agent
## Purpose
This agent serves as the primary development assistant for the Example Project, ensuring code quality, accessibility compliance, and adherence to TypeScript and React best practices.
## Supported stack
- **Languages**: TypeScript 5.0+, JavaScript (ES2020+)
- **Framework**: React 18+
- **Build**: Vite
## Skills Reference
| Skill Name | Description | Path |
| --------------------- | --------------------------- | ------------------------------------- |
| typescript | TypeScript best practices | skills/typescript/SKILL.md |
| react | React patterns and hooks | skills/react/SKILL.md |
| critical-partner | Code review and improvement | skills/critical-partner/SKILL.md |
| process-documentation | Change documentation | skills/process-documentation/SKILL.md |
| conventions | General coding conventions | skills/conventions/SKILL.md |
| a11y | Accessibility standards | skills/a11y/SKILL.md |
## Workflows
### Feature Development
1. Gather requirements
2. Design component architecture
3. Implement with TypeScript and React
4. Ensure accessibility compliance
5. Document changes
## Policies
- All code must be strictly typed (no `any`)
- Components must be keyboard-accessible
- Follow React hooks best practices
Before finalizing an agent, verify:
agents/ with correct naming (lowercase, hyphens)AGENTS.md file exists with proper frontmattername, description, skillscritical-partner included in skills (mandatory for ALL agents)process-documentation included for technical/management agentsskills/ directory- item), not arrays ([])make sync (if applicable)This skill should be used when the user asks about "plugin settings", "store plugin configuration", "user-configurable plugin", ".local.md files", "plugin state files", "read YAML frontmatter", "per-project plugin settings", or wants to make plugin behavior configurable. Documents the .claude/plugin-name.local.md pattern for storing plugin-specific configuration with YAML frontmatter and markdown content.
-Automatically convert documentation websites, GitHub repositories, and PDFs into Claude AI skills in minutes.
This skill should be used when the user asks about "plugin settings", "store plugin configuration", "user-configurable plugin", ".local.md files", "plugin state files", "read YAML frontmatter", "per-project plugin settings", or wants to make plugin behavior configurable. Documents the .claude/plugin-name.local.md pattern for storing plugin-specific configuration with YAML frontmatter and markdown content.
Standardize how an AI-collaboration project turns work into reusable knowledge. Use when initializing or retrofitting Project Cairn in a project, recording progress after meaningful work, maintaining AGENTS/CLAUDE/cairn docs, auditing project knowledge for drift or missing records, pulling and citing external knowledge, or graduating validated project experience into a reusable knowledge base.
Persistent memory and context management for AI agents using OpenContext. Keep context across sessions/repos/dates, store conclusions, and provide document search workflows.
> PARA method knowledge management for Obsidian vaults. Use this skill whenever the user wants to organize notes using PARA (Projects, Areas, Resources, Archive), classify a note into a PARA category, route a note to the right vault folder, normalize frontmatter fields, run a PARA hygiene review, suggest archiving, audit vault structure, or process new knowledge inputs into an existing PARA-based vault. Also trigger when the user mentions inbox processing, vault cleanup, note classification, PARA review, or asks "where does this note belong?". Works with existing Obsidian skills (obsidian-markdown, obsidian-cli) — never replaces them.
Keeps implementation and specs in sync. Use when working on a feature that has a spec in .agents/specs/, when the user says /spec, or when starting implementation of a documented feature. Also use when the user asks to verify implementation against a spec or update a spec after changes.
Build and query AI-powered knowledge bases from claude-mem observations. Use when users want to create focused "brains" from their observation history, ask questions about past work patterns, or compile expertise on specific topics.
Take majiayu000/claude-skill-registry-agent-creation from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.