en un clic
test-generation
Generate Vitest/Jest test suites - NO MOCKS
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Generate Vitest/Jest test suites - NO MOCKS
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Design REST/WebSocket API contracts with TypeScript types
Generate REST APIs from TypeScript contracts with CRUD operations
Implements authentication (JWT, OAuth2) and authorization (RBAC) from requirements
Review quality of generated code. Checks for empty files, broken imports, missing modules, duplicate code, TypeScript errors, and rates overall quality. Identifies files that need regeneration.
Quick health check of all Coding Engine infrastructure. Checks containers, DB connectivity, API endpoints, Discord bot, sandbox preview, LLM API keys, and generation process. Takes 15 seconds.
Diagnoses pipeline problems and outputs actionable fix commands. Combines insights from status-report, code-quality, task-audit, and health-check into concrete recommendations with copy-paste-ready commands. Answers "what should I do next?" and "why is generation stuck?"
| name | test-generation |
| description | Generate Vitest/Jest test suites - NO MOCKS |
| tier_tokens | {"minimal":100,"standard":250,"full":500} |
All tests must be real integration tests. Tests are validated by NoMockValidator and rejected if mocking patterns detected.
vi.fn(), vi.mock(), vi.spyOn()jest.fn(), jest.mock(), jest.spyOn().mockImplementation(), .mockReturnValue()sinon.stub(), sinon.mock()nock(), fetchMock, mswglobal.fetch = vi.fn()| Instead of... | Use... |
|---|---|
| Mocking fetch | Real HTTP to test server |
| Mocking database | SQLite in-memory or test container |
| Mock functions | Real callbacks with state tracking |
| Mocking timers | Real timers with short delays |
let clickCount = 0;
const handleClick = () => { clickCount++; };
// Assert: expect(clickCount).toBe(1);
// Start real Express server on port 0
const server = app.listen(0);
const port = (server.address() as any).port;
// Test against http://localhost:${port}
| Metric | Target |
|---|---|
| Statements | 80% |
| Branches | 75% |
| Functions | 80% |
tests/ or __tests__/ directory*.test.ts or *.test.tsx extension