[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FJHMAX2SQCMFND1SEGARV4":3,"skill-same:01M6FJHMAX2SQCMFND1SEGARV4":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":53,"install":54,"resources":67},"01M6FJHMAX2SQCMFND1SEGARV4","ln-637-test-structure-auditor",null,"Checks test file organization, directory layout, test-to-source mapping, domain grouping, co-location. Use when auditing test structure.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Flevn-ln-637-test-structure-auditor\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"test","auditor","ln","ln 637 test structure auditor","structure","when","directory","source","sonnet","file organization","co","mapping","layout","domain","organization","grouping","location","use","read","grep","Bash","file","2026-11-10 10:12:30",false,"---\nname: ln-637-test-structure-auditor\ndescription: \"Checks test file organization, directory layout, test-to-source mapping, domain grouping, co-location. Use when auditing test structure.\"\nallowed-tools: Read, Grep, Glob, Bash\nlicense: MIT\nmodel: claude-sonnet-4-6\n---\n\n> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) 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\u002F` is missing, fetch files via WebFetch from `https:\u002F\u002Fraw.githubusercontent.com\u002Flevnikolaevich\u002Fclaude-code-skills\u002Fmaster\u002Fskills\u002F{path}`.\n\n# Test Structure Auditor (L3 Worker)\n\n**Type:** L3 Worker\n\nSpecialized worker auditing test file organization and directory structure for maintainability as the test suite grows.\n\n## Purpose & Scope\n\n- Audit **Test Structure** (Category 8: Medium Priority)\n- Detect layout pattern (flat \u002F mirrored \u002F co-located \u002F hybrid)\n- Flag flat directories exceeding growth thresholds with domain grouping recommendations\n- Verify test-to-source mapping consistency and orphaned tests\n- Calculate compliance score (X\u002F10)\n\n## Inputs\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Faudit_worker_core_contract.md`.\n\nReceives `contextStore` with: `tech_stack`, `testFilesMetadata` (ALL types -- both automated and manual), `codebase_root`, `output_dir`, `domain_mode`, `all_domains`.\n\n**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.\n\n## Workflow\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Ftwo_layer_detection.md` for detection methodology.\n\n1) **Parse Context:** Extract test file list, output_dir, codebase_root, domain info from contextStore\n2) **Map Source Structure:** Glob source directories (`src\u002F`, `app\u002F`, `lib\u002F`) to build source domain\u002Fmodule tree\n3) **Map Test Structure:** Group test files by parent directory, count files per directory, classify locations\n4) **Scan Checks (Layer 1):** Run 5 audit checks (see Audit Rules) using Glob\u002FGrep patterns\n5) **Context Analysis (Layer 2 -- MANDATORY):** For each candidate finding, apply Layer 2 filters (see each check)\n6) **Collect Findings:** Record violations with severity, location, effort, recommendation\n7) **Calculate Score:** Count violations by severity, calculate compliance score (X\u002F10)\n8) **Write Report:** Build full markdown report in memory per `shared\u002Ftemplates\u002Faudit_worker_report_template.md`, write to `{output_dir}\u002Fln-637--global.md` in single Write call\n9) **Return Summary:** Return minimal summary to coordinator (see Output Format)\n\n## Audit Rules\n\n### 1. Layout Pattern Detection\n\n**What:** Detect which test organization pattern the project uses and check for unintentional mixing\n\n**Detection:**\n- Classify each test file location:\n  - **Co-located:** test file in same directory as source file (e.g., `src\u002Fusers\u002Fusers.test.ts`)\n  - **Mirrored:** test file in parallel hierarchy (e.g., `tests\u002Fusers\u002Fusers.test.ts` mirrors `src\u002Fusers\u002F`)\n  - **Centralized-flat:** all tests in single directory (e.g., `tests\u002F` or `__tests__\u002F`)\n  - **Manual:** files in `tests\u002Fmanual\u002F` (informational, not flagged)\n- Calculate distribution percentages across patterns\n- If >70% files follow one pattern -> that is the dominant pattern\n- If no pattern reaches 70% -> hybrid\n\n**Layer 2:**\n- Hybrid is acceptable if different test TYPES use different patterns (e.g., unit tests co-located + integration tests in `tests\u002Fautomated\u002Fintegration\u002F`). Check if deviation correlates with test type\n- Projects with \u003C5 test files -> skip (too small to establish pattern)\n\n**Severity:** **MEDIUM** if hybrid without clear type-based rule (>30% of same-type tests deviate from dominant pattern)\n\n**Recommendation:** Standardize test placement -- choose one pattern per test type and document in testing guidelines\n\n**Effort:** L\n\n### 2. Test-to-Source Mapping\n\n**What:** Detect orphaned test files (source file deleted but test remains) and mismatched paths\n\n**Detection:**\n- For each test file, extract the implied source module:\n  - `users.test.ts` -> `users.ts` or `users\u002Findex.ts`\n  - `test_payments.py` -> `payments.py`\n- Check if the implied source file exists in the expected location\n- If source file not found -> orphaned test candidate\n\n**Layer 2:**\n- Skip integration\u002Fe2e tests (test multiple modules, no 1:1 source mapping)\n- Skip tests in centralized-flat layout (no path-based mapping expected)\n- Skip test files that import from multiple source modules (integration tests by nature)\n- Skip utility\u002Fhelper test files (`test_utils.ts`, `test_helpers.py`)\n\n**Severity:** **MEDIUM** for orphaned tests (dead code), **LOW** for path mismatches\n\n**Recommendation:** Delete orphaned tests or update to match current source structure\n\n**Effort:** S\n\n### 3. Flat Directory Growth\n\n**What:** Detect test directories with excessive file count that would benefit from subdirectory grouping\n\n**Detection:**\n- Count test files per directory (excluding `node_modules`, `dist`, `build`)\n- Thresholds:\n  - 15-20 files in one flat directory -> LOW (approaching limit)\n  - \\>20 files in one flat directory -> MEDIUM (restructure recommended)\n- For MEDIUM findings, suggest domain-based grouping by analyzing file name prefixes:\n  - Group by common prefix (e.g., `test_auth_*.py` -> `auth\u002F` subdirectory)\n  - Cross-reference with source domain structure if available\n\n**Layer 2:**\n- Skip if directory already has subdirectories (partially organized)\n- Skip if files use clear naming prefixes that provide sufficient organization without subdirectories\n- Skip `tests\u002Fmanual\u002F` (manual test structure has separate conventions)\n\n**Severity:** **MEDIUM** (>20 files), **LOW** (15-20 files)\n\n**Recommendation:** Group tests into subdirectories by domain\u002Ffeature. Suggest specific grouping based on file name analysis:\n```\n# Before (flat):\ntests\u002Ftest_auth_login.py, tests\u002Ftest_auth_tokens.py, tests\u002Ftest_users_crud.py, ...\n\n# After (grouped):\ntests\u002Fauth\u002Ftest_login.py, tests\u002Fauth\u002Ftest_tokens.py, tests\u002Fusers\u002Ftest_crud.py, ...\n```\n\n**Effort:** M\n\n### 4. Domain Grouping Alignment\n\n**What:** Check whether test directory grouping mirrors source domain structure\n\n**Detection:**\n- Compare source domain directories (from `all_domains` or scanned `src\u002F`) with test directory names\n- For each source domain, check if a corresponding test group exists:\n  - Mirrored layout: `tests\u002F{domain}\u002F` directory exists\n  - Co-located: test files exist in `src\u002F{domain}\u002F`\n- Flag source domains with zero corresponding test groups\n\n**Layer 2:**\n- Skip if project has no clear domain structure (`domain_mode=\"global\"` or \u003C2 source domains)\n- Skip shared\u002Fcommon\u002Futils domains (cross-cutting, may not need dedicated test group)\n- Skip if project uses centralized-flat layout (no grouping expected)\n\n**Severity:** **MEDIUM** for domains with >5 source files but no test group, **LOW** otherwise\n\n**Recommendation:** Create test directory\u002Fgroup for domain to maintain structural alignment\n\n**Effort:** M\n\n### 5. Co-location Consistency\n\n**What:** Detect which co-location pattern the project uses and flag inconsistencies\n\n**Detection:**\n- Count test files placed next to source files vs. in dedicated test directories\n- Calculate ratio: co-located \u002F (co-located + centralized)\n- If ratio 0.0-0.2 -> centralized pattern\n- If ratio 0.8-1.0 -> co-located pattern\n- If ratio 0.2-0.8 -> mixed (potential inconsistency)\n- For mixed: identify which modules deviate from the dominant pattern\n\n**Layer 2:**\n- Mixed is acceptable if different test types use different placement:\n  - Unit tests co-located + integration\u002Fe2e tests centralized -> valid hybrid\n  - Check test file naming\u002Flocation correlation with type\n- Projects with \u003C5 test files -> skip\n\n**Severity:** **MEDIUM** if >20% of same-type tests deviate from dominant placement pattern\n\n**Recommendation:** Consolidate test placement -- move deviating tests to follow the project's dominant pattern\n\n**Effort:** M-L\n\n## Scoring Algorithm\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Faudit_worker_core_contract.md` and `shared\u002Freferences\u002Faudit_scoring.md`.\n\n**Severity mapping:**\n- Orphaned tests, Excessive flat directory (>20), Inconsistent layout, Inconsistent co-location -> MEDIUM\n- Approaching flat directory limit (15-20), Missing domain test group (small domain), Path mismatch -> LOW\n\n## Output Format\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Faudit_worker_core_contract.md` and `shared\u002Ftemplates\u002Faudit_worker_report_template.md`.\n\nWrite JSON summary per `shared\u002Freferences\u002Faudit_summary_contract.md`. In managed mode the caller passes both `runId` and `summaryArtifactPath`; in standalone mode the worker generates its own run-scoped artifact path per shared contract.\n\nWrite report to `{output_dir}\u002Fln-637--global.md` with `category: \"Test Structure\"` and checks: layout_pattern, test_source_mapping, flat_dir_growth, domain_grouping, colocation_consistency.\n\nReturn summary per `shared\u002Freferences\u002Faudit_summary_contract.md`.\n\nWhen `summaryArtifactPath` is absent, write the standalone runtime summary under `.hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Fevaluation-worker\u002F{worker}--{identifier}.json` and optionally echo the same summary in structured output.\n```\nReport written: .hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Faudit-report\u002Fln-637--global.md\nScore: X.X\u002F10 | Issues: N (C:N H:N M:N L:N)\n```\n\n## Critical Rules\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Faudit_worker_core_contract.md`.\n\n- **Do not auto-fix:** Report only, suggest restructuring\n- **Effort realism:** S = \u003C1h, M = 1-4h, L = >4h\n- **Skip when trivial:** If \u003C5 test files total, return score 10\u002F10 with zero findings\n- **No naming check:** Test naming consistency (`.test.` vs `.spec.`) is out of scope -- do not duplicate\n- **Both types:** Analyze both automated and manual test file locations for complete layout picture\n- **Concrete suggestions:** For flat directory growth findings, always suggest specific subdirectory grouping based on file name prefix analysis\n\n## Definition of Done\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Faudit_worker_core_contract.md`.\n\n- [ ] contextStore parsed successfully (including output_dir, domain info)\n- [ ] Source structure mapped (domain\u002Fmodule tree)\n- [ ] Test structure mapped (files grouped by directory, counts calculated)\n- [ ] All 5 checks completed\n- [ ] Layer 2 context analysis applied (type-based hybrid, small project exclusions)\n- [ ] Layout pattern detected and documented in report\n- [ ] Flat directory growth signals identified with specific grouping suggestions\n- [ ] Findings collected with severity, location, effort, recommendation\n- [ ] Score calculated using penalty algorithm\n- [ ] Report written to `{output_dir}\u002Fln-637--global.md` (atomic single Write call)\n- [ ] Summary written per contract\n\n---\n**Version:** 1.0.0\n**Last Updated:** 2026-03-15\n","> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) 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\u002F` is missing, fetch files via WebFetch from `https:\u002F\u002Fraw.githubusercontent.com\u002Flevnikolaevich\u002Fclaude-code-skills\u002Fmaster\u002Fskills\u002F{path}`.\n\n# Test Structure Auditor (L3 Worker)\n\n**Type:** L3 Worker\n\nSpecialized worker auditing test file organization and directory structure for maintainability as the test suite grows.\n\n## Purpose & Scope\n\n- Audit **Test Structure** (Category 8: Medium Priority)\n- Detect layout pattern (flat \u002F mirrored \u002F co-located \u002F hybrid)\n- Flag flat directories exceeding growth thresholds with domain grouping recommendations\n- Verify test-to-source mapping consistency and orphaned tests\n- Calculate compliance score (X\u002F10)\n\n## Inputs\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Faudit_worker_core_contract.md`.\n\nReceives `contextStore` with: `tech_stack`, `testFilesMetadata` (ALL types -- both automated and manual), `codebase_root`, `output_dir`, `domain_mode`, `all_domains`.\n\n**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.\n\n## Workflow\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Ftwo_layer_detection.md` for detection methodology.\n\n1) **Parse Context:** Extract test file list, output_dir, codebase_root, domain info from contextStore\n2) **Map Source Structure:** Glob source directories (`src\u002F`, `app\u002F`, `lib\u002F`) to build source domain\u002Fmodule tree\n3) **Map Test Structure:** Group test files by parent directory, count files per directory, classify locations\n4) **Scan Checks (Layer 1):** Run 5 audit checks (see Audit Rules) using Glob\u002FGrep patterns\n5) **Context Analysis (Layer 2 -- MANDATORY):** For each candidate finding, apply Layer 2 filters (see each check)\n6) **Collect Findings:** Record violations with severity, location, effort, recommendation\n7) **Calculate Score:** Count violations by severity, calculate compliance score (X\u002F10)\n8) **Write Report:** Build full markdown report in memory per `shared\u002Ftemplates\u002Faudit_worker_report_template.md`, write to `{output_dir}\u002Fln-637--global.md` in single Write call\n9) **Return Summary:** Return minimal summary to coordinator (see Output Format)\n\n## Audit Rules\n\n### 1. Layout Pattern Detection\n\n**What:** Detect which test organization pattern the project uses and check for unintentional mixing\n\n**Detection:**\n- Classify each test file location:\n  - **Co-located:** test file in same directory as source file (e.g., `src\u002Fusers\u002Fusers.test.ts`)\n  - **Mirrored:** test file in parallel hierarchy (e.g., `tests\u002Fusers\u002Fusers.test.ts` mirrors `src\u002Fusers\u002F`)\n  - **Centralized-flat:** all tests in single directory (e.g., `tests\u002F` or `__tests__\u002F`)\n  - **Manual:** files in `tests\u002Fmanual\u002F` (informational, not flagged)\n- Calculate distribution percentages across patterns\n- If >70% files follow one pattern -> that is the dominant pattern\n- If no pattern reaches 70% -> hybrid\n\n**Layer 2:**\n- Hybrid is acceptable if different test TYPES use different patterns (e.g., unit tests co-located + integration tests in `tests\u002Fautomated\u002Fintegration\u002F`). Check if deviation correlates with test type\n- Projects with \u003C5 test files -> skip (too small to establish pattern)\n\n**Severity:** **MEDIUM** if hybrid without clear type-based rule (>30% of same-type tests deviate from dominant pattern)\n\n**Recommendation:** Standardize test placement -- choose one pattern per test type and document in testing guidelines\n\n**Effort:** L\n\n### 2. Test-to-Source Mapping\n\n**What:** Detect orphaned test files (source file deleted but test remains) and mismatched paths\n\n**Detection:**\n- For each test file, extract the implied source module:\n  - `users.test.ts` -> `users.ts` or `users\u002Findex.ts`\n  - `test_payments.py` -> `payments.py`\n- Check if the implied source file exists in the expected location\n- If source file not found -> orphaned test candidate\n\n**Layer 2:**\n- Skip integration\u002Fe2e tests (test multiple modules, no 1:1 source mapping)\n- Skip tests in centralized-flat layout (no path-based mapping expected)\n- Skip test files that import from multiple source modules (integration tests by nature)\n- Skip utility\u002Fhelper test files (`test_utils.ts`, `test_helpers.py`)\n\n**Severity:** **MEDIUM** for orphaned tests (dead code), **LOW** for path mismatches\n\n**Recommendation:** Delete orphaned tests or update to match current source structure\n\n**Effort:** S\n\n### 3. Flat Directory Growth\n\n**What:** Detect test directories with excessive file count that would benefit from subdirectory grouping\n\n**Detection:**\n- Count test files per directory (excluding `node_modules`, `dist`, `build`)\n- Thresholds:\n  - 15-20 files in one flat directory -> LOW (approaching limit)\n  - \\>20 files in one flat directory -> MEDIUM (restructure recommended)\n- For MEDIUM findings, suggest domain-based grouping by analyzing file name prefixes:\n  - Group by common prefix (e.g., `test_auth_*.py` -> `auth\u002F` subdirectory)\n  - Cross-reference with source domain structure if available\n\n**Layer 2:**\n- Skip if directory already has subdirectories (partially organized)\n- Skip if files use clear naming prefixes that provide sufficient organization without subdirectories\n- Skip `tests\u002Fmanual\u002F` (manual test structure has separate conventions)\n\n**Severity:** **MEDIUM** (>20 files), **LOW** (15-20 files)\n\n**Recommendation:** Group tests into subdirectories by domain\u002Ffeature. Suggest specific grouping based on file name analysis:\n```\n# Before (flat):\ntests\u002Ftest_auth_login.py, tests\u002Ftest_auth_tokens.py, tests\u002Ftest_users_crud.py, ...\n\n# After (grouped):\ntests\u002Fauth\u002Ftest_login.py, tests\u002Fauth\u002Ftest_tokens.py, tests\u002Fusers\u002Ftest_crud.py, ...\n```\n\n**Effort:** M\n\n### 4. Domain Grouping Alignment\n\n**What:** Check whether test directory grouping mirrors source domain structure\n\n**Detection:**\n- Compare source domain directories (from `all_domains` or scanned `src\u002F`) with test directory names\n- For each source domain, check if a corresponding test group exists:\n  - Mirrored layout: `tests\u002F{domain}\u002F` directory exists\n  - Co-located: test files exist in `src\u002F{domain}\u002F`\n- Flag source domains with zero corresponding test groups\n\n**Layer 2:**\n- Skip if project has no clear domain structure (`domain_mode=\"global\"` or \u003C2 source domains)\n- Skip shared\u002Fcommon\u002Futils domains (cross-cutting, may not need dedicated test group)\n- Skip if project uses centralized-flat layout (no grouping expected)\n\n**Severity:** **MEDIUM** for domains with >5 source files but no test group, **LOW** otherwise\n\n**Recommendation:** Create test directory\u002Fgroup for domain to maintain structural alignment\n\n**Effort:** M\n\n### 5. Co-location Consistency\n\n**What:** Detect which co-location pattern the project uses and flag inconsistencies\n\n**Detection:**\n- Count test files placed next to source files vs. in dedicated test directories\n- Calculate ratio: co-located \u002F (co-located + centralized)\n- If ratio 0.0-0.2 -> centralized pattern\n- If ratio 0.8-1.0 -> co-located pattern\n- If ratio 0.2-0.8 -> mixed (potential inconsistency)\n- For mixed: identify which modules deviate from the dominant pattern\n\n**Layer 2:**\n- Mixed is acceptable if different test types use different placement:\n  - Unit tests co-located + integration\u002Fe2e tests centralized -> valid hybrid\n  - Check test file naming\u002Flocation correlation with type\n- Projects with \u003C5 test files -> skip\n\n**Severity:** **MEDIUM** if >20% of same-type tests deviate from dominant placement pattern\n\n**Recommendation:** Consolidate test placement -- move deviating tests to follow the project's dominant pattern\n\n**Effort:** M-L\n\n## Scoring Algorithm\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Faudit_worker_core_contract.md` and `shared\u002Freferences\u002Faudit_scoring.md`.\n\n**Severity mapping:**\n- Orphaned tests, Excessive flat directory (>20), Inconsistent layout, Inconsistent co-location -> MEDIUM\n- Approaching flat directory limit (15-20), Missing domain test group (small domain), Path mismatch -> LOW\n\n## Output Format\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Faudit_worker_core_contract.md` and `shared\u002Ftemplates\u002Faudit_worker_report_template.md`.\n\nWrite JSON summary per `shared\u002Freferences\u002Faudit_summary_contract.md`. In managed mode the caller passes both `runId` and `summaryArtifactPath`; in standalone mode the worker generates its own run-scoped artifact path per shared contract.\n\nWrite report to `{output_dir}\u002Fln-637--global.md` with `category: \"Test Structure\"` and checks: layout_pattern, test_source_mapping, flat_dir_growth, domain_grouping, colocation_consistency.\n\nReturn summary per `shared\u002Freferences\u002Faudit_summary_contract.md`.\n\nWhen `summaryArtifactPath` is absent, write the standalone runtime summary under `.hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Fevaluation-worker\u002F{worker}--{identifier}.json` and optionally echo the same summary in structured output.\n```\nReport written: .hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Faudit-report\u002Fln-637--global.md\nScore: X.X\u002F10 | Issues: N (C:N H:N M:N L:N)\n```\n\n## Critical Rules\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Faudit_worker_core_contract.md`.\n\n- **Do not auto-fix:** Report only, suggest restructuring\n- **Effort realism:** S = \u003C1h, M = 1-4h, L = >4h\n- **Skip when trivial:** If \u003C5 test files total, return score 10\u002F10 with zero findings\n- **No naming check:** Test naming consistency (`.test.` vs `.spec.`) is out of scope -- do not duplicate\n- **Both types:** Analyze both automated and manual test file locations for complete layout picture\n- **Concrete suggestions:** For flat directory growth findings, always suggest specific subdirectory grouping based on file name prefix analysis\n\n## Definition of Done\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Faudit_worker_core_contract.md`.\n\n- [ ] contextStore parsed successfully (including output_dir, domain info)\n- [ ] Source structure mapped (domain\u002Fmodule tree)\n- [ ] Test structure mapped (files grouped by directory, counts calculated)\n- [ ] All 5 checks completed\n- [ ] Layer 2 context analysis applied (type-based hybrid, small project exclusions)\n- [ ] Layout pattern detected and documented in report\n- [ ] Flat directory growth signals identified with specific grouping suggestions\n- [ ] Findings collected with severity, location, effort, recommendation\n- [ ] Score calculated using penalty algorithm\n- [ ] Report written to `{output_dir}\u002Fln-637--global.md` (atomic single Write call)\n- [ ] Summary written per contract\n\n---\n**Version:** 1.0.0\n**Last Updated:** 2026-03-15\n",{"name":5,"model":45,"license":14,"description":7,"allowed-tools":46},"claude-sonnet-4-6","Read, Grep, Glob, Bash","main","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Flevn-ln-637-test-structure-auditor",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add boisenoise\u002Fskills-collections --skill ln-637-test-structure-auditor",{"tool":60,"command":61},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill ln-637-test-structure-auditor",{"tool":63,"command":64},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill ln-637-test-structure-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Flevn-ln-637-test-structure-auditor\u002FSKILL.md",true,[],[69,78,86,95,103,111],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":73,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":77},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":77},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":94},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":94},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":94},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":115,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":94},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]