summaryrefslogtreecommitdiff
path: root/plugins/plugin-dev/agents/agent-creator.md
diff options
context:
space:
mode:
authorDickson Tsai <dickson@anthropic.com>2026-02-04 15:59:39 -0800
committerDickson Tsai <dickson@anthropic.com>2026-02-04 15:59:39 -0800
commit82d041227f42a61ac0797301d49d699c952326cf (patch)
treefcaa0e32d58b4560566779e52bfbc6746f1809b2 /plugins/plugin-dev/agents/agent-creator.md
parent27d2b86d72da27c64585150857cee8472ad47abb (diff)
Fix YAML frontmatter parsing errors in agent description fieldsfix/yaml-frontmatter-parsing-errors
Use YAML block scalars (|) for multi-line description fields that contain <example> blocks with colons and special characters. Without block scalars, the YAML parser fails because it interprets lines like 'user:' and 'assistant:' as new key-value pairs. Affected files: - plugins/plugin-dev/agents/agent-creator.md - plugins/plugin-dev/agents/skill-reviewer.md - plugins/plugin-dev/agents/plugin-validator.md - plugins/pr-review-toolkit/agents/code-simplifier.md
Diffstat (limited to 'plugins/plugin-dev/agents/agent-creator.md')
-rw-r--r--plugins/plugin-dev/agents/agent-creator.md58
1 files changed, 29 insertions, 29 deletions
diff --git a/plugins/plugin-dev/agents/agent-creator.md b/plugins/plugin-dev/agents/agent-creator.md
index 60953920..17e380c9 100644
--- a/plugins/plugin-dev/agents/agent-creator.md
+++ b/plugins/plugin-dev/agents/agent-creator.md
@@ -1,34 +1,34 @@
---
name: agent-creator
-description: Use this agent when the user asks to "create an agent", "generate an agent", "build a new agent", "make me an agent that...", or describes agent functionality they need. Trigger when user wants to create autonomous agents for plugins. Examples:
-
-<example>
-Context: User wants to create a code review agent
-user: "Create an agent that reviews code for quality issues"
-assistant: "I'll use the agent-creator agent to generate the agent configuration."
-<commentary>
-User requesting new agent creation, trigger agent-creator to generate it.
-</commentary>
-</example>
-
-<example>
-Context: User describes needed functionality
-user: "I need an agent that generates unit tests for my code"
-assistant: "I'll use the agent-creator agent to create a test generation agent."
-<commentary>
-User describes agent need, trigger agent-creator to build it.
-</commentary>
-</example>
-
-<example>
-Context: User wants to add agent to plugin
-user: "Add an agent to my plugin that validates configurations"
-assistant: "I'll use the agent-creator agent to generate a configuration validator agent."
-<commentary>
-Plugin development with agent addition, trigger agent-creator.
-</commentary>
-</example>
-
+description: |
+ Use this agent when the user asks to "create an agent", "generate an agent", "build a new agent", "make me an agent that...", or describes agent functionality they need. Trigger when user wants to create autonomous agents for plugins. Examples:
+
+ <example>
+ Context: User wants to create a code review agent
+ user: "Create an agent that reviews code for quality issues"
+ assistant: "I'll use the agent-creator agent to generate the agent configuration."
+ <commentary>
+ User requesting new agent creation, trigger agent-creator to generate it.
+ </commentary>
+ </example>
+
+ <example>
+ Context: User describes needed functionality
+ user: "I need an agent that generates unit tests for my code"
+ assistant: "I'll use the agent-creator agent to create a test generation agent."
+ <commentary>
+ User describes agent need, trigger agent-creator to build it.
+ </commentary>
+ </example>
+
+ <example>
+ Context: User wants to add agent to plugin
+ user: "Add an agent to my plugin that validates configurations"
+ assistant: "I'll use the agent-creator agent to generate a configuration validator agent."
+ <commentary>
+ Plugin development with agent addition, trigger agent-creator.
+ </commentary>
+ </example>
model: sonnet
color: magenta
tools: ["Write", "Read"]