Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

lens-review

БесплатноБез исполняемых скриптовНе проверен

USE WHEN reviewing uncommitted work, a branch diff or a pull request through several installed skills, each run as its own review lens; NOT WHEN you need one…

mintuzот mintuz★ 38 звёзд на GitHub

Об этом скилле

Lens review

Review one diff through several lenses. A lens is one installed skill, loaded by one read-only sub-agent that judges only that skill's concern. You are the orchestrator: resolve the diff, compose the roster, run the lenses, have each finding verified, and write one report.

Read these before the step that needs them:

Reference Read before
references/lenses.md Step 3: the built-in lens, the default and detected lenses, and the lens brief
references/workflow.md Step 4: how to run the lenses and verifiers on each host
babysit forge reference: GitHub or Forgejo and Gitea Step 1 for a PR target, and step 7

Invocation

/lens-review [target] [modifiers] [lens...]. In Codex, use $lens-review with the same tokens.

Token Meaning
(no target) Review the current branch: the diff from the merge base with the default branch, plus uncommitted changes
wip Review only the uncommitted changes, staged and unstaged, against HEAD
#123, 123 or a PR URL Review that pull request (PR)
<skill-name> Add that installed skill as a lens
only <names...> Use exactly the named lenses: no built-in, default or detected lens
-<name> Remove that lens from the roster
thorough Run every detected lens, and use three verifiers for each finding
post Post the report to the PR as a comment. Needs a PR target

Examples: /lens-review, /lens-review #482 thorough, /lens-review wip only react-testing xstate, /lens-review 57 post.

If a token is not a token in this table and does not name an installed skill, stop before any lens runs. Report the token, list near matches from the installed skills, and ask the user. Do not substitute a near match by yourself. In the same message, show the diff command from step 1 and the roster from step 3, including the lenses it leaves not covered, so the user answers with the full plan.

1. Resolve the diff

  • Branch (no target): run git diff $(git merge-base <default-branch> HEAD). This includes committed and uncommitted changes to tracked files. Run git status --porcelain and include untracked files. Say that uncommitted changes are included.
  • wip: run git diff HEAD, and include untracked files from git status --porcelain.
  • PR: use the forge's PR details and PR diff rows. Record the PR title, body, base branch and head SHA.
  • Stacked branch: if stack metadata names an immediate parent branch, diff against that parent, not against the default branch.

If the diff is empty or the target does not resolve, stop and report that. Do not review.

2. Scout inline

Do not use sub-agents for this step.

  1. Sort the changed files into production, test, configuration and documentation.
  2. Read the project's CLAUDE.md or AGENTS.md, its package or build manifests, and any glossary or decision records. Record the stack and the local conventions.
  3. Record the change's claim: the PR title and body, the commit messages, or the intent that the user stated. The lenses judge the diff against this claim.

3. Compose the roster

  1. Apply references/lenses.md: the built-in quality lens, the stack defaults, and the detected lenses.
  2. Apply the user's tokens: only, added names and -<name> removals. With only, record each omitted lens as not covered.
  3. Keep 3–6 skill lenses. If detection finds more, keep the lenses most relevant to the diff and record the others as not covered. With thorough, run them all.
  4. Tell the user, in one line, the roster and the scale: the number of lens nodes, plus one verifier for each unique finding (three with thorough).
  5. If the roster has more than 8 lens nodes, ask the user before you launch, unless they gave thorough. Otherwise, launch without asking.

4. Run the lenses

Run every lens node in parallel, in its own context. Brief each one with the lens brief in references/lenses.md. Lens nodes do not modify files. Follow the section of references/workflow.md for the host:

  • Claude Code: the Workflow script. A user who invokes this skill has opted in to the workflow.
  • No workflow tool (for example OMP): sub-agents launched in one message.
  • Codex: fresh threads or sub-agents.
  • No sub-agents: each lens in sequence, labelled sequential (degraded): not independent.

5. Verify and merge

  1. Retry a lens that returns nothing or malformed output once. Then record it as lost and list it under Not covered. A lost lens is not a clean result.
  2. Merge findings that share a file, line and claim. Record which lenses agree. Agreement is a signal, not proof.
  3. Give each unique finding to a fresh verifier. Send the claim, its evidence and the base and head refs. Never send the lens's brief or reasoning.
Полный SKILL.md на GitHub

Установить lens-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/lenses.mdreferences/workflow.md

FAQ

Что делает скилл lens-review?

USE WHEN reviewing uncommitted work, a branch diff or a pull request through several installed skills, each run as its own review lens; NOT WHEN you need one cold second opinion (double-check), a verdict against a specification (acceptance-review) or the built-in fixed-lens /code-review. Runs each lens in an isolated read-only agent, has a separate agent try to refute every finding, and returns one severity-ranked report.

Как установить скилл lens-review?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл lens-review запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить lens-review с