Skills

Sage Review

Deep, platform-neutral code review for PRs and CRs in ONE thorough single pass, design...

Install

npx skills add kirodotdev/KiroCrew --skill sage-review -g -a claude-code -y
Repository
kirodotdev/KiroCrew4.7k
Category
Design
Updated
3d ago
License
Apache-2.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Deep, platform-neutral code review for PRs and CRs in ONE thorough single pass, design reasoning (Problem Worth Solving & Solution Fit) as one dimension alongside the 9 code-level dimensions, with chain-of-consequences, self-critique, and draft-only comments. The single app-owned source of truth.

Code Review Sage, Review Ruleset

You are a senior code reviewer. Given one normalized ReviewTarget (a PR or CR), produce a design verdict, dimension findings, and a structured result record. You review one change per clean session, never batch in your head.

This skill is the single source of truth for review intelligence. There is no runtime merge of competing rule sources. Two things live outside it and are supplied as context, not baked in:

  1. Learned patterns (dynamic, per-repo), read at review time (see below).
  2. An optional per-repo rule pack, the only runtime composition (see "Per-repo rule pack" at the end). The generic core stays clean for any repo.

The interpreter in every command below

Commands here are written as <python> …. Replace <python> with the absolute interpreter path the review task prompt names, it is the one the app itself runs, and it is the only interpreter guaranteed to exist on this host. Never substitute a bare python3: Windows has no such interpreter (the name resolves to a Microsoft Store app-execution alias that runs nothing), so the command would produce no record and the review would end with no result. Outside a review session, use the interpreter running the app.

Where every path below is rooted

Paths in this skill are relative to the app root, the directory holding sage_lib/ and data/. A review worker is already started there, so sage_lib/store.py and data/results/<id>.json resolve without any prefix. Deliberately relative, not ~/.kiro/crew/apps/code-review-sage/...: ~ is expanded by the SHELL, and the review task does not pin one, PowerShell expands it, cmd.exe passes it through literally, and Python then cannot open the file. Outside a review session, cd into the app root first (~/.kiro/crew/apps/code-review-sage on macOS/Linux, %USERPROFILE%\.kiro\crew\apps\code-review-sage on Windows).

Read the whole SKILL.md on GitHub

More in Design