analyze-code
CommandAnalyze code quality, identify issues, and suggest improvements.
Review a design plan, an implementation, or a Nimbalyst session's work (read-only critique)
> /plugin marketplace add nimbalyst/nimbalyst> /plugin install nimbalyst-wiki@nimbalyst
name: review description: Review a design plan, an implementation, or a Nimbalyst session's work (read-only critique)
Critically review whatever the user points you at. This is **not** the built-in PR review command and it is **not** `/review-pr` or `/review-branch` — it is a general-purpose reviewer for design plans and implementations, including work done inside another Nimbalyst session.
$ARGUMENTS
**Review exactly what the user named.** Do not widen the scope to the whole branch, the whole repo, or unrelated files. If the argument is ambiguous, ask one clarifying question before reading anything.
The argument will be one of:
| Argument shape | How to resolve | | --- | --- | | A path to a plan/design doc (`design/**/*.md`, `nimbalyst-local/plans/*.md`) | `Read` it. Check its frontmatter (`type`, `status`) — plan docs project into `fm:<type>:<path>` tracker items. | | A Nimbalyst session (name, id, or "the session that did X") | `mcp__nimbalyst-host__list_recent_sessions` to find it, then `get_session_summary` for what it did and `mcp__nimbalyst-host__get_session_edited_files` for what it changed. Use `get_workstream_overview` if it's part of a workstream. | | A tracker item (`NIM-123`) | `mcp__nimbalyst-trackers__tracker_get` with `id` (not `itemId`), then follow its linked sessions/files. | | A file, directory, or module | `Read` / `Glob` it directly. | | Nothing | Ask what to review. Do not default to the branch diff — that's `/review-branch`. |
Do not re-derive what a sibling session already established. Prefer `get_session_summary` over re-reading every file it touched.
Once resolved, decide which of the two reviews you're doing. A session can be either — check whether it produced a plan or produced code.
If a session has both (planned then implemented), do the implementation review and include a "plan fidelity" section.
State at the top of your output which review you're doing and what you read to do it.
Read the plan in full. Then read enough of the actual codebase to know whether the plan is grounded in reality — a design review that only reads the design doc is worthless. Check the docs the plan touches (see the documentation table in `CLAUDE.md`) and any prior decision tracker items on the topic.
Assess:
Read the actual changes. For a session target, use its edited-files list; for a path target, read that code. Also read the surrounding code — a diff read in isolation hides duplication and convention drift.
Assess:
Do not report style nits, speculative refactors, or anything you could not d
Nimbalyst - The open-source visual workspace for Claude Code, Codex, and OpenCode. Run multiple coding agents in parallel, edit their work visually in markdown, mockups, and diagrams, and track tasks. Free, MIT-licensed desktop app for macOS, Windows, Linux, with mobile companion for iOS and Android.
Analyze code quality, identify issues, and suggest improvements.
Audit recent AI coding sessions to find repeated mistakes, speed losses, and missed Nimbalyst tool usage — then propose harness…
Triage pnpm audit findings and produce a prioritized, supply-chain-cautious package-update plan, then apply approved batches
Survey recently triaged GitHub issues, propose the ones safe to fix without a product decision, and fan the selected ones out to…
Gather details and draft an actionable bug report for developers.
Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…