test-focus
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Context
- Project files: !
find . -maxdepth 1 \( -name 'pyproject.toml' -o -name 'package.json' -o -name 'Cargo.toml' -o -name 'go.mod' \) - Playwright config: !
find . -maxdepth 1 -name 'playwright.config.*' - Vitest config: !
find . -maxdepth 1 \( -name 'vitest.config.*' -o -name 'vite.config.*' \) - Jest config: !
find . -maxdepth 1 -name 'jest.config.*' - Pytest config: !
find . -maxdepth 1 \( -name pyproject.toml -o -name setup.cfg \) -exec grep -l 'pytest' {} + - Package.json exists: !
find . -maxdepth 1 -name 'package.json' -type f
Parameters
$1(required): Test file path or pattern (e.g.,login.spec.ts,tests/e2e/auth.spec.ts)--serial: Force sequential execution with single worker (useful for WebGL, database tests)--debug: Run in debug/headed mode for visual debugging
Your task
Run a single test file in fail-fast mode for rapid development iteration. Stop immediately on first failure to minimize feedback time.