agent-template-generator
Generates new agent profiles with consistent structure, automatic validation pattern injection, and test-driven protocols
npx skills add majiayu000/claude-skill-registry --skill generator-masharratt-claude-flow-novice-6843d4e9 --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.
# Agent Template Generator Skill **Purpose:** Creates new agent profiles with enforced consistency, automatic validation pattern inclusion, and test-driven development protocols. **Benefits:** - ✅ Consistent agent structure across all profiles - ✅ Automatic injection of centralized validation skill - ✅ Test-driven development pattern by default - ✅ Prevents validation anti-patterns - ✅ Reduces agent creation time (60 min → 5 min) --- ## Quick Start ### Generate a Specialist Agent ```bash ./.claude/skills/agent-template-generator/generate-agent.sh \ --name "api-security-specialist" \ --type "specialist" \ --description "MUST BE USED for API security audits, penetration testing, and vulnerability assessment" ``` ### Generate a Validator Agent ```bash ./.claude/skills/agent-template-generator/generate-agent.sh \ --name "security-validator" \ --type "validator" \ --description "MUST BE USED for Loop 2 security validation and threat model review" ``` ### Generate with Custom Configuration ```bash ./.claude/skills/agent-template-generator/generate-agent.sh \ --name "custom-agent" \ --type "specialist" \ --description "Agent description here" \ --model "haiku" \ --provider "anthropic" \ -
- Quick Start
- Generate a Specialist Agent
- Generate a Validator Agent
- Generate with Custom Configuration
- Command Reference
- Required Arguments
- Optional Arguments
- Agent Types and Output Directories
- Generated Template Structure
- 1. YAML Frontmatter
- 2. Provider Configuration
- 3. Success Criteria Integration ✅ AUTO-INJECTED
- 4. TDD Protocol ✅ AUTO-INJECTED
- 5. Test-Driven Validation ✅ AUTO-INJECTED
source .claude/skills/json-validation/validate-success-criteria.sh validate_success_criteria || exit 1 Edit the generated file code .claude/agents/cfn-dev-team/developers/graphql-security-specialist.md Verify frontmatter is valid YAML head -20 .claude/agents/cfn-dev-team/developers/graphql-security-specialist.md Verify validation skill is sourced grep -A 5 "source .claude/skills/json-validation" .claude/agents/cfn-dev-team/developers/graphql-security-specialist.md Test with sample criteria cfn-spawn agent graphql-security-specialist \
What does the agent-template-generator skill do?
Generates new agent profiles with consistent structure, automatic validation pattern injection, and test-driven protocols
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill generator-masharratt-claude-flow-novice-6843d4e9 --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.
