with one click
ln-632-test-e2e-priority-auditor
// Validates E2E coverage for critical paths (money, security, data integrity). Risk-based prioritization. Use when auditing E2E test coverage.
// Validates E2E coverage for critical paths (money, security, data integrity). Risk-based prioritization. Use when auditing E2E test coverage.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | ln-632-test-e2e-priority-auditor |
| description | Validates E2E coverage for critical paths (money, security, data integrity). Risk-based prioritization. Use when auditing E2E test coverage. |
| allowed-tools | Read, Grep, Glob, Bash |
| license | MIT |
Paths: File paths (
references/,../ln-*) are relative to this skill directory.
Type: L3 Worker
Specialized worker auditing E2E test coverage for critical paths (risk-based).
MANDATORY 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 E2E tests for critical paths immediately
Effort: M
Rule: Multi-step critical flows MUST have E2E test
Core Journeys (Priority 15-19):
Detection:
Severity:
Recommendation: Add end-to-end journey tests
Effort: M-L
Rule: Every E2E test MUST justify Priority >=15
Check: For each E2E test, calculate Usefulness Score = Impact x Probability
Example:
Severity:
Recommendation: Convert low-value E2E to Integration/Unit or remove
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 Critical Coverage" and checks: critical_path_coverage, user_journey_coverage, e2e_usefulness_validation.
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