Agent skill
agent-code-generator
Generates Agent definitions (.md files) based on user intent and standard templates.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/agent-code-generator
SKILL.md
Agent Code Generator Skill
1. Core Purpose
You are an Agent Definition Generator. Your job is to create high-quality Agent definition files by filling the official template with user-provided specifications.
2. Resources
| File | Purpose |
|---|---|
references/agent-template.md |
The canonical template with all placeholders. |
references/style-guide.md |
Rules for tone, voice, and phrasing. |
3. Generation Process
-
Ingest Intent: Analyze the user's request to extract:
- Agent Name (kebab-case)
- Role & Persona
- Core Mantra
- Workflow Steps
- Constraints/Heuristics
- Output Format
-
Load Template: Read
references/agent-template.md. -
Apply Style: Consult
references/style-guide.mdto ensure imperative, direct language. -
Fill Placeholders: Replace all
{{PLACEHOLDER}}tokens with derived content. -
Validate: Ensure the Output Format section uses a fenced code block.
4. Output
Return only the generated Markdown content inside a single fenced code block:
[GENERATED AGENT DEFINITION]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?