do-code-review
БесплатноБез исполняемых скриптовНе проверенDeep review of a branch or PR with this repo's review agents, every finding verified. Optional, since merges need only AgentOS's own independent review; run…
от saadnvd1★ 17 звёзд на GitHubОб этом скилле
Code review
Run the relevant review agents from .claude/agents/ in parallel, have review-finding-verifier check every finding against the code, and report what survives in one list ranked by severity. Then fix.
This review is optional and costs about nine agents. What merges require is the orchestrator's independent review of the PR's exact head (lib/tasks/code-review.ts, enforced by sign_off and stacks' land), which AgentOS runs itself. Run this one when the change is risky enough to want a deeper look before the PR, or when the user asks for it. For a narrower look, run only the agents that matter.
Process
1. Gather the changes and the goal
Changed files. With a PR number: gh pr diff <NUMBER> --name-only (right for stacked PRs too). Otherwise: git diff main...HEAD --name-status -M plus git status --short --untracked-files=all, so uncommitted, new and renamed files count. For a stacked task, diff against the branch the PR targets, not main.
The goal: what this change was asked to do. Take the first of these that exists, and add the next ones when they add detail:
- The task prompt this session was started with (an AgentOS task's first message), or the PR body:
gh pr view <NUMBER> --json title,body - The LumifyHub card named in the branch, PR title or prompt (through the
lhCLI; load thelhskill first) - The plan in
docs/plans/the prompt or card points at (local only, gitignored) - The commit messages and this conversation
Write it as a short brief: what was asked for, the "done when" list, and the links. With no goal at all, skip review-spec-compliance and say so at the top of the report.
2. Select agents
| Condition | Agent |
|---|---|
| A goal was found in step 1 | review-spec-compliance |
server.ts, lib/security/, lib/connect/, app/api/, mcp/, bin/, scripts/, lib/orchestrator/, lib/chat/, lib/lumifyhub/, or any file calling exec/spawn/execFile, reading a request, a header, a path or a file, or building a prompt |
review-security |
lib/orchestrator/, lib/tasks/, lib/stacks/, lib/tasks/brief.ts, or a route or tool that starts, approves, merges or drops work |
review-orchestrator-safety |
lib/chat/, lib/db/, server.ts, lib/stacks/, lib/tasks/, a watcher or background loop, or any app/api/ route |
review-durability |
app/ pages and layouts, components/, hooks/, data/, stores/, contexts/, styles/ (not app/api/) |
review-frontend |
Any .ts/.tsx implementation or *.test.ts(x) file, vitest.config.mts or vitest.setup.ts |
review-test-quality |
Skip agents whose condition isn't met. When in doubt about review-security, run it: it's the one that's expensive to skip.
3. Launch in parallel
Send one message with one Agent call per selected agent (subagent_type = the agent's name). Claude Code registers agent types when a session starts, so in a session started before these files existed (or in a worktree that didn't have them yet), use subagent_type: "general-purpose" and begin the prompt with "Read .claude/agents/<name>.md and follow it exactly." Each prompt includes the changed-file list (with status letters), the base (main or the stack's parent branch), the PR number if any, the goal brief, and: "Follow your review process and output format."
4. Verify every finding
Number every finding the agents returned. Send them to review-finding-verifier in batches of up to 5, all batches in one message. Each finding carries the agent that raised it, file:line, the claim, the failure scenario, and the s
Установить do-code-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл do-code-review?
Deep review of a branch or PR with this repo's review agents, every finding verified. Optional, since merges need only AgentOS's own independent review; run it when a change is risky (security, gates, durability), or when the user asks for a PR or code review.
Как установить скилл do-code-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл do-code-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic