test-design-reviewer
Assess test suite quality using Farley's 8 Properties and Tautology Theatre detection.
Skill by maroffo
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/maroffo-test-design-reviewer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, testing, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/test-design-reviewer
What's inside
- Skill name
test-design-reviewer- Description
- Assess test suite quality using Farley's 8 Properties and Tautology Theatre detection. Use when user says review tests, test quality, are my tests good, test assessment, or test design review. Not for writing tests (use language skills) or code review (use gemini-review).
- License
- MIT
- Instructions
- 141 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- SKILL.md
- cli_calculator.py · lib/
- core.py · lib/
- scoring.py · lib/
- bands.md · references/
- scoring.md · references/
SKILL.md (first lines)
# ABOUTME: Test quality assessment using Farley's 8 Properties of Good Tests
# ABOUTME: Detects tautological tests, mock theatre, and structural test weaknesses
# Test Design Reviewer
## Process
### Step 1: Collect test files
Identify all test files in scope. Use language-appropriate patterns:
- Go: `*_test.go`
- Python: `test_*.py`, `*_test.py`
- Ruby: `*_spec.rb`
- JS/TS: `*.test.ts`, `*.spec.ts`
### Step 2: Score against Farley's 8 Properties
Rate each property 0-10 across the test suite. Provide evidence.
| # | Property | Question to ask | Red flags |
|---|----------|-----------------|-----------|
| 1 | **Understandable** | Can you tell what's being tested in 5 seconds? | Cryptic names, no arrange/act/assert structure, shared state |
| 2 | **Maintainable** | Will this break when implementation changes? | Testing private methods, brittle selectors, hardcoded values |
| 3 | **Repeatable** | Same result every run, any order, any machine? | Time-dependent, filesystem-dependent, test ordering, shared DB state |
| 4 | **Atomic** | One reason to fail? | Multiple assertions testing different behaviors, setup-heavy |
| 5 | **Necessary** | Does this test earn its keep? | Duplicate coverage, testing framework/language behavior |
| 6 | **Granular** | Pinpoints the failure location? | Coarse assertions (`assert result`), catch-all tests |
| 7 | **Fast** | Runs in milliseconds? | Real HTTP calls, sleep/wait, full DB setup per test |
| 8 | **First** | Written before production code? | Tests that mirror implementation structure, not behavior |
**Scoring methodology:**
- **Static scoring**: compute 0-10 per property using sigmoid normalization on signal densities (negative signals / test methods, positive signals / test methods). Use `lib/cli_calculator.py` for deterministic math (JSON in, JSON out).
- **LLM scoring**: assess holistically per property, focusing on semantic aspects static analysis misses (naming quality, assertion appropriateness, tautology theatre)
- **Blend**: `final_property_score = 0.60 * static_score + 0.40 * llm_score` per property
- **Conservative default**: when no signals detected for a property, default to 5.0 (unknown quality, not good quality)
**Per-property scoring rubrics:** anchor each 0-10 score to the full 8-properties x 5-bands matrix in `references/bands.md`. Rough guide: 9-10 exemplary, 7-8 strong, 5-6 mixed, 3-4 weak, 1-2 harmful.
**Aggregation methodology:**
- **Per-test-method**: collect signals at individual method level
- **Per-test-file**: mean for positive signals, P90 for negative signals (worst offenders must surface)
- **Per-test-suite**: LOC-weighted mean across files
**Sampling for large suites:**
- Under 50 test files: analyze all
- Over 50: SHA-256 deterministic selection (30%) plus all files exceeding 100 test methods
**Weighted Farley Index** = `(U*1.5 + M*1.5 + R*1.25 + A*1.0 + N*1.0 + G*1.0 + F*0.75 + T*1.0) / 9.0`
Divisor is 9.0 (sum of weights), not 8 (number of properties). U/M weighted highest (readability, coupling); F weighted lowest (speed is contextual).
| Range | Rating | Interpretation |
|-------|--------|----------------|
| 9.0-10.0 | Exemplary | Model suite; tests serve as living documentation |
| 7.5-8.9 | Excellent | High quality with minor improvement opportunities |
| 6.0-7.4 | Good | Solid foundation with clear areas for improvement |
| 4.5-5.9 | Fair | Functional but needs significant attention to test design |
| 3.0-4.4 | Poor | Tests provide limited value; major refactoring needed |
| 0.0-2.9 | Critical | Tests may be harmful; consider rewriting from scratch |
### Step 3: Tautology Theatre Detection
The critical question: **"Would this test still pass if all production code were deleted?"**
Scan for these 4 patterns:
| Pattern | What it looks like | Example |
|---------|--------------------|---------|
| **Mock tautology** | Test verifies that a mock returns what it was told to return | `mock.return_value = 42; assert service.get() == 42` (only tests the mock) |
| **Mock-only test** | Every dependency is mocked, nothing real executes | Test with 5 mocks and zero real objects |
| **Trivial tautology** | Assertion is always true regardless of code | `assert isinstance(result, dict)` when function signature guarantees dict |
| **Framework test** | Tests framework behavior, not application logic | Testing that Rails validations work, that pytest fixtures inject |
Also scan for **mock interaction anti-patterns** (affect Maintainable score):
| Pattern | What it looks like |
|---------|--------------------|
| **Over-specified interactions** | verify with exact call counts, call ordering, verifyNoMoreInteractions |
| **Testing internal details** | ArgumentCaptor deep inspection, verify(never()) mirroring branches, high verify-to-assert ratio |
For each tautology or anti-pattern found: report the file, line, pattern type, and why it's problematic.
In Go, a mutant that survives `gremlins unleash` on the package under test answers the critical question computationally: the production code changed and the tests still passed. Cite the surviving mutant (file, line, mutation type) as the evidence for the tautology claim instead of arguing it in prose.
### Step 4: Report
```markdown
## Test Design Review
### Farley Index: X.X / 10.0 (Rating)
| Property | Static | LLM | Blended | Weight | Weighted | Key Evidence |
|----------|--------|-----|---------|--------|----------|--------------|
| Understandable | X.X | X.X | X.X | 1.50x | X.XX | ... |
| Maintainable | X.X | X.X | X.X | 1.50x | X.XX | ... |
| Repeatable | X.X | X.X | X.X | 1.25x | X.XX | ... |
| Atomic | X.X | X.X | X.X | 1.00x | X.XX | ... |
| Necessary | X.X | X.X | X.X | 1.00x | X.XX | ... |
| Granular | X.X | X.X | X.X | 1.00x | X.XX | ... |
| Fast | X.X | X.X | X.X | 0.75x | X.XX | ... |
| First (TDD) | X.X | X.X | X.X | 1.00x | X.XX | ... |
### Tautology Theatre Analysis
Each subsection always present; use "None detected." when empty.
#### Mock Tautologies
| Test Method | Line | Mock Setup | Assertion |
#### Mock-Only Tests
| Test Method | Line | Evidence |
#### Trivial Tautologies
| Test Method | Line | Assertion |
#### Framework Tests
| Test Method | Line | Assertion | What It Actually Tests |
**Summary**: {total} instances across {affected}/{total_methods} test methods.
### Top 3 Improvements
1. [Highest-impact fix targeting weakest high-weight property]From maroffo/claude-forge, MIT.
More from maroffo/claude-forge
- 0.634score
source-control
maroffo
Git conventions for commit messages and workflow.
SkillAFreshness: A★ 17Claude Code +9 - 0.606score
plan-forge
maroffo
Turn a GitHub issue or an in-session analysis into a locked ExecPlan on disk plus a ready-to-paste implementation prompt and /goal line for a fresh session…
SkillBFreshness: B★ 17Claude Code +9 - 0.606score
pr-review
maroffo
PR-level review that composes gemini-review, the orchestrator review fleet, and (when contested) second-opinion, reading each commit's intent before judging.
SkillBFreshness: B★ 17Claude Code +9 - 0.606score
harness-trace
maroffo
Execution trace capture and token baselining.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
adr
maroffo
Write Architecture Decision Records following HikmaAI format.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
apple-swift
maroffo
Apple platform development with Swift, SwiftUI, async/await, and performance.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
golang
maroffo
Go development: conventions, architecture, concurrency, performance, and code review.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
python
maroffo
Python development with uv, type checking, linting, testing, and Docker deployment.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
rails
maroffo
Ruby on Rails with service-oriented architecture, Dry-validation, Sidekiq/Solid Queue, Hotwire.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
android-kotlin
maroffo
Android development with Kotlin, Jetpack Compose, Clean Architecture, and performance.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
humanizer
maroffo
Rewrite text so it stops reading as AI-generated, keeping every fact: removes LLM tells such as inflated significance, promotional tone, AI vocabulary, forced…
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
react-nextjs
maroffo
React + Next.js App Router development.
SkillBFreshness: B★ 17Claude Code +9
Signals
- Stars
- 17
- Forks
- 1
- Open issues
- 6
- Last commit (this folder)
- Sep 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/maroffo/claude-forge
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from maroffo
- 0.634score
source-control
maroffo
Git conventions for commit messages and workflow.
SkillAFreshness: A★ 17Claude Code +9 - 0.606score
pr-review
maroffo
PR-level review that composes gemini-review, the orchestrator review fleet, and (when contested) second-opinion, reading each commit's intent before judging.
SkillBFreshness: B★ 17Claude Code +9 - 0.606score
harness-trace
maroffo
Execution trace capture and token baselining.
SkillBFreshness: B★ 17Claude Code +9 - 0.606score
plan-forge
maroffo
Turn a GitHub issue or an in-session analysis into a locked ExecPlan on disk plus a ready-to-paste implementation prompt and /goal line for a fresh session…
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
adr
maroffo
Write Architecture Decision Records following HikmaAI format.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
golang
maroffo
Go development: conventions, architecture, concurrency, performance, and code review.
SkillBFreshness: B★ 17Claude Code +9
Cite this page
test-design-reviewer skill. Agent Mart. https://agentmart.dev/skills/maroffo-test-design-reviewer (last updated 2026-10-24)