create-test
Create a test file for a service or class. Use when scaffolding tests, adding test coverage, or creating test files.
- License 许可
- MIT
- 最近更新
- 2026-04-10
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- create-test
- description
- Create a test file for a service or class. Use when scaffolding tests, adding test coverage, or creating test files.
02 资源文件 2
- 参考文档recipe.yaml450 B
- 其他templates/test.py.j2580 B
03 SKILL.md 正文
Create Test
Scaffold a test file for a service class with setup and test methods.
Usage
jig run ${CLAUDE_SKILL_DIR}/recipe.yaml --vars '{"service_name": "<ServiceName>", "module_path": "<module.path>"}'
Variables
- service_name: Name of the service class (e.g.
CoreService) - module_path: Python module path to the service (e.g.
services.core_service)
Extract these from the user's request or by inspecting the source file.
Gotchas
- If jig exits non-zero, it prints the rendered template to stderr. Use that output to apply changes manually.
- The output file is
tests/test_<service_name_snakecase>.py.
04 同仓库更多 Skills
velocity
Systematic DX improvement hunt — find friction, inconsistency, and missing abstractions across PRs, code, or tickets, then feed findings into /improve. Use when looking for ways to accelerate development or compound Claude Code's utility.
upgrade
Upgrade an existing skill or agent by auditing it, gathering user references, and rewriting it with real content. Use when a skill is thin, sloppy, missing gotchas, or needs improvement. Different from /improve which creates new extensions.
improve
Deliberately improve Claude Code by creating or updating skills, agents, hooks, rules, or MCP servers. Use when Claude keeps making the same mistake, a workflow is tedious, a new pattern needs enforcement, or you want to compound Claude's utility.
clean-copy
Recreate the current branch with a clean, narrative commit history. Use before creating a PR from a messy development branch, after exploratory coding with WIP commits, or when commit history is hard to review.
audit
Audit installed skills and agents against best practices. Use when reviewing skill quality, checking for common problems, or before upgrading existing skills. Read-only — produces a report, changes nothing.
typescript-update-model
暂无简介