Sc Test | Skills PoolSc Test
Execute tests with coverage analysis and automated quality reporting
codeferreira0 スター2026/03/10 <codex_skill_adapter>
A. Skill Invocation
- This skill is invoked by mentioning
$sc-test.
- Treat all user text after
$sc-test as {{SC_ARGS}}.
- If no arguments are present, treat
{{SC_ARGS}} as empty.
B. Claude Command Translation
- This skill is a Codex-native port of the Claude command tree and SuperClaude framework.
- Translate Claude
spawn_agent(...) patterns to Codex spawn_agent(...).
- Translate Claude planning/checklist language to Codex
update_plan.
- Prefer existing Codex MCP servers from
config.toml when the original command mentions MCP.
C. Compatibility Notes
- Original command:
test.
- Codex invocation:
$sc-test.
- Preserve the behavioral intent of the source command, but use Codex-native tools and collaboration primitives.
</codex_skill_adapter>
$sc-test - Testing and Quality Assurance
Triggers
- Test execution requests for unit, integration, or e2e tests
- Coverage analysis and quality gate validation needs
- Continuous testing and watch mode scenarios
- Test failure analysis and debugging requirements
Usage
$sc-test [target] [--type unit|integration|e2e|all] [--coverage] [--watch] [--fix]
Behavioral Flow
- Discover: Categorize available tests using runner patterns and conventions
- Configure: Set up appropriate test environment and execution parameters
- Execute: Run tests with monitoring and real-time progress tracking
- Analyze: Generate coverage reports and failure diagnostics
- Report: Provide actionable recommendations and quality metrics
- Auto-detect test framework and configuration
- Generate comprehensive coverage reports with metrics
- Activate Playwright MCP for e2e browser testing
- Provide intelligent test failure analysis
- Support continuous watch mode for development
MCP Integration
- Playwright MCP: Auto-activated for
--type e2e browser testing
- QA Specialist Persona: Activated for test analysis and quality assessment
- Enhanced Capabilities: Cross-browser testing, visual validation, performance metrics
- Bash: Test runner execution and environment management
- Glob: Test discovery and file pattern matching
- Grep: Result parsing and failure analysis
- Write: Coverage reports and test summaries
Key Patterns
- Test Discovery: Pattern-based categorization → appropriate runner selection
- Coverage Analysis: Execution metrics → comprehensive coverage reporting
- E2E Testing: Browser automation → cross-platform validation
- Watch Mode: File monitoring → continuous test execution
Examples
Basic Test Execution
$sc-test
# Discovers and runs all tests with standard configuration
# Generates pass/fail summary and basic coverage
Targeted Coverage Analysis
$sc-test src/components --type unit --coverage
# Unit tests for specific directory with detailed coverage metrics
Browser Testing
$sc-test --type e2e
# Activates Playwright MCP for comprehensive browser testing
# Cross-browser compatibility and visual validation
Development Watch Mode
$sc-test --watch --fix
# Continuous testing with automatic simple failure fixes
# Real-time feedback during development
Boundaries
- Execute existing test suites using project's configured test runner
- Generate coverage reports and quality metrics
- Provide intelligent test failure analysis with actionable recommendations
- Generate test cases or modify test framework configuration
- Execute tests requiring external services without proper setup
- Make destructive changes to test files without explicit permission
02
B. Claude Command Translation