一键导入
write-tests
Generate focused tests for deterministic local software changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate focused tests for deterministic local software changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | write-tests |
| description | Generate focused tests for deterministic local software changes. |
| version | 0.1.0 |
| targets | ["codex","openclaw","agents"] |
| tags | ["testing"] |
Use this skill when a user asks for new tests, bug reproduction coverage, or fixture-backed regression checks.
Use the target source file, existing test style, package scripts, and fixture data already present in the repo.
Limit edits to tests, fixtures, and tiny support helpers unless the user asks for implementation changes.
Ask before installing dependencies, changing snapshots broadly, or running commands that write outside the repository.
Add fixtures first, cover edge cases, and keep tests runnable offline. Run the narrow test command before wider validation. Verify by running the affected test command and recording the result.