ln-631-test-business-logic-auditor

Solid

Detects tests validating framework/library behavior instead of project code. Use when auditing test business logic focus.

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}`. # Business Logic Focus Auditor (L3 Worker) **Type:** L3 Worker Specialized worker auditing tests for Business Logic Focus (Category 1). ## Purpose & Scope - Audit **Business Logic Focus** (Category 1: High Priority) - Detect tests validating framework/library behavior (NOT our code) - 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, framework detection patterns, test file list, output_dir from contextStore 2) **Scan Codebase (Layer 1):** Scan test files for framework/library tests (see Audit Rules below) 2b) **Context Analysis (Layer 2 -- MANDATORY):** For each candidate, read test code and ask: - Does this test custom code that *wraps* a framework primitive (e.g., custom hook using useState)? -> **KEEP** (testing integration, not framework) - Does this test ONLY call framework API with no custom logic? -> flag for removal ...

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