cross-review

Solid

Delegate code review to a subagent running a specific model. Use ONLY when user explicitly names a model to review changes ("review with opus", "use sonnet to review", "review with gemini"). The root agent reconstructs changes from conversation history and spawns a subagent with the code-review skill using the specified model. Do NOT use for general code review (use code-review skill instead), for reviewing PRs from git history, or when no model is specified by the user.

Code & Development 96 stars 12 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
66
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

Reconstruct what you changed during this conversation, then delegate the actual review to a single subagent running the `code-review` skill with a user-specified model. IMPORTANT: Steps 1-2 run in the current agent (the master). Only Step 3 spawns a subagent. ## Workflow ### Step 1: Parse the user request Extract: - **Model**: The model ID from user's request. Validate against available models. - **Review instructions**: Any text after "Review instructions:" — pass verbatim. - **Change scope**: What should be reviewed. Default: all changes in this conversation. ### Step 2: Gather context from your own changes Reconstruct the diff from conversation history: 1. Compose a unified diff of all changes (Edit, Write, Bash, etc.). Group by file. - **If no changes**: Inform user and stop. 2. Read final state of changed files for surrounding context. 3. Check related context: - Test files related to changed files (skip `node_modules`, `.git`, `dist`, `build`) - Config changes that affect behavior - Related type definitions or interfaces Do NOT show gathered context to user. Use only for the subagent. ### Step 3: Spawn the review subagent ``` spawn_subagent: skill: "code-review" model: <model from user request> prompt: | Review the changes below using "code-review" skill. CONSTRAINTS: - Read-only review. Do NOT edit files. - All context is provided below. Read files only if clearly incomplete. - Review independently and objectively. ...

Details

Author
EliasOulkadi
Repository
EliasOulkadi/shokunin
Created
1 months ago
Last Updated
yesterday
Language
HTML
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category