ln-632-test-e2e-priority-auditor by levnikolaevich/claude-code-skills
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-632-test-e2e-priority-auditor路径说明: 文件路径(
shared/、references/、../ln-*)是相对于技能仓库根目录的。如果在当前工作目录未找到,请定位此 SKILL.md 文件所在目录,然后向上返回一级以找到仓库根目录。如果缺少shared/目录,请通过 WebFetch 从https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}获取文件。
专门用于审计关键路径(基于风险)端到端测试覆盖的工作器。
必读: 加载 shared/references/audit_worker_core_contract.md。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
接收包含以下内容的 contextStore:tech_stack、testFilesMetadata、codebase_root、output_dir。
必读: 加载 shared/references/two_layer_detection.md 以了解检测方法。
calculateDiscount() 是纯数学计算,已进行单元测试)? → 跳过shared/templates/audit_worker_report_template.md 在内存中构建完整的 Markdown 报告,通过单次 Write 调用写入 {output_dir}/632-e2e-priority.md规则: 每个关键路径必须具有 E2E 测试
关键路径(优先级 ≥20):
检测方法:
payment、refund、login、auth、export严重性:
建议: 立即为关键路径添加 E2E 测试
工作量: M
规则: 多步骤关键流程必须具有 E2E 测试
核心旅程(优先级 15-19):
检测方法:
严重性:
建议: 添加端到端旅程测试
工作量: M-L
规则: 每个 E2E 测试必须证明其优先级 ≥15 是合理的
检查: 对于每个 E2E 测试,计算 有用性分数 = 影响 × 概率
示例:
严重性:
建议: 将低价值的 E2E 测试转换为集成/单元测试或移除
工作量: S
必读: 加载 shared/references/audit_worker_core_contract.md 和 shared/references/audit_scoring.md。
严重性映射:
必读: 加载 shared/references/audit_worker_core_contract.md 和 shared/templates/audit_worker_report_template.md。
将报告写入 {output_dir}/632-e2e-priority.md,其中包含 category: "E2E Critical Coverage" 和检查项:critical_path_coverage、user_journey_coverage、e2e_usefulness_validation。
向协调器返回摘要:
Report written: docs/project/.audit/ln-630/{YYYY-MM-DD}/632-e2e-priority.md
Score: X.X/10 | Issues: N (C:N H:N M:N L:N)
必读: 加载 shared/references/audit_worker_core_contract.md。
必读: 加载 shared/references/audit_worker_core_contract.md。
{output_dir}/632-e2e-priority.md(原子性单次 Write 调用)shared/references/audit_output_schema.md版本: 3.0.0 最后更新: 2025-12-23
每周安装次数
149
仓库
GitHub 星标数
245
首次出现
2026年1月24日
安全审计
安装于
claude-code138
gemini-cli134
cursor134
opencode134
codex134
github-copilot129
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. Ifshared/is missing, fetch files via WebFetch fromhttps://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}.
Specialized worker auditing E2E test coverage for critical paths (risk-based).
MANDATORY READ: Load shared/references/audit_worker_core_contract.md.
Receives contextStore with: tech_stack, testFilesMetadata, codebase_root, output_dir.
MANDATORY READ: Load shared/references/two_layer_detection.md for detection methodology.
calculateDiscount() is pure math, already unit-tested)? → skipshared/templates/audit_worker_report_template.md, write to 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 × Probability
Example:
Severity:
Recommendation: Convert low-value E2E to Integration/Unit or remove
Effort: S
MANDATORY READ: Load shared/references/audit_worker_core_contract.md and shared/references/audit_scoring.md.
Severity mapping:
MANDATORY READ: Load shared/references/audit_worker_core_contract.md and shared/templates/audit_worker_report_template.md.
Write report to {output_dir}/632-e2e-priority.md with category: "E2E Critical Coverage" and checks: critical_path_coverage, user_journey_coverage, e2e_usefulness_validation.
Return summary to coordinator:
Report written: docs/project/.audit/ln-630/{YYYY-MM-DD}/632-e2e-priority.md
Score: X.X/10 | Issues: N (C:N H:N M:N L:N)
MANDATORY READ: Load shared/references/audit_worker_core_contract.md.
MANDATORY READ: Load shared/references/audit_worker_core_contract.md.
{output_dir}/632-e2e-priority.md (atomic single Write call)shared/references/audit_output_schema.mdVersion: 3.0.0 Last Updated: 2025-12-23
Weekly Installs
149
Repository
GitHub Stars
245
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
claude-code138
gemini-cli134
cursor134
opencode134
codex134
github-copilot129
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
36,300 周安装
{output_dir}/632-e2e-priority.md