write-tests
Write unit tests for code that has none. Use when the user asks for tests or for better test coverage.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 4
- Forks
- 7
01 前言 Front Matter
- name
- write-tests
- license
- Apache-2.0
- description
- Write unit tests for code that has none. Use when the user asks for tests or for better test coverage.
02 资源文件 1
- 脚本scripts/find_untested.py712 B
03 SKILL.md 正文
Write tests
- Run
python3 scripts/find_untested.pyfrom this skill's directory, with the project's source directory as its argument. It prints the functions that no test file names. - Pick the first three and write one test for each, next to the tests that already exist.
- Run the tests and fix the tests, not the code, until they pass.
04 同仓库更多 Skills
ship-branch
Commit the finished work and publish the branch. Use when the user says the work is done or asks to ship it.
setup-env
Set up a development environment for a new project. Use when the user clones a project, opens one for the first time, or reports a missing tool.
review-diff
Review the staged changes before a commit. Use when the user asks for a review of a diff or of staged changes.
plan-ticket
Turn a ticket into a short plan with numbered steps and a done check. Use when the user starts work on a ticket or an issue.
deploy
Deploy the current branch to the staging environment. Use when the user asks to deploy or to ship to staging.
commit-message
Write a commit message for the staged changes. Use when the user asks to commit or asks for a commit message.