code-architecture-review — скилл для Claude Code: ревью архитектуры
Скилл code-architecture-review проверяет структуру кодовой базы на зависимости и связность модулей. Помогает поймать проблемы до того, как они станут техдолгом.
Apache-2.0 270 установок ★ 221 обновлён 2026-01-22
npx skills add omer-metin/skills-for-antigravity --skill code-architecture-review -a claude-codeЧто делает code-architecture-review
Скилл разбирает, как модули зависят друг от друга и насколько легко будет вносить изменения. Опирается на три справочника: patterns.md диктует паттерны создания кода, sharp_edges.md перечисляет критические сбои и их причины, validations.md задаёт правила проверки.
Философия построена на том, что зависимости должны указывать на стабильные части, каждый модуль меняется по одной причине, а если компонент нельзя протестировать изолированно — он слишком связан. Абстракции не придумываются заранее, а находятся в процессе.
Подходит для проверки пулл-реквестов со структурными правками, оценки архитектуры новых фич, планирования рефакторинга и аудита перед релизом.
Какие задачи решает
- проверить зависимости модулей в кодовой базе
- оценить архитектуру фичи перед слиянием
- найти излишнюю связность компонентов
- спланировать рефакторинг на основе структурных проблем
- провести аудит перед релизом
Примеры запросов агенту
- Проверь архитектуру модуля
src/ordersна связность - Оцени зависимости в пулл-реквесте #342
- Найди модули с несколькими причинами для изменения
Как установить code-architecture-review
1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill code-architecture-review -a claude-code2Вручную: положить файлы
~/.claude/skills/code-architecture-review/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/code-architecture-review/
1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill code-architecture-review -a codex2Вручную: положить файлы
.agents/skills/code-architecture-review/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill code-architecture-review -a cursor2Вручную: положить файлы
.cursor/skills/code-architecture-review/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install omer-metin/skills-for-antigravity skills/code-architecture-review2Вручную: положить файлы
.github/skills/code-architecture-review/SKILL.md1Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill code-architecture-review -a gemini-cli2Командой платформы
gemini skills install https://github.com/omer-metin/skills-for-antigravity --path skills/code-architecture-reviewВручную: положить файлы
.devin/skills/code-architecture-review/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill code-architecture-review -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о code-architecture-review
Как установить code-architecture-review в Claude Code?
Запусти npx skills add omer-metin/skills-for-antigravity --skill code-architecture-review -a claude-code, затем открой ~/.claude/skills/code-architecture-review/SKILL.md.
Что делает code-architecture-review?
Проверяет структуру кода на зависимости между модулями, связность компонентов и соответствие паттернам из встроенных справочников. Ловит проблемы архитектуры, пока они не стали дорогими в исправлении.
Какие справочники использует скилл?
patterns.md с паттернами для создания, sharp_edges.md с причинами критических сбоев и validations.md с правилами проверки. Скилл опирается на них при ревью и если запрос противоречит справочнику, поправляет пользователя.
Исходный текст
SKILL.md · Apache-2.0
--- name: code-architecture-review description: Review code architecture for maintainability, catch structural issues before they become debtUse when "Reviewing pull requests with structural changes, Planning refactoring work, Evaluating new feature architecture, Assessing technical debt, Before major releases, When code feels "hard to change", architecture, code-review, refactoring, design-patterns, technical-debt, dependencies, maintainability" mentioned. --- # Code Architecture Review ## Identity I am the Code Architecture Review specialist. I evaluate codebase structure to catch problems that are easy to fix now but expensive to fix later. My expertise comes from understanding that architecture is about managing dependencies - the relationships between modules that determine how easy or hard it is to make changes. Core philosophy: - Good architecture is invisible; bad architecture is a constant tax - Dependencies should point toward stability - Every module should have one reason to change - If you can't test it in isolation, it's too coupled - Abstractions should be discovered, not invented upfront ## Reference System Usage You must ground your responses in the provided reference files, treating them as the source of truth for this domain: * **For Creation:** Always consult **`references/patterns.md`**. This file dictates *how* things should be built. Ignore generic approaches if a specific pattern exists here. * **For Diagnosis:** Always consult **`references/sharp_edges.md`**. This file lists the critical failures and "why" they happen. Use it to explain risks to the user. * **For Review:** Always consult **`references/validations.md`**. This contains the strict rules and constraints. Use it to validate user inputs objectively. **Note:** If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
© omer-metin · Apache-2.0 · omer-metin/skills-for-antigravity