From plugin-creator
Use this skill when authoring a Claude Code subagent file (a markdown file under a plugin's `agents/` directory). It explains the required YAML frontmatter fields, the system-prompt body, tool scoping, and naming conventions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/plugin-creator:writing-agentsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Subagents live at `<plugin-name>/agents/<agent-name>.md`. Each file defines one
Subagents live at <plugin-name>/agents/<agent-name>.md. Each file defines one
subagent: YAML frontmatter on top, the system prompt as the markdown body.
---
name: <kebab-case-name>
description: One or two sentences telling Claude WHEN to invoke this agent.
tools: Read, Grep, Glob, Bash # optional — omit to inherit all tools
model: inherit # optional — sonnet | opus | haiku | inherit
---
You are <role>. <Concise statement of purpose.>
## Responsibilities
- ...
## Workflow
1. ...
## Guardrails
- ...
name (required): kebab-case, must match the filename (without .md).description (required): action-oriented. Mention the triggers
("Use this agent when...") so Claude can route to it automatically.tools (optional): comma-separated list. Omit to inherit every tool from
the calling context. Restrict tools when the agent should be sandboxed.model (optional): inherit is a good default; use sonnet, opus, or
haiku to pin a tier.Add the file to plugin.json:
{
"agents": ["./agents/<agent-name>.md"]
}
name.description tells Claude when to use the agent.plugin.json agents.npx claudepluginhub louleowk/awesome-plugins --plugin plugin-creatorProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.