vanity-engineering-review
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.
NPX Install
npx skill4agent add bencium/bencium-claude-code-design-skill vanity-engineering-reviewTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Vanity Engineering Review
Core Premise
When to Apply This Skill
- 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
- Who uses this? (End users, internal team, API consumers, nobody yet)
- What must it do? (Core user stories / jobs-to-be-done — max 5)
- What scale does it actually operate at? (Not projected. Actual.)
- What are the real constraints? (Regulatory, latency SLAs, integration requirements)
- What is the team size maintaining this? (Solo dev? 3-person startup? 50-person org?)
Phase 2: Detection Scan
references/detection-patterns.md- 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
## 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
references/kill-criteria-template.mdKill Criteria Philosophy
Tier 1 — Hard Kill (Automatic, Non-Negotiable)
- 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)
- 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)
- Primary success metric >= target for 7 consecutive days
- P95 latency <= defined SLA for 7 consecutive days
- Zero security incidents attributable to the component
- Operational cost under budget cap for 7 consecutive days
- At least 2 team members can independently modify and deploy it
- Documentation exists and was validated by someone who did not write the code
Anti-Vanity Diagnostic Lenses
1. The Deletion Test
2. The Replacement Test
3. The New Hire Test
4. The Scale Test
5. The Resume Test
6. The Dependency Test
7. The Abstraction Test
Integration with Negentropy Lens
- 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?