con un clic
test-generator
// Generate test file stubs and boilerplate from source code analysis. Use when the user asks to create tests, add test coverage, or scaffold test files for existing source code.
// Generate test file stubs and boilerplate from source code analysis. Use when the user asks to create tests, add test coverage, or scaffold test files for existing source code.
Maintain project health by enforcing PR checklists, tracking open issues, verifying release readiness, and ensuring framework phases are up to date. Use when reviewing PRs, creating issues, preparing releases, or auditing project state.
Scaffold new Agent Skills with best-practice structure and frontmatter. Use when the user wants to create a new skill, bootstrap a skill directory, or generate SKILL.md boilerplate following the Agent Skills spec.
Validate CSV and JSON data files against schemas and quality rules. Use when the user asks to check data quality, validate a dataset, or verify file contents match an expected schema.
Audit project dependencies for known vulnerabilities, outdated packages, and license compliance issues. Use when the user asks to check dependencies, audit packages, review licenses, or assess supply chain security.
Generate friendly greeting messages in multiple languages. Use when the user asks for a hello message, welcome text, or localized greeting.
Maintain project release notes, changelogs, and framework phase updates. Use when the user asks to generate a changelog, draft release notes, update CHANGELOG.md, or track framework phase transitions.
| name | test-generator |
| description | Generate test file stubs and boilerplate from source code analysis. Use when the user asks to create tests, add test coverage, or scaffold test files for existing source code. |
| license | Apache-2.0 |
| compatibility | Requires Deno 2.0+ |
| metadata | {"author":"skillscraft","version":"1.0","category":"testing"} |
Activate when the user wants to:
deno run --allow-read scripts/analyze-source.ts <source-file>
deno run --allow-read --allow-write scripts/generate-stubs.ts <source-file> --output <test-file> --framework vitest
Supported frameworks: vitest (default), jest, mochaThe analysis script outputs:
{
"file": "utils.ts",
"functions": [
{ "name": "formatDate", "params": ["date: Date", "locale?: string"], "returnType": "string", "async": false, "exported": true }
],
"classes": [
{ "name": "UserService", "methods": ["getById", "create", "delete"], "exported": true }
]
}
expect(...).toBeDefined()) — fill in real logicreferences/TESTING-PATTERNS.md