一键导入
scaffold-tests
Generates unit and regression test files for existing code. Creates "Happy Path", "Edge Case", and "Error" test stubs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generates unit and regression test files for existing code. Creates "Happy Path", "Edge Case", and "Error" test stubs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Comprehensive code review covering Functionality, Security (OWASP), Performance, and Maintainability. Includes good/bad examples.
Generates robust, cross-platform launcher scripts (Windows .bat, Unix .sh, Mac .sh) with dependency checking, .env handling, and graceful shutdown logic.
Automates the creation of professional-grade Antigravity skills. Incorporates best practices for progressive disclosure, resource organization, and automatic agent registration.
Scans the current conversation thread and updates a project work log. Useful for tracking progress and generating release notes.
A strict, scientific debugging protocol (The "Iron Law"). No fixes allowed without root cause investigation.
Generates standardized API documentation (OpenAPI/Markdown) for backend endpoints.
| name | scaffold_tests |
| description | Generates unit and regression test files for existing code. Creates "Happy Path", "Edge Case", and "Error" test stubs. |
Use this skill to automatically generate test suites for your code, ensuring functionality is locked in.
view_file to analyze the source code.write_to_file to create the test file.utils.py, auth.js).Plan the test coverage:
[filename].test.js or test_[filename].py).Write the test file with three specific sections:
tests/ directory or alongside the source code (based on project convention)./run_tests.getMockUser(overrides)) that provide sensible defaults but allow tests to override specific properties. This keeps tests DRY and maintainable.