ln-637-test-structure-auditor

Solid

Checks test file organization, directory layout, test-to-source mapping, domain grouping, co-location. Use when auditing test structure.

AI & Automation 479 stars 67 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 97/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}`. # Test Structure Auditor (L3 Worker) **Type:** L3 Worker Specialized worker auditing test file organization and directory structure for maintainability as the test suite grows. ## Purpose & Scope - Audit **Test Structure** (Category 8: Medium Priority) - Detect layout pattern (flat / mirrored / co-located / hybrid) - Flag flat directories exceeding growth thresholds with domain grouping recommendations - Verify test-to-source mapping consistency and orphaned tests - Calculate compliance score (X/10) ## Inputs **MANDATORY READ:** Load `shared/references/audit_worker_core_contract.md`. Receives `contextStore` with: `tech_stack`, `testFilesMetadata` (ALL types -- both automated and manual), `codebase_root`, `output_dir`, `domain_mode`, `all_domains`. **Note:** Unlike other workers that receive type-filtered metadata, this worker receives ALL test files because directory structure analysis requires the full picture of where both automated and manual tests are placed. ## Workflow **MANDATORY READ:** Load `shared/references/two_layer_detection.md` for detection methodology. 1) **Parse Context:** Extract test file list, output_dir, codebase_root, ...

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