run-tests
Comprehensive pytest testing and debugging framework. Use when running tests, debugging failures, fixing broken tests, or investigating test errors. Includes systematic investigation workflow with external AI tool consultation and verification strategies.
Security Assessment
About run-tests
The 'run-tests' skill is a comprehensive framework designed to streamline the process of running, debugging, and verifying pytest test suites. It addresses the challenges developers face when handling test failures, complex debugging scenarios, or broken tests in large codebases. By integrating a structured investigation workflow with external AI tool consultation, this skill helps ensure that test failures are analyzed efficiently and resolved systematically, reducing trial-and-error efforts and improving overall development productivity.
Key capabilities of the skill include running tests with multiple presets such as quick runs, debug mode, and coverage analysis, as well as discovering and analyzing test structure. It emphasizes a hypothesis-driven investigation approach, encouraging users to analyze failures before consulting external tools. The skill also supports multi-agent analysis for complex issues, mandatory consultation with AI tools for test failures, and strategies for capturing and verifying test outputs. It provides clear guidance for long-running operations, ensuring that commands are executed in a way that avoids output spam and maintains user experience.
This skill is particularly useful for Python developers, QA engineers, and DevOps professionals who work with pytest-based testing environments. Typical use cases include debugging failing test suites, verifying bug fixes, analyzing unexpected exceptions, and running systematic investigations of complex or unclear test failures. It is ideal for teams that require a structured, repeatable approach to testing and debugging, where consistent consultation with AI tools can accelerate problem resolution and improve code reliability.
FAQ
How do I run tests using this skill?
You can run tests with predefined presets such as quick runs, debug mode, specific test selection, or coverage reports using commands like 'sdd test run --quick' or directly with pytest commands like 'pytest -v'.
Which AI tools does this skill consult for debugging?
The skill integrates consultation with external AI tools such as gemini, codex, and cursor-agent when test failures occur.
Can this skill handle long-running test suites?
Yes, it supports operations up to 5 minutes with proper foreground execution and timeout settings to avoid output spam. Background execution is discouraged except in rare cases.
Is this skill limited to any programming language?
The skill is designed specifically for Python projects using pytest.
What should I do if tests pass?
If tests pass, no consultation or further debugging is required. The process can be considered complete.
Install run-tests
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
tylerburleigh/claude-sdd-toolkit