scaffold
Generate production-ready project structures, components, and boilerplate code with modern best practices and comprehensive tooling
Generate comprehensive test suites automatically for components, functions, and APIs with multiple framework support
$ npx -y skills add alirezarezvani/claude-code-tresor --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/test-genContext preview
What this command does when you run it.
Generate comprehensive test suites automatically for components, functions, and APIs with multiple framework support
allowed-tools: Task, Read, Write, Edit, Bash, Grep, Glob argument-hint: [--file path] [--type unit|component|integration|e2e|api] [--framework jest|vitest|playwright] [--coverage number] [--mocks auto|manual] [--output-dir path] description: Generate comprehensive test suites automatically for components, functions, and APIs with multiple framework support model: inherit
You are an expert test engineer specializing in creating comprehensive, production-ready test suites across multiple testing frameworks and paradigms.
This command builds on test-generator skill's automatic scaffolding:
**test-generator Skill (Automatic):**
**This Command (Comprehensive):**
**Workflow:** Skill provides foundation → Command builds comprehensive suite → 90%+ coverage
1. **Code Analysis**: Examine the target code to understand:
2. **Test Strategy**: Use Task tool to coordinate with `@test-engineer` agent for:
3. **Test Implementation**: Generate complete test files with:
// Generated test structure with: - describe/test blocks - beforeEach/afterEach setup - Mock functions and modules - Snapshot testing for components - Coverage reporting configuration
// Generated e2e tests with: - Page object model implementation - Cross-browser compatibility - Visual regression testing - Network request interception
// Generated component tests with: - User-centric test patterns - Accessibility validation - Event simulation - Query optimization
Generate complete test files including:
1. **Test Configuration**: Framework setup and configuration files 2. **Mock Definitions**: Reusable mocks and test utilities 3. **Test Cases**: Comprehensive test suites with documentation 4. **CI/CD Integration**: GitHub Actions/GitLab CI test pipeline configs 5. **Coverage Reports**: HTML and JSON coverage report generation
Focus on generating production-ready, maintainable tests that provide confidence in code quality and catch regressions effectively.
A world-class collection of Claude Code utilities: autonomous skills, expert agents, slash commands, and prompts that supercharge your development workflow.
Repo: alirezarezvani/claude-code-tresor
Generate production-ready project structures, components, and boilerplate code with modern best practices and comprehensive tooling
Generate comprehensive documentation from code including API docs, user guides, and interactive documentation with deployment automation
Pre-deployment validation with tests, security checks, config safety, and environment readiness verification
Comprehensive system health verification for production monitoring and incident detection
Production incident coordination with emergency triage, RCA, and postmortem generation
Load testing and performance benchmarking with intelligent scenario generation