Harness Component — Command
OCR: Create Reviewer
Create a new custom reviewer from a natural language description.
Definition
Usage
/ocr-create-reviewer {name} --focus "{description}"
Examples
create-reviewer rust-safety --focus "Memory safety, ownership patterns, lifetime management, unsafe block auditing"
create-reviewer api-design --focus "REST API design, backwards compatibility, versioning, error response consistency"
create-reviewer graphql --focus "Schema design, resolver efficiency, N+1 queries, type safety"
What it does
Creates a new reviewer markdown file in .ocr/skills/references/reviewers/, following the standard reviewer template structure, and automatically syncs the metadata so the dashboard can see the new reviewer.
Steps
-
Parse arguments: Extract the reviewer name and
--focusdescription from the arguments.- Normalize the name to a slug: lowercase, hyphens for spaces, alphanumeric + hyphens only
- Example: "API Design" →
api-design
-
Check for duplicates: Verify
.ocr/skills/references/reviewers/{slug}.mddoes NOT already exist.- If it exists, report: "Reviewer
{slug}already exists. Edit the file directly at.ocr/skills/references/reviewers/{slug}.md." - Stop — do not overwrite.
- If it exists, report: "Reviewer
-
Read the template (REQUIRED — this is the source of truth for reviewer structure): Read
.ocr/skills/assets/reviewer-template.md. This file defines the exact sections, ordering, and format every reviewer MUST follow. Do not invent sections or skip sections — adhere to the template. -
Read exemplars: Read 2-3 existing reviewer files from
.ocr/skills/references/reviewers/as style reference. Good choices:- One holistic reviewer (e.g.,
architect.mdorfullstack.md) - One specialist reviewer close to the requested domain (if applicable)
- Study the tone, section depth, and specificity level
- One holistic reviewer (e.g.,
-
Generate the reviewer file: Write a complete reviewer markdown file that follows the template structure from step 3:
- Starts with
# {Display Name} Reviewer(title case, no "Principal" prefix — a
- Starts with