Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions plugins/compound-engineering/skills/ce-code-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,11 @@ Do not include time estimates.

In `mode:headless`, replace the interactive pipe-delimited table report with a structured text envelope. The envelope follows the same structural pattern as document-review's headless output (completion header, metadata block, findings grouped by autofix_class, trailing sections) while using ce-code-review's own section headings and per-finding fields.

**Formatting rule:** The `Skill: ce-code-review` line immediately after the completion header is the stable skill discriminator for programmatic callers.

```
Code review complete (headless mode).
Skill: ce-code-review

Scope: <scope-line>
Intent: <intent-summary>
Expand Down
3 changes: 3 additions & 0 deletions tests/review-skill-contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ describe("ce-code-review contract", () => {
// Structured output format
expect(content).toContain("### Headless output format")
expect(content).toContain("Code review complete (headless mode).")
expect(content).toContain("Skill: ce-code-review")
expect(content).toMatch(/Code review complete \(headless mode\)\.\nSkill: ce-code-review/)
expect(content).toContain("stable skill discriminator for programmatic callers")
expect(content).toContain('"Review complete" as the terminal signal')

// Applies safe_auto fixes but NOT safe for concurrent use
Expand Down