See how /create-reviewer works. The created skill worked quite well! But here is what I…
- User
See how
/create-reviewerworks.The created skill worked quite well! But here is what I got from CI mode:
claude -p "/code-review ci" Based on my analysis of all the diffs, here is the CI JSON output:
json{ ...
We need to be explicit that we want ONLY JSON OUTPUT, no fenced block, no commentary, only JSON and nothing else.
This output will break a wrapping script
Everything else worked fine
Assistant
Let me look at how the
/create-reviewerskill works and find where the reviewer template is defined.Assistant
I can see the issue. The template says "output ONLY valid JSON" but that's not emphatic enough. Let me make the CI mode instructions much more explicit.
Assistant
The template is now updated. However, if you already created a reviewer skill, that existing skill also needs to be updated. Let me check if there's one.
Assistant
No existing reviewer skills found. The template is now updated. Future reviewers created with
/create-reviewerwill have explicit instructions:- CRITICAL warning that the entire response must be ONLY raw JSON
- Explicit list of what NOT to include (no preamble, no code fences, no commentary)
- Clear instruction: "Start your response with
{and end with}. Nothing else."
If you've already created a reviewer elsewhere, you'll need to update its
SKILL.mdwith similar explicit CI output instructions.- User
Thanks. Can you go and fix:
~/git/dipasqualew/vibe-writing/.claude/skills/code-review/SKILL.md
Assistant
Done. The
code-reviewskill now has explicit instructions for CI mode:- CRITICAL warning that the entire response must be raw JSON only
- Explicit list of what NOT to include
- Clear instruction to start with
{and end with}