一键导入
test
Write PHPUnit tests for PHP source files, auto-detecting conventions from the project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write PHPUnit tests for PHP source files, auto-detecting conventions from the project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Show the Cadenza command map — a quick reference to all available agents and commands.
Turn raw context, a thread, or a rough note into a well-structured GitHub issue.
Generate a PO-ready grouped changelog from merged PRs since the last release.
Generate a PR description for the current branch using commits, diffs, and the project template.
Analyse completed pipeline runs and surface DOD pass rates, loop-backs, and failure patterns.
Analyse changes, create atomic commits with generated messages, then offer to push. Accepts inline hints — "without <file>", "excluding <path>", "only <path>".
| name | test |
| description | Write PHPUnit tests for PHP source files, auto-detecting conventions from the project. |
Writes PHPUnit unit and integration tests for PHP source files in this project.
Conventions (naming, @group annotations, mocking libraries) are discovered from the architecture
skill and existing test files — not assumed. Works for any WordPress plugin with Cadenza.
Project identity is auto-detected (see AGENTS.md §3) — no config file.
This skill uses: {ARCH_SKILL}, {DISPLAY_NAME}.
Parse the argument (if any):
target = "auto" (find changed source files on the current branch that lack test coverage)src/Foo/Bar.php → target = "src/Foo/Bar.php"target = ["src/Foo/Bar.php", "src/Baz/Qux.php"]Spawn test-writer as a sub-agent, passing target and the project config above.
Return the list of test files written and the command to run them.