一键导入
test-generator
Generate unit/integration tests with smart edge case analysis (Zero Token Skeleton + Smart Mode).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate unit/integration tests with smart edge case analysis (Zero Token Skeleton + Smart Mode).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Auto-generate concise, visually stunning README.md with project auto-scanning, badges, and 3 style modes.
Persistent team profiles — carry your coding style, rules, and bug-fix knowledge across projects. 3-tier memory (Hot/Warm/Cold) with TF-IDF search.
Deploy local websites to the internet instantly via Cloudflare Tunnel. Zero hosting, zero domain needed.
Suggests suitable tech stack based on project requirements using local database.
Analyzes market trends, hot features, and user expectations.
Creative idea advisor. Brainstorm frameworks, product archetypes, industry data, and monetization models. Zero-token data retrieval via script.
| name | test-generator |
| description | Generate unit/integration tests with smart edge case analysis (Zero Token Skeleton + Smart Mode). |
Generate test files with real test cases, not just empty stubs. Smart mode analyzes function signatures and type hints to produce null/boundary/injection edge cases automatically.
python .agent/skills/test-generator/scripts/gen_skeleton.py src/utils.py > tests/test_utils.py
Analyzes type hints and parameter names → generates null, boundary, XSS, large input tests:
python .agent/skills/test-generator/scripts/gen_skeleton.py src/auth.py --style smart > tests/test_auth.py
Reads codebase_index.json from codebase-navigator → generates tests for ALL functions:
# Prerequisite: index the codebase first
python .agent/skills/codebase-navigator/scripts/navigator.py --action index --path .
# Generate tests for all indexed functions
python .agent/skills/test-generator/scripts/gen_skeleton.py --from-index --style smart > tests/test_all.py
python .agent/skills/test-generator/scripts/gen_skeleton.py --from-index --coverage-report
Output: ✅ functions with tests, ❌ untested functions, 📈 total coverage percentage.
data/test_patterns.json — 8 test pattern categories (unit, security, performance, E2E, database, error handling)data/edge_cases.json — 7 edge case categories with mandatory QA checklist