scaffold
Generates unit, integration, and e2e test structures with templates for happy paths, error handling, edge cases, and side effects while auto-detecting critical functions.
Instructions
🏗️ Gera estrutura de testes (unit/integration/e2e). Templates inteligentes com happy path, error handling, edge cases e side effects. Detecta funções crĂticas automaticamente.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>",
"product": "<product>"
},
"name": "scaffold"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Caminho do repositĂłrio | |
| type | No | Tipo: unit|integration|e2e | unit |
| product | Yes | Nome do produto | |
| function | No | Nome da função especĂfica (opcional) | |
| scenario | No | Cenário: happy|error|edge|side (opcional) | |
| framework | No | Framework: jest|vitest|mocha | vitest |
| autoDetect | No | Auto-detectar arquivos |