一键导入
create-tests
Create tests for recent code changes — analyzes the diff, identifies what needs coverage, and writes appropriate tests
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create tests for recent code changes — analyzes the diff, identifies what needs coverage, and writes appropriate tests
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build a new agent from natural conversation — understand the job, shape the persona, check capabilities, propose, confirm, create
Aggregate standup prep reports from department agents into a unified morning briefing for leadership
Run before creating a PR — chains test creation, compliance checks, and build verification in sequence, stopping on failure
| name | create-tests |
| description | Create tests for recent code changes — analyzes the diff, identifies what needs coverage, and writes appropriate tests |
| agents | ["all"] |
| workflow | project-tools |
Write tests for recent implementation work. Analyzes changes and produces appropriate test coverage.
Identify scope: Run git diff main...HEAD --stat to see what changed. If the user specifies files or a feature, scope to that instead.
Check for existing tests: Changed files may already have test files. Read them first — add new test cases to existing files rather than creating duplicates.
Analyze and write tests:
Verify: Run the project's test command to confirm all tests pass.
Commit: Commit test files with message test: add tests for <feature>