review
Review code changes from the current session. Spawns a reviewer subagent, then the parent agent verifies every finding before presenting results to the user.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review code changes from the current session. Spawns a reviewer subagent, then the parent agent verifies every finding before presenting results to the user.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Check health of the homelab-backup service — last run status, next scheduled run, R2 bucket contents, and local archive state. Quick mobile-friendly summary.
Delete a blog post or review from blog.carter2099.com. Soft-deletes the markdown file (moved to deleted/ directory) and destroys the database record.
Edit an existing blog post or review on blog.carter2099.com. Find by title/ID, show current content, collaboratively revise, preview changes, then update.
Create a new blog post on blog.carter2099.com. Collaboratively draft and polish markdown content, preview it, then publish — triggering subscriber email notifications via the Rails app.
Create a new review on blog.carter2099.com (Book, Movie, Show, Product, or Video Game). Collaboratively draft content, preview it, then publish — triggering subscriber email notifications via the Rails app.
Audit the homelab for outdated software and report findings. Use when user says "check for updates", "what's outdated", "audit the homelab", "run update check", or wants a system health report.
| name | review |
| description | Review code changes from the current session. Spawns a reviewer subagent, then the parent agent verifies every finding before presenting results to the user. |
Review changes made in the current session by spawning a dedicated reviewer subagent. The parent agent does NOT act on findings blindly — it verifies each one before presenting results.
If the user specified a target (file, directory, commit range, PR, etc.), use that directly.
If the user just said /review with no target, scan the session for what was changed:
git diff / git status in the active repoIf you genuinely cannot determine what should be reviewed, ask the user: "What should I review? (file, directory, PR number, or commit range)"
Never guess a scope — if it's unclear after a reasonable scan, ask.
Before spawning the reviewer, collect and write the relevant context to a temporary file so the reviewer has everything it needs:
git diff or git diff <base>)Write this to a local artifact: local://review-context.md
Use the task tool to spawn a subagent with agent: "reviewer" (case-insensitive; the harness resolves it). The prompt MUST include:
local://review-context.mdcritical | high | medium | low | stylelocal://review-findings.mdExample task:
# Target: review changed files documented in local://review-context.md
# Change: read local://review-context.md for full context. Perform a thorough code review. For each finding, note severity (critical/high/medium/low/style), file + line range, the issue, and a concrete fix recommendation. Write findings to local://review-findings.md.
# Acceptance: local://review-findings.md contains all findings in the structured format. No project-wide commands (no test runs, no linters).
If local://review-context.md is large, reference it by URI rather than inlining — the subagent reads it via the read tool.
Once the reviewer returns, read local://review-findings.md. Do NOT present findings to the user until you have verified each one.
For each finding:
critical or high, confirm it with additional evidence (e.g., check callers, grep for related patterns, check if it would actually break at runtime)Discard findings that don't hold up on verification (state the reason). Downgrade severity if the reviewer overestimated impact. Keep verified findings as-is.
Present verified findings in a clean format:
## Code Review — <scope>
### Critical
- **<file>:<line>** — <finding>
→ <recommendation>
### High
- ...
### Medium
- ...
### Low
- ...
### Style
- ...
Then suggest which findings should be addressed and in what order. Ask: "Apply these fixes?"
Do NOT apply any fixes unless the user explicitly confirms. If they confirm, apply them in the order presented (critical first).