php-testing-patterns
仓库创建 2026年7月15日最近提交 7 天前SkillHot 收录 4 天前
这个 Skill 做什么
审查 PHPUnit 测试的命名、目录组织、覆盖率盲点、Mockery/PhpUnit mock、数据提供器和 AAA 结构,帮你把测试套件做得更可靠。适合审查 PHP 测试代码或搭建 PHPUnit 套件时使用。特点是兼顾目录镜像、测试隔离与覆盖差距检测,并给出实际可行的修复步骤。
▸ 展开 SKILL.md 英文原文
PHP test code review: PHPUnit test naming, directory mirroring, coverage gap detection, mocking with Mockery or PHPUnit mocks, data providers, test doubles, and AAA structure. Use when reviewing PHP test code or setting up PHPUnit test suites.
0
Stars
0
Forks
10
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Zolletta/zolletta-metaskill/main/php-testing-patterns/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Zolletta/zolletta-metaskill/main/php-testing-patterns/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# PHP Testing Patterns Review skill for PHP test code: test isolation, naming, coverage gaps, mocking patterns, data providers, test doubles, and AAA structure. > **Configuration source**: all project-level configuration (tool availability, effective PHPUnit config) is read from `settings.json` — specifically the `php.tools.*` objects (availability + effective config for `phpunit`). Rule toggles are in `php.testing`. See the parent `SKILL.md` for the setup guard and the shared "Running tools" convention. > **Review mode**: when this skill is invoked as part of a read-only review (e.g. `/zolletta-metaskill review`), follow the rules in [`../docs/reference/code/review-mode.md`](../docs/refe
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有