{"skill":{"slug":"gen-test","displayName":"gen-test","summary":"为已有项目生成单元测试和 E2E 测试。分析设计文档和函数签名（黑盒）， 评审可测试性设计缺陷，生成测试代码并产出覆盖率报告。 Use when: \"generate tests\", \"add tests\", \"补测试\", \"生成单测\", \"write unit tests\", \"add e2e tests\",...","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":61,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1778478215262,"updatedAt":1778492895889},"latestVersion":{"version":"1.0.0","createdAt":1778478215262,"changelog":"Initial release of test-gen: generates unit and E2E tests for existing projects based on design docs and function signatures.\n\n- Analyzes project environment, test coverage tools, and loads customizable coverage thresholds.\n- Extracts project structure and business rules from design docs; summarizes findings for user confirmation.\n- Performs black-box analysis of public APIs, infers test dimensions, and reports results.\n- Reviews testability of each function, identifying design issues and skipping non-testable or trivial code.\n- Generates targeted, high-quality tests for \"testable\" APIs, then runs tests and reports coverage, highlighting both overall and diff-line metrics.\n- Integrates with git and common coverage tools; supports both project-level and user-level installation.","license":"MIT-0"},"metadata":null,"owner":{"handle":"fdingiit","userId":"s179t69s69km9997jrv77j2e0n867eyc","displayName":"str('tiignidf')[::-1]+'@gmail.com'","image":"https://avatars.githubusercontent.com/u/10524971?v=4"},"moderation":null}