critical-path-testing

Generate prioritized tests for critical TypeScript code paths using semantic risk analysis.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/drdanmaggs/claude-skills --skill critical-path-testing
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: critical-path-testing
Source: https://github.com/drdanmaggs/claude-skills/tree/main/skills/critical-path-testing
Command: npx skills add https://github.com/drdanmaggs/claude-skills --skill critical-path-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the problem of inefficient, coverage-obsessed testing by focusing resources on the most critical code paths that impact user experience and business stability.

Core Features & Use Cases

  • Semantic Risk Analysis: Automatically identifies high-risk code paths like authentication, payments, and data integrity logic.
  • Mandatory Pattern Enforcement: Ensures all generated tests are parallel-safe, non-flaky, and follow production-grade patterns like worker-scoped fixtures and error checking.
  • Use Case: When refactoring a core authentication module, use this skill to generate a robust suite of integration tests that catch regressions without wasting time on low-risk utility files.

Quick Start

Invoke the critical path testing skill to analyze your current project and generate a prioritized test plan for your most critical code paths.

Frequently Asked Questions about critical-path-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate integration tests for critical TypeScript code paths?▼

You can generate integration tests for critical TypeScript code paths by invoking this skill, which uses semantic risk analysis to automatically identify high-risk areas like authentication and payments, producing a prioritized test plan.

What is semantic risk analysis for testing and how does it work?▼

Semantic risk analysis for testing automatically identifies high-risk code paths like data integrity logic by scoring criticality, shifting focus from raw coverage to targeting areas that impact user experience and business stability.

How do I prioritize tests during high-risk refactoring of a core module?▼

To prioritize tests during high-risk refactoring, apply automated criticality scoring to your TypeScript codebase, generating production-ready tests for critical user paths while skipping low-risk utility files.

Can I use automated criticality scoring with an existing test-fixer memory?▼

Yes, automated criticality scoring integrates with existing test-fixer memory, generating parallel-safe tests that enforce mandatory error assertion patterns and worker-scoped fixtures for production-grade testing.

Does this risk-driven testing approach work for security audits in complex codebases?▼

Risk-driven testing works for security audits in complex TypeScript codebases by targeting critical user paths through semantic risk analysis, ensuring testing resources focus on vulnerabilities impacting business stability.

Why should I use risk-driven testing instead of full coverage testing?▼

Risk-driven testing solves inefficient, coverage-obsessed testing by focusing resources on critical code paths that impact user experience, generating parallel-safe, non-flaky tests without wasting time on low-risk files.