Claude-skill-registry agent-code-generator
Generates Agent definitions (.md files) based on user intent and standard templates.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/agent-code-generator" ~/.claude/skills/majiayu000-claude-skill-registry-agent-code-generator && rm -rf "$T"
manifest:
skills/data/agent-code-generator/SKILL.mdsource content
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 |
|---|---|
| The canonical template with all placeholders. |
| 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
to ensure imperative, direct language.references/style-guide.md -
Fill Placeholders: Replace all
tokens with derived content.{{PLACEHOLDER}} -
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]