/pest:craft-custom-expectationfrom pest
Crafting custom expectations. When and how to extract.
Ships in pest. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
"Extract when patterns repeat."
tests/Expectations.php.$this to enable chaining.| Don't | Do | Why |
|---|---|---|
| Extract single-use | Keep inline | Clarity over abstraction |
Forget return $this | Always return | Chaining breaks |
| Scatter across files | Centralize in Expectations.php | Discoverability |
| Reinvent built-ins | Use Pest's expectations | Maintenance |
See examples.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub attac-t/the-foundry --plugin pest11 skills in this plugin
/craft-factory-stateCrafting factory states. DSL for building test state.Other plugins' skills for the same job