plugins/codebase-audit-suite/skills/ln-632-test-e2e-priority-auditor/SKILL.md
Audits E2E coverage for critical user-visible journeys and wasteful E2E tests. Use when reviewing E2E journey value.
npx skillsauth add levnikolaevich/claude-code-skills ln-632-test-e2e-priority-auditorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Paths: File paths (
references/,../ln-*) are relative to this skill directory.
Type: L3 Worker
Specialized worker auditing whether E2E tests prove critical user-visible journeys.
ADD_MISSING_E2E, DELETE_LOW_VALUE_E2E, or DOWNGRADE_E2EMANDATORY READ: Load references/audit_worker_core_contract.md.
Receives contextStore with: tech_stack, testFilesMetadata, codebase_root, output_dir.
Detection policy: use two-layer detection (candidate scan, then context verification); load references/two_layer_detection.md only when the verification method is ambiguous.
calculateDiscount() is pure math, already unit-tested)? -> skipreferences/templates/audit_worker_report_template.md, write to {output_dir}/ln-632--global.md in single Write callRule: Every critical path MUST have E2E test
Critical Paths (Priority >=20):
Detection:
payment, refund, login, auth, exportSeverity:
Recommendation: ADD_MISSING_E2E for user-visible critical paths that lack end-to-end coverage
Effort: M
Rule: Multi-step critical flows MUST have E2E test
Core Journeys (Priority 15-19):
Detection:
Severity:
Recommendation: ADD_MISSING_E2E for missing critical user journeys
Effort: M-L
Rule: Every E2E test MUST justify Priority >=15
Check: For each E2E test, calculate Usefulness Score = Impact x Probability
DOWNGRADE_E2E when lower-level tests prove the same behavior with less cost, or DELETE_LOW_VALUE_E2E when the journey has no product riskExample:
Severity:
Recommendation: DOWNGRADE_E2E to integration/unit or DELETE_LOW_VALUE_E2E
Effort: S
MANDATORY READ: Load references/audit_scoring.md.
Severity mapping:
MANDATORY READ: Load references/templates/audit_worker_report_template.md.
Write JSON summary per references/audit_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.
Write report to {output_dir}/ln-632--global.md with category: "E2E Journey Coverage" and checks: critical_path_coverage, user_journey_coverage, e2e_usefulness_validation. Findings must include action as ADD_MISSING_E2E, DELETE_LOW_VALUE_E2E, or DOWNGRADE_E2E.
Return summary per references/audit_summary_contract.md.
When summaryArtifactPath is absent, write the standalone runtime summary under .hex-skills/runtime-artifacts/runs/{run_id}/evaluation-worker/{worker}--{identifier}.json and optionally echo the same summary in structured output.
Report written: .hex-skills/runtime-artifacts/runs/{run_id}/audit-report/ln-632--global.md
Score: X.X/10 | Issues: N (C:N H:N M:N L:N)
Apply the already-loaded references/audit_worker_core_contract.md.
Apply the already-loaded references/audit_worker_core_contract.md.
{output_dir}/ln-632--global.md (atomic single Write call)references/audit_output_schema.mdVersion: 3.0.0 Last Updated: 2025-12-23
testing
Audits architecture config boundaries: typed settings, scattered env reads, config leakage, and layer ownership. Use for config architecture.
tools
Finds architecture-level modernization opportunities: obsolete custom mechanisms, overbuilt extension points, and simplifiable architecture. Use when auditing architecture evolution.
development
Builds dependency topology, detects cycles, validates import rules, and calculates coupling metrics. Use when auditing architecture topology.
testing
Checks layer, resource ownership, and orchestration boundaries. Use when auditing architecture boundary enforcement.