design-review

Reviews code changes against SOLID, DRY, KISS, and YAGNI principles before completion.

1|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/TierOne-Studio/spa-velocity --skill design-review-tierone-studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-review
Source: https://github.com/TierOne-Studio/spa-velocity/tree/main/.ruler/skills/design-review
Command: npx skills add https://github.com/TierOne-Studio/spa-velocity --skill design-review-tierone-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code changes often get declared done without a structured quality check, letting duplication, hidden coupling, and speculative abstractions slip into the codebase. This Skill enforces a final design review pass on every executable-code deliverable so quality gates are applied consistently. ## Core Features & Use Cases - Principle-based review grid: Evaluates changes against SOLID, DRY, KISS, SoC, YAGNI, cohesion/coupling, fail-fast, explicitness, and single source of truth, with a required pass/fail output block. - Anti-pattern detection: Flags concrete anti-patterns such as try/catch as a fix, retry loops masking failures, premature abstraction, and vague Manager/Helper/Util naming, with TypeScript examples. - Confidence calibration: Applies a 5-item rubric (tests, principles, reviewer findings, domain gates, assumptions) producing a numeric confidence score with a 0.9 gate before declaring done. - Use Case: After implementing a new React hook or API endpoint, run this review to produce the Design review block and Confidence line that the acceptance script verifies. ## Quick Start Review my latest code change against the design principles and output the design review block with a confidence score.

Frequently Asked Questions about design-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review code against SOLID and DRY principles?

Run a structured design review pass that scores the change against each principle in a fixed output grid: SOLID, DRY, KISS, SoC, YAGNI, cohesion/coupling, fail-fast, explicitness, and single source of truth. Each item gets a pass, pass-with-note, or fail verdict with a one-line justification.

What is a design review checklist for code changes?

A pre-done checklist covering simplicity, duplication, separation of concerns, cohesion, explicit behavior, single source of truth for business rules, typed actionable errors, no retries or try/catch bandages, no speculative abstractions, backward compatibility, and confidence at or above 0.9.

When should a design review be skipped?

Skip it only for non-code outputs such as documentation, content, JQL, SQL reads, or plain explanations. All executable-code deliverables require the review block, or an explicit waiver line stating why it was waived.

How is the confidence score calculated in a code review?

A 5-item rubric assigns up to 0.20 each for passing tests, checked principles, no HIGH reviewer findings, passed domain gates, and no open assumptions. Scores are never rounded up, and 0.9 is the minimum gate for declaring work done.

What are common code anti-patterns to avoid in TypeScript?

Common anti-patterns include try/catch used to swallow errors, retry loops masking failures, generic Manager/Helper/Util naming, premature generic abstractions with one caller, unused configuration flags, and hidden side effects inside getters.