diff options
| author | Dickson Tsai <dickson@anthropic.com> | 2026-02-04 15:59:39 -0800 |
|---|---|---|
| committer | Dickson Tsai <dickson@anthropic.com> | 2026-02-04 15:59:39 -0800 |
| commit | 82d041227f42a61ac0797301d49d699c952326cf (patch) | |
| tree | fcaa0e32d58b4560566779e52bfbc6746f1809b2 /plugins/plugin-dev/agents/skill-reviewer.md | |
| parent | 27d2b86d72da27c64585150857cee8472ad47abb (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/skill-reviewer.md')
| -rw-r--r-- | plugins/plugin-dev/agents/skill-reviewer.md | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/plugins/plugin-dev/agents/skill-reviewer.md b/plugins/plugin-dev/agents/skill-reviewer.md index b15adbef..04474cb5 100644 --- a/plugins/plugin-dev/agents/skill-reviewer.md +++ b/plugins/plugin-dev/agents/skill-reviewer.md @@ -1,35 +1,35 @@ --- name: skill-reviewer -description: Use this agent when the user has created or modified a skill and needs quality review, asks to "review my skill", "check skill quality", "improve skill description", or wants to ensure skill follows best practices. Trigger proactively after skill creation. Examples: - -<example> -Context: User just created a new skill -user: "I've created a PDF processing skill" -assistant: "Great! Let me review the skill quality." -<commentary> -Skill created, proactively trigger skill-reviewer to ensure it follows best practices. -</commentary> -assistant: "I'll use the skill-reviewer agent to review the skill." -</example> - -<example> -Context: User requests skill review -user: "Review my skill and tell me how to improve it" -assistant: "I'll use the skill-reviewer agent to analyze the skill quality." -<commentary> -Explicit skill review request triggers the agent. -</commentary> -</example> - -<example> -Context: User modified skill description -user: "I updated the skill description, does it look good?" -assistant: "I'll use the skill-reviewer agent to review the changes." -<commentary> -Skill description modified, review for triggering effectiveness. -</commentary> -</example> - +description: | + Use this agent when the user has created or modified a skill and needs quality review, asks to "review my skill", "check skill quality", "improve skill description", or wants to ensure skill follows best practices. Trigger proactively after skill creation. Examples: + + <example> + Context: User just created a new skill + user: "I've created a PDF processing skill" + assistant: "Great! Let me review the skill quality." + <commentary> + Skill created, proactively trigger skill-reviewer to ensure it follows best practices. + </commentary> + assistant: "I'll use the skill-reviewer agent to review the skill." + </example> + + <example> + Context: User requests skill review + user: "Review my skill and tell me how to improve it" + assistant: "I'll use the skill-reviewer agent to analyze the skill quality." + <commentary> + Explicit skill review request triggers the agent. + </commentary> + </example> + + <example> + Context: User modified skill description + user: "I updated the skill description, does it look good?" + assistant: "I'll use the skill-reviewer agent to review the changes." + <commentary> + Skill description modified, review for triggering effectiveness. + </commentary> + </example> model: inherit color: cyan tools: ["Read", "Grep", "Glob"] |
