一键导入
test-driven-development
Designs tests in {{project.paths.tests}} before implementation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Designs tests in {{project.paths.tests}} before implementation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
MiniHES 后端开发规范。当用户进行 FastAPI 后端开发、API 设计、数据库操作、 DLMS 协议实现、数据采集任务开发时自动激活。 涵盖分层架构、编码原则、安全要求、数据库规范。
MiniHES 代码审查。当用户请求审查代码、review PR、检查变更时激活。 支持本地变更审查和指定文件审查,输出结构化审查报告。 引用 backend-checklist.md 和 frontend-checklist.md 作为审查依据。
修复代码格式和 lint 问题。当用户在提交前需要修复代码风格、 排查 lint 错误、或说 "fix"、"格式化"、"lint" 时激活。
MiniHES 前端开发规范。当用户进行 Vue 3 前端开发、组件设计、 页面布局、样式调整时自动激活。 涵盖技术栈、组件设计原则、设计规范、Ant Design Vue 用法。
Systematic code review patterns covering security, performance, maintainability, correctness, and testing
Distills iteration lessons, categorizes them, and injects them into the most relevant Skill.md files with deduplication.
| name | Test Driven Development |
| description | Designs tests in {{project.paths.tests}} before implementation |
| id | test_driven_development |
| dimensions | ["unit_tests","integration_tests","coverage_goals"] |
| tools | ["{{project.standards.pytest or 'pytest'}}","coverage"] |
| constraints | ["must_block_on_test_failure"] |
| levels | {"1":"Writes unit tests for core logic","2":"Covers edge cases and negative paths","3":"Designs executable specifications and fixtures"} |
| skill_type | procedural |
| side_effects | ["file_write"] |
| deterministic | false |
| testable | true |
| metadata | {"execution_mode":"implementation","execution_tools":["file_write","file_modify","file_read","command_execute"],"execution_capabilities":["write_tests","create_test_files","run_tests","verify_test_coverage"]} |
Designs tests in {{project.paths.tests}} before implementation
Writes unit tests for core logic
Covers edge cases and negative paths
Designs executable specifications and fixtures