一键导入
write-tests
Guidance for writing unit and integration tests following the Arrange-Act-Assert pattern, aligned with the project's testing stack in TECH.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidance for writing unit and integration tests following the Arrange-Act-Assert pattern, aligned with the project's testing stack in TECH.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidance for implementing secure, well-structured REST API endpoints.
Guidance for building accessible, testable frontend UI components.
Guidance for writing safe, reversible database schema migrations.
Guidance for implementing consistent, observable error handling.
Guidance for writing meaningful unit and integration tests.
Guidance for designing and implementing a well-structured REST API endpoint with proper validation, error handling, authentication, and documentation.
| name | Write Tests |
| description | Guidance for writing unit and integration tests following the Arrange-Act-Assert pattern, aligned with the project's testing stack in TECH.md. |
Produce meaningful, maintainable tests that validate behavior — not implementation — and give the team confidence to ship and refactor.
.github/TECH.md (section 2 or 3).should <do something> when <condition> or given <state>, when <action>, then <outcome>.__tests__/ structure per TECH.md conventions.