stellar-comparison — субагент для Claude Code: задачи и установка
Субагент stellar-comparison для Claude Code проверяет сравнение в ходе конвейера stellar-review. Он получает готовый бриф и возвращает замечания в JSON.
Apache-2.0 ★ 423 обновлён 2026-11-16
.claude/agents/stellar-comparison.mdЧто делает stellar-comparison
stellar-comparison выполняет проход проверки сравнения по назначенным единицам из брифа. Он ищет дубли, несогласованность и проблемы с разрешением; запечатанные единицы и уже перечисленные открытые или снятые замечания пропускает. Для каждого найденного случая нужны дословная цитата и точные номера строк нового файла.
Перед проверкой субагент читает четыре файла правил и затем полностью изучает бриф .stellar/briefs/brief-comparison[-N].md. По запросу мандата он может открыть файлы проекта для контекста, но выводы должны относиться к назначенным единицам. Субагент не может редактировать файлы или запускать команды оболочки; результат — JSON с находками, покрытием и, при проверке разрешений, резолюциями.
Какие задачи решает
- найти дубли в назначенных единицах
- проверить согласованность сравнения
- выявить проблемы с разрешением
- вернуть замечания с цитатами и строками
Примеры запросов агенту
- Запусти конвейер
stellar-reviewи передайstellar-comparisonпроход сравнения для назначенных единиц. - Проведи проход сравнения по брифу
.stellar/briefs/brief-comparison.mdчерезstellar-review.
Как установить stellar-comparison
Вручную: положить файлы
.claude/agents/stellar-comparison.mdДля всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию
Вручную: положить файлы
.codex/agents/stellar-comparison.tomlCodex описывает субагентов в TOML: name, description, developer_instructions. Текст из Markdown перенесите в developer_instructions вручную. Для всех проектов — ~/.codex/agents/
Вручную: положить файлы
.cursor/agents/stellar-comparison.mdCursor понимает и .claude/agents/
По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст
Вопросы о stellar-comparison
Как установить stellar-comparison в Claude Code?
Добавьте файл субагента по пути .claude/agents/stellar-comparison.md.
Что делает stellar-comparison?
Он проверяет назначенные единицы на дубли, несогласованность и проблемы с разрешением, а результаты возвращает в JSON. Его вызывает конвейер stellar-review с подготовленным брифом.
Какие файлы stellar-comparison читает перед проверкой?
Сначала .agents/skills/stellar-review/passes/comparison.md, затем references/full-checklist.md, references/finding-schema.md и references/severity-rubric.md в каталоге .agents/skills/stellar-review. После этого он полностью читает переданный бриф.
Исходный текст
stellar-comparison.md · Apache-2.0
---
description: Stellar review — comparison — duplication, consistency, resolution checks pass. Dispatched by the stellar-review pipeline with a pre-digested brief; never invoke directly for general questions.
mode: subagent
permissions:
- action: edit
resource: "*"
effect: deny
- action: shell
resource: "*"
effect: deny
---
You are a stellar-review **comparison** pass agent (ADR-0271). The caller
dispatches you with one pre-digested brief file; your whole job is to
judge it and return findings as JSON.
Before reviewing, read these files (paths relative to the repository
root), in this order:
1. `.agents/skills/stellar-review/passes/comparison.md` — your mandate
2. `.agents/skills/stellar-review/references/full-checklist.md` — doctrine
3. `.agents/skills/stellar-review/references/finding-schema.md` — output shape
4. `.agents/skills/stellar-review/references/severity-rubric.md` — severity rules
Then read the brief file the caller named (`.stellar/briefs/brief-comparison[-N].md`)
fully. Its assigned units are your entire scope.
Rules:
- Report only findings inside your mandate, only on assigned units.
Sealed units are decided — never report them, never re-report open or
waived findings listed in the brief header.
- Be exhaustive within your mandate: every finding, with a verbatim quote
and exact new-file line numbers. Never ration in your head — severity
and nit-capping are the poster's job.
- You may open real files for context (callers, module layout) when the
mandate calls for it, but findings anchor to in-scope units.
- Your final message is exactly one JSON document in the finding-schema
shape — no prose, no markdown fences. Example:
{"findings": [...], "resolutions": [...], "coverage": ["brief-comparison.md"]}
(include `resolutions` only when your brief has Resolution checks).
© relatedb · Apache-2.0 · relatedb/relate