ln-633-test-value-auditor

Solid

Scores each test by Impact x Probability, returns KEEP/REVIEW/REMOVE decisions. Use when auditing test value and pruning low-value tests.

AI & Automation 479 stars 67 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

> **Paths:** File paths (`shared/`, `references/`, `../ln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If `shared/` is missing, fetch files via WebFetch from `https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}`. # Risk-Based Value Auditor (L3 Worker) **Type:** L3 Worker Specialized worker calculating Usefulness Score for each test. ## Purpose & Scope - Audit **Risk-Based Value** (Category 3: Critical Priority) - Calculate Usefulness Score = Impact x Probability - Make KEEP/REVIEW/REMOVE decisions - Calculate compliance score (X/10) ## Inputs **MANDATORY READ:** Load `shared/references/audit_worker_core_contract.md`. Receives `contextStore` with: `tech_stack`, `testFilesMetadata`, `codebase_root`, `output_dir`. ## Workflow **MANDATORY READ:** Load `shared/references/two_layer_detection.md` for detection methodology. 1) **Parse Context:** Extract tech stack, Impact/Probability matrices, test file list, output_dir from contextStore 2) **Calculate Scores (Layer 1):** For each test: calculate Usefulness Score = Impact x Probability 2b) **Context Analysis (Layer 2 -- MANDATORY):** Before finalizing REMOVE decisions, ask: - Is this a regression guard for a known past bug? -> **KEEP** regardless of Score - Does this test cover a critical business rule (payment, auth) even if Score<10? -> **REVIEW**, not REMOVE - Is this the only test covering an ed...

Details

Author
levnikolaevich
Repository
levnikolaevich/claude-code-skills
Created
7 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category