Skip to content

[Bug]: Missing code block markers in agent Output Format sections #111

@sjnims

Description

@sjnims

Bug Description

Two agent files (agent-creator.md and skill-reviewer.md) have missing opening code block markers in their Output Format sections. This causes the output format templates to be rendered as actual markdown rather than displayed as code examples for the agent to follow.

Affected Files

1. plugins/plugin-dev/agents/agent-creator.md

Location: Lines 145-178

The Output Format template section is missing its opening ``` marker:

**Output Format:**
Create agent file, then provide summary:

## Agent Created: [identifier]    ← Should start with ```markdown here
...
[Recommendations for testing, integration, or improvements]

**Edge Cases:**
...
```                                This closing marker has no opening

2. plugins/plugin-dev/agents/skill-reviewer.md

Location: Lines 107-191

Same issue - the Output Format section is missing its opening ``` marker:

**Output Format:**

## Skill Review: [skill-name]     ← Should start with ```markdown here
...
3. [Third priority]

**Edge Cases:**
...
```                                This closing marker has no opening

Steps to Reproduce

  1. Load the plugin with cc --plugin-dir plugins/plugin-dev
  2. Trigger the agent-creator or skill-reviewer agent
  3. Observe that the Output Format section in the system prompt is rendered as markdown rather than shown as a template

Expected Behavior

The Output Format sections should be wrapped in code blocks so the agent sees them as templates to follow, not as rendered markdown content.

Actual Behavior

The Output Format templates are rendered as markdown because the opening markers are missing while closing markers exist.

Proposed Fix

Add opening code block markers:

agent-creator.md - Add ```markdown before line 145 (before ## Agent Created: [identifier])

skill-reviewer.md - Add ```markdown before line 109 (before ## Skill Review: [skill-name])

Environment

  • Plugin Version: 0.1.0
  • Files: plugins/plugin-dev/agents/agent-creator.md, plugins/plugin-dev/agents/skill-reviewer.md

Additional Context

Note: plugin-validator.md does NOT have this issue - its code blocks are properly formatted.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions