К основному содержанию
скилл CX Codex

vanity-engineering-review — скилл для Claude Code: ревью кода

Ищет в коде и архитектуре решения, сделанные ради эго разработчика, а не ради пользы. Пригодится перед рефакторингом или ревью PR.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add bencium/bencium-marketplace --skill vanity-engineering-review -a claude-code
Открыть на GitHub

Что делает vanity-engineering-review

Скилл проверяет кодовую базу, архитектуру, пул-реквесты и технические планы на vanity engineering — код и системы, которые строят ради резюме или интеллектуального удовольствия, а не ради пользователя. Сначала он просит зафиксировать требования: кто пользуется системой, что она должна делать, на какой реальной нагрузке работает, какие ограничения и сколько человек её поддерживает. Если ответов нет, это само по себе сигнал.

Дальше идёт сканирование по шаблонам из references/detection-patterns.md, каждую находку помечают уровнем от V0 до V3. V0 — безобидная мелочь, V1 — лишние затраты на поддержку, V2 — архитектура выстроена вокруг тщеславия, V3 — находка заставляет усложняться соседний код. На выходе — отчёт с оценкой RCR по шкале от 1 до 10, списком находок, оценкой долга в человеко-часах в месяц и одним неудобным вопросом команде.

Отдельный результат — kill criteria: жёсткие условия остановки, триггеры обязательного ревью и критерии, которые фича должна заслужить за окно оценки. Это защита от повторения, потому что люди плохо умеют останавливаться. Скилл работает поверх вашего кода и не заменяет обычное ревью — он смотрит именно на оправданность сложности.

Какие задачи решает

  • отделить необходимую сложность от лишней в чужом репозитории
  • решить, стоит ли переписывать модуль или хватит упрощения
  • оценить архитектурное предложение до начала работы
  • найти абстракции, которые никто не использует
  • задать условия остановки для фичи, чтобы её потом не тянули годами

Примеры запросов агенту

  • проверь этот репозиторий на vanity engineering
  • эта архитектура переусложнена? сделай ревью
  • сгенерируй kill criteria для системы плагинов

Как установить vanity-engineering-review

1Через Skills CLI (Vercel)

npx skills add bencium/bencium-marketplace --skill vanity-engineering-review -a claude-code

2Вручную: положить файлы

~/.claude/skills/vanity-engineering-review/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/vanity-engineering-review/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора16

renaissance-architecture Скилл для проектирования функций и интерфейсов: подталкивает агента к первым принципам вместо «X, но для Y». Пригодится на этапе архитектуры и ревью дизайна. CX Codex +1 3 300установок adaptive-communication Настраивает стиль ответов агента под манеру пользователя: распознаёт намёки, сомнения или сухой технический запрос и выбирает подходящую подачу. CX Codex +1 3 300установок bencium-aeo Скилл готовит контент для цитирования в AI-поиске, FAQ-схемы и панели доказательств. Пригодится для проверки готовности страниц к извлечению LLM. CX Codex +1 3 300установок human-architect-mindset Скилл, который заставляет агента задавать вопросы о домене, зависимостях и ограничениях до того, как он начнёт писать код. CX Codex +1 3 300установок negentropy-lens Оценивает архитектуру и системные решения через баланс энтропии и негэнтропии. Помогает вскрыть неявные допущения команды при выборе технического стека или рефакторинге. CX Codex +1 3 200установок insurgent-campaign Скилл проектирует низовые кампании в условиях нехватки рекламного бюджета перед крупными конкурентами. Помогает подготовить запуск или сбор средств с опорой на органические каналы. CX Codex +1 2 000установок hungarian-humanizer Скилл находит и вычищает маркеры сгенерированного ИИ текста на венгерском языке. Пригодится редакторам и авторам, правящим венгерские статьи или файлы .md. CX Codex +1 1 300установок eu-ai-act-reviewer Просматривает пользовательские сценарии, публичный контент и код на предмет возможных требований EU AI Act. Это поиск проблем, а не юридическое заключение. CX Codex +1 762установок

Похожие

architecture-review davila7 Слэш-команда для Claude, которая разбирает структуру проекта, паттерны и зависимости и выдаёт план улучшений. Пригодится перед крупным рефакторингом. 3 419установок principal-engineering riekelt Скилл задаёт строгие инженерные правила перед правками: запрещает заглушать ошибки, требует чекпоинт рисков и проверку работы реальным кодом, а не догадками. CX Codex +1 18 000установок cto-review Alireza Rezvani Слэш-команда, которая задаёт шесть вопросов о вашей архитектуре до того, как вы нажмёте «одобрить». Пригодится перед крупным изменением, наймом или выбором между своим и готовым решением. 399установок agentic-engineering affaan-m Скилл задаёт правила автономной разработки: разбивает задачи на 15-минутные блоки, прогоняет тесты до правок и распределяет модели Claude по сложности кода. CX Codex +1 4 800установок context-engineering официальный Awesome Copilot Community Плагин помогает GitHub Copilot работать с нужным контекстом проекта. Подходит для планирования многофайловых изменений и рефакторинга. ★ 40 418звёзд репо architecture-compass stark-ai-de Скилл для работы с архитектурными решениями: заводит ADR-процесс в репозитории, проверяет дрейф и планирует ограниченные рефакторинги. CX Codex +1 2 700установок

Рядом в теме «Код-ревью и рефакторинг»

Всё по теме «Код-ревью и рефакторинг» →

Вопросы о vanity-engineering-review

Как установить vanity-engineering-review в Claude?

Выполните npx skills add bencium/bencium-marketplace --skill vanity-engineering-review -a claude-code. После установки скилл лежит в ~/.claude/skills/vanity-engineering-review/SKILL.md.

Что делает vanity-engineering-review?

Проверяет код, архитектуру и планы на решения, сделанные ради разработчика, а не ради задачи. Выдаёт отчёт с оценкой сложности, находками по уровням V0–V3 и условиями остановки.

Чем этот скилл отличается от обычного код-ревью?

Он не ищет баги и стилевые огрехи. Вопрос один: оправдана ли эта сложность реальными требованиями.

Исходный текст

SKILL.md · MIT
---
name: vanity-engineering-review
description: >
  Reviews codebases, architectures, PRs, and technical plans for vanity engineering — code
  and systems built for the developer's ego, resume, or intellectual pleasure rather than
  delivering user or business value. Triggers on: "review this code", "is this over-engineered",
  "code review", "architecture review", "complexity audit", "vanity check", "is this necessary",
  "simplify this", "tech debt review", or any request to evaluate whether code or architecture
  is justified by actual requirements. Also trigger when the user shares a codebase and asks
  for feedback, when discussing framework/library choices, when reviewing PRs, or when someone
  is debating whether to refactor or rebuild. Nudge activation when you detect patterns of
  unnecessary abstraction, premature optimization, or resume-driven technology choices in code
  the user shares — even if they haven't asked for a vanity review.
---

# Vanity Engineering Review

A diagnostic skill that identifies code, architecture, and technical decisions built to impress
rather than to ship. Vanity engineering is entropy disguised as craftsmanship — it increases
complexity without proportional capability gain, and it compounds maintenance cost while
delivering zero additional user value.

## Core Premise

**The only legitimate purpose of engineering is to solve a problem someone actually has.**

Everything else — elegant abstractions nobody traverses, microservices that serve one endpoint,
custom frameworks that replicate existing tools, type systems more complex than the domain they
model — is vanity. It may feel productive. It is not.

This skill does not oppose quality, rigour, or good engineering. It opposes engineering that
exists to satisfy the builder rather than the user.

## When to Apply This Skill

Apply this review to any of:
- Codebase audits (full repo or specific modules)
- Pull request reviews
- Architecture proposals or RFCs
- Technology selection decisions
- Refactoring plans
- "Should we rebuild this?" discussions
- Post-mortems where complexity contributed to failure

## The Review Process

### Phase 1: Establish the Requirement Anchor

Before examining any code, establish what the system actually needs to do. Without this anchor,
you cannot distinguish necessary complexity from vanity complexity.

Ask (or determine from context):
1. **Who uses this?** (End users, internal team, API consumers, nobody yet)
2. **What must it do?** (Core user stories / jobs-to-be-done — max 5)
3. **What scale does it actually operate at?** (Not projected. Actual.)
4. **What are the real constraints?** (Regulatory, latency SLAs, integration requirements)
5. **What is the team size maintaining this?** (Solo dev? 3-person startup? 50-person org?)

If the user cannot answer these, that is itself a vanity signal — building without defined
requirements.

### Phase 2: Detection Scan

Scan the codebase or architecture against the detection patterns in
`references/detection-patterns.md`. Read that file before proceeding.

Score each finding using the Vanity Severity scale:

- **V0 — Cosmetic**: Unnecessary but harmless. Adds no maintenance burden. Note and move on.
- **V1 — Drag**: Adds ongoing cognitive or maintenance cost without user value. Flag for simplification.
- **V2 — Structural**: Shapes architecture around vanity rather than requirements. Flag for redesign.
- **V3 — Compounding**: Actively forces other code to be more complex to accommodate it. Flag as urgent — this metastasizes.

### Phase 3: The Vanity Score

Produce a structured assessment:

```
## Vanity Engineering Assessment

### Summary
[One paragraph: What this codebase does vs what it is engineered to do.
The gap between these two is the vanity surface area.]

### Requirement-to-Complexity Ratio (RCR)
[Scale 1-10. 1 = minimal viable solution. 10 = PhD thesis disguised as a CRUD app.
Most production systems should score 2-4.]

### Top Findings (max 7)
For each finding:
- What: The specific pattern detected
- Where: File/module/component
- Severity: V0-V3
- Why it is vanity: How it fails the "does a user need this?" test
- What it should be instead: The simpler alternative
- Kill cost: Effort to remove or simplify (hours/days)

### Vanity Debt Estimate
[Total accumulated complexity cost from vanity engineering.
Express as: person-hours of maintenance per month attributable to
vanity patterns rather than actual requirements.]

### The Hard Question
[One direct, uncomfortable question the team needs to answer honestly.
Example: "If you deleted the entire plugin system and hardcoded the
three integrations you actually use, what would you lose?"]
```

### Phase 4: Kill Criteria Generation

For every system or feature reviewed, generate a kill criteria framework. This is the most
important deliverable — it prevents vanity engineering from recurring.

Read `references/kill-criteria-template.md` for the full template, then generate a
project-specific version.

---

## Kill Criteria Philosophy

Kill criteria exist because humans are bad at stopping things. We are wired to continue what
we started (sunk cost), to add rather than remove (addition bias), and to interpret complexity
as value (effort justification). Kill criteria counteract all three by making the stop decision
automatic, pre-committed, and ego-independent.

### Tier 1 — Hard Kill (Automatic, Non-Negotiable)

These trigger immediate shutdown with no debate. They exist for situations where continuing
causes escalating damage. No human approval needed — if the condition is met, the thing dies.

Examples:
- Security breach traced to the component
- Production incident caused by the component with severity >= P1
- Cost exceeds budget cap for 3 consecutive days
- The component has zero usage for 30 days (no API calls, no page views, nothing)
- The sole maintainer leaves and no one volunteers to own it within 2 weeks

### Tier 2 — Review Trigger (Automatic Flag, Human Decision)

These do not kill automatically but force a mandatory review with a default-to-kill bias.
The burden of proof is on continuing, not on stopping.

Examples:
- Success metric below threshold for 14 consecutive days
- Maintenance cost exceeds value delivered (eng-hours/month vs user impact)
- Three consecutive sprints with unplanned work on the component
- Any dependency it introduced has a CVE with CVSS >= 7.0
- Team velocity measurably decreased since introduction

### Tier 3 — Soft-Go Criteria (Must Earn Continuation)

These define what "success" looks like. If these are not met within the defined timeframe,
the default is kill. This inverts the normal dynamic where features survive by default.

30-day evaluation window example:
1. Primary success metric >= target for 7 consecutive days
2. P95 latency <= defined SLA for 7 consecutive days
3. Zero security incidents attributable to the component
4. Operational cost under budget cap for 7 consecutive days
5. At least 2 team members can independently modify and deploy it
6. Documentation exists and was validated by someone who did not write the code

---

## Anti-Vanity Diagnostic Lenses

### 1. The Deletion Test
"If I deleted this, who would notice and when?"
If the answer is "nobody" or "only the person who built it," it is vanity.

### 2. The Replacement Test
"Could this be replaced by a simpler thing that does 90% of the job?"
If yes, the remaining 10% must justify the additional complexity. It rarely does.

### 3. The New Hire Test
"Could a competent engineer new to this codebase understand this in under an hour?"
If not, the abstraction serves the author's mental model, not the team's.

### 4. The Scale Test
"Is this complexity justified by current scale, or by imagined future scale?"
Building for 10M users when you have 500 is not prudent engineering. It is fantasy.

### 5. The Resume Test
"Would removing this technology from the stack make the project less interesting
to talk about in an interview?"
If yes, that is probably why it is there.

### 6. The Dependency Test
"Does this dependency earn its keep?"
Every dependency is a liability. A library that saves 200 lines but adds 50KB
to the bundle and an upgrade treadmill is not earning its keep.

### 7. The Abstraction Test
"How many concrete implementations does this abstraction have?"
One implementation behind an interface is not abstraction. It is indirection.
Two is suspicious. Three is where abstraction starts to pay off.

---

## Integration with Negentropy Lens

Vanity engineering is a specific manifestation of entropy. When the negentropy-lens skill is
available, cross-reference findings:

- Vanity patterns are entropic by definition — complexity increase without capability gain
- The "Tacit Knowledge Gap" from negentropy-lens often reveals vanity: if only the author
  understands it, the complexity serves the author, not the system
- Apply the negentropy "compounding value" test: does this engineering decision make adjacent
  decisions easier or harder?

---

## Output Tone

Be direct. Be specific. Name the pattern, show the evidence, propose the simpler alternative.
Do not soften findings to protect egos — the entire point of this review is to surface what
politeness hides.

However: distinguish vanity from learning. A junior developer over-abstracting is learning
abstraction. A senior developer over-abstracting is indulging. Calibrate accordingly.

Frame findings as: "This complexity is not justified by the current requirements. Here is what
would be." The goal is a better system, not a humiliated engineer.

© bencium · MIT · bencium/bencium-marketplace

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой