con un clic
generate-tests
Generate comprehensive tests for specified code
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Generate comprehensive tests for specified code
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Clean up stale git worktrees with merged branch detection and disk usage report
Safely remove a git worktree with branch cleanup and safety checks
Create isolated git worktrees for feature development without switching branches
Check status of background verification tasks running in a git worktree
Perform a comprehensive code review of a pull request
Display native sandbox status, configuration, and recent violations
| name | generate-tests |
| description | Generate comprehensive tests for specified code |
| argument-hint | <file_or_module> [--framework jest|vitest|pytest] |
| effort | medium |
| when_to_use | Use when adding test coverage for a function, module, or feature. |
| disable-model-invocation | true |
Generate comprehensive tests for specified code.
Check for:
jest.config.js → Jestvitest.config.ts → Vitestpytest.ini → pytestmocha in package.json → MochaFollow the detected framework conventions.
Normal expected behavior with valid input.
describe('[ComponentName]', () => {
describe('[methodName]', () => {
// Happy path
it('should [expected behavior] when [condition]', () => {
// Arrange
// Act
// Assert
});
// Edge cases
it('should handle empty input', () => {});
it('should handle null values', () => {});
// Error cases
it('should throw when [invalid condition]', () => {});
});
});
/generate-tests src/utils/calculator.ts
/generate-tests src/services/
$ARGUMENTS