/pest:polishfrom pest
Pest polish. Test-specific standards for each polish pass. Invoke when polishing Pest test files.
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.
"Tests are specifications. Polish them like production code."
Tests are production code. They earn all seven passes — 1. Docblocks · 2. Names · 3. Methods · 4. Framework internals · 5. Whitespace · 6. Conditionals · 7. Tests — plus the test-specific standards below. One concern per pass, in order. Zero behavior change.
Pairs with kernel:polish for the wider protocol — enumeration, reporting, team mode.
it() Descriptions Are RequirementsPresent tense. No "should." No "correctly handles." No "tests that."
// Requirement
it('syncs only the receipted portion')
it('rejects negative quantities')
it('calculates total from line items')
// Narration — fix these
it('should correctly handle the split payment case')
it('tests that the sync works properly')
Arrange (builder chain) → Act (one call) → Assert (one expectation).
If longer, the helpers aren't absorbing enough.
The arrange phase uses builders or helper methods, not raw factory chains.
$order->assertTotal(50_00) — not expect($response->json('data.total'))->toBe(50_00).
describe() Blocks Name Concerns// Concerns
describe('split-item orders', function () { ... });
describe('partial payments', function () { ... });
// Categories — fix these
describe('edge cases', function () { ... });
describe('regression tests', function () { ... });
$order, $result, $coverage. Not $splitItemOrderWithPartialFiscalCoverage.
See examples.md for full before/after test polish patterns.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub attac-t/the-foundry --plugin pest11 skills in this plugin
/craft-expectation-chainCrafting expectation chains. Fluent assertions without traps.Other plugins' skills for the same job