| name | agent-writer | |||||
|---|---|---|---|---|---|---|
| description | Write new agent definitions, skill files, and agent configurations. Use when someone asks to "create a new agent", "write a skill", "define an agent", or needs to create reusable AI agent instructions for any platform. This is the meta-skill for creating other skills and agents in the polyagent-skills format. | |||||
| tags |
|
|||||
| version | 1.0.0 | |||||
| common-skills-used |
|
|||||
| agents-tested |
|
Create new agent definitions and skill files that conform to the polyagent-skills portable format. This is the meta-skill — it creates other skills.
- User wants to create a new skill for the polyagent-skills library
- User wants to define a new agent persona or workflow
- User asks "write me a skill for X"
- User wants to convert agent-specific instructions into portable format
- User wants to execute a task using an existing skill (use that domain skill directly)
- User only needs a minor edit to an existing skill file (perform targeted editing instead)
Required:
- What the skill/agent should do
- When it should trigger
Optional:
- Example inputs and expected outputs
- Common skills it should reference
- Agents it needs to work with
Clarify what the skill should accomplish, who uses it, and what triggers it.
Plan the process steps, inputs, outputs, and edge cases.
Follow the Skill Format Spec exactly:
- YAML frontmatter with name, description, tags, version
- All required sections: Purpose, When to Use, When NOT to Use, Inputs, Process, Output Format, Quality Checks, Common Skills Used, Edge Cases
- References to common-skills where appropriate
Add references/, examples/, and templates/ as needed.
Check against the portability rules:
- No agent-specific syntax
- Relative paths only
- Plain Markdown only
- Self-contained steps
Run polyagentctl sync-adapters to add the new skill to all adapter files.
A complete skill directory: skills/<skill-name>/SKILL.md plus supporting files.
- Frontmatter
namematchesskills/<name>/directory exactly - Trigger phrases in the description and "When to Use" are specific and testable
- Required sections from the skill format spec are present
- All referenced files and common-skills use valid relative paths
- Output format is explicit enough to produce deterministic results
common-skills/output-formatting.md— For the generated skill filescommon-skills/quality-checklist.md— Validate the new skill
- Overlapping intent with existing skills: Reuse or extend existing skill patterns instead of creating duplicates
- Unclear trigger boundaries: Add "When NOT to Use" exclusions before finalizing
- Missing output constraints: Add strict output format expectations to prevent inconsistent generation