一键导入
write-tests
Add focused, meaningful tests for code — happy path plus the edge cases that matter.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add focused, meaningful tests for code — happy path plus the edge cases that matter.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | Write tests |
| description | Add focused, meaningful tests for code — happy path plus the edge cases that matter. |
| triggers | ["write tests","add tests","unit test","test coverage"] |
Use this when code needs tests. Aim for tests that would actually catch a regression, not just raise the coverage number.
Review a specific GitHub pull request with gh — fetch the diff, fan out reviewers, consolidate, and optionally post the review. Requires the `gh` CLI or the GitHub MCP server.
Stage the right changes and write a clear, conventional commit message.
Systematically diagnose and fix a bug instead of guessing.
Add clear docstrings/comments and update docs for changed or unfamiliar code.
Map and explain an unfamiliar codebase or module to the user.
Improve code structure in small, safe steps without changing behavior.