Pest Testing
luadotsh/lua
A skill your agent uses for Pest PHP testing in Laravel projects only.
A skill your agent uses for Pest PHP testing in Laravel projects only.
$ npx skills add mnapoli/vibephp --skill pest-testing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mnapoli/vibephp pest-testing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mnapoli/vibephp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/pest-testing .claude/skills/pest-testing && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pest-testing" agent skill from https://github.com/mnapoli/vibephp/tree/main/.claude/skills/pest-testing into .claude/skills/pest-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pest-testing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mnapoli/vibephp/tree/main/.claude/skills/pest-testingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mnapoli/vibephp --skill pest-testing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mnapoli/vibephp pest-testing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mnapoli/vibephp.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/pest-testing .agents/skills/pest-testing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pest-testing" agent skill from https://github.com/mnapoli/vibephp/tree/main/.claude/skills/pest-testing into .agents/skills/pest-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pest-testing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mnapoli/vibephp --skill pest-testing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mnapoli/vibephp pest-testing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mnapoli/vibephp.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/pest-testing .cursor/skills/pest-testing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pest-testing" agent skill from https://github.com/mnapoli/vibephp/tree/main/.claude/skills/pest-testing into .cursor/skills/pest-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pest-testing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mnapoli/vibephp.git --path .claude/skills/pest-testing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mnapoli/vibephp --skill pest-testing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mnapoli/vibephp pest-testing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mnapoli/vibephp.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/pest-testing .gemini/skills/pest-testing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pest-testing" agent skill from https://github.com/mnapoli/vibephp/tree/main/.claude/skills/pest-testing into .gemini/skills/pest-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pest-testing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mnapoli/vibephp pest-testingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mnapoli/vibephp --skill pest-testing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mnapoli/vibephp.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/pest-testing .github/skills/pest-testing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pest-testing" agent skill from https://github.com/mnapoli/vibephp/tree/main/.claude/skills/pest-testing into .github/skills/pest-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pest-testing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mnapoli/vibephp --skill pest-testing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mnapoli/vibephp pest-testing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mnapoli/vibephp.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/pest-testing .opencode/skills/pest-testing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pest-testing" agent skill from https://github.com/mnapoli/vibephp/tree/main/.claude/skills/pest-testing into .opencode/skills/pest-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pest-testing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pest-testingA skill your agent uses for Pest PHP testing in Laravel projects only.
Pest Testing is an agent skill from mnapoli/vibephp. Use this skill for Pest PHP testing in Laravel projects only. Trigger whenever any test is being written, edited, fixed, or refactored — including fixing tests that broke after a code change, adding assertions, converting PHPUnit to Pest, adding datasets, and TDD workflows. Always activate when the user asks how to write something in Pest, mentions test files or directories (tests/Feature, tests/Unit, tests/Browser), or needs browser testing, smoke testing multiple pages for JS errors, or architecture tests…
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Unit testing, Browser testing and Backend development. It works with PHP and Laravel. The repository describes itself as: A PHP engine that runs on vibes, not code. The licence is MIT.
Read from SKILL.md and the folder at commit 7fb5ad3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
phpFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Pest Testing loads about 1.4k tokens when it runs. Until then it costs about 200 tokens; SKILL.md has 408 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from mnapoli/vibephp at commit 7fb5ad3, republished under its MIT licence (© mnapoli). 408 words, ~1,438 tokens.
.claude/skills/pest-testing/SKILL.md (or your agent's skills folder).Use search-docs for detailed Pest 4 patterns and documentation.
All tests must be written using Pest. Use php artisan make:test --pest {name}.
The {name} argument should include only the path and test name, but should not include the test suite.
php artisan make:test --pest Feature/SomeFeatureTest will generate tests/Feature/Feature/SomeFeatureTest.phpphp artisan make:test --pest SomeControllerTest will generate tests/Feature/SomeControllerTest.phpphp artisan make:test --pest --unit Unit/SomeServiceTest will generate tests/Unit/Unit/SomeServiceTest.phpphp artisan make:test --pest --unit SomeServiceTest will generate tests/Unit/SomeServiceTest.phptests/Feature and tests/Unit directories.tests/Browser/ directory.Pest supports both test() and it() functions. Before writing new tests, check existing test files in the same directory to match the project's convention. Use test() if existing tests use test(), or it() if they use it().
<!-- Basic Pest Test Example -->
it('is true', function () {
expect(true)->toBeTrue();
});php artisan test --compact --filter=testName.php artisan test --compact.php artisan test --compact tests/Feature/ExampleTest.php.Use specific assertions (assertSuccessful(), assertNotFound()) instead of assertStatus():
<!-- Pest Response Assertion -->
it('returns all', function () {
$this->postJson('/api/docs', [])->assertSuccessful();
});| Use | Instead of |
|---|---|
assertSuccessful() | assertStatus(200) |
assertNotFound() | assertStatus(404) |
assertForbidden() | assertStatus(403) |
Import mock function before use: use function Pest\Laravel\mock;
Use datasets for repetitive tests (validation rules, etc.):
<!-- Pest Dataset Example -->
it('has emails', function (string $email) {
expect($email)->not->toBeEmpty();
})->with([
'james' => 'james@laravel.com',
'taylor' => 'taylor@laravel.com',
]);| Feature | Purpose |
|---|---|
| Browser Testing | Full integration tests in real browsers |
| Smoke Testing | Validate multiple pages quickly |
| Visual Regression | Compare screenshots for visual changes |
| Test Sharding | Parallel CI runs |
| Architecture Testing | Enforce code conventions |
Browser tests run in real browsers for full integration testing:
tests/Browser/.Event::fake(), assertAuthenticated(), and model factories.RefreshDatabase for clean state per test.<!-- Pest Browser Test Example -->
it('may reset the password', function () {
Notification::fake();
$this->actingAs(User::factory()->create());
$page = visit('/sign-in');
$page->assertSee('Sign In')
->assertNoJavaScriptErrors()
->click('Forgot Password?')
->fill('email', 'nuno@laravel.com')
->click('Send Reset Link')
->assertSee('We have emailed your password reset link!');
Notification::assertSent(ResetPassword::class);
});Quickly validate multiple pages have no JavaScript errors:
<!-- Pest Smoke Testing Example -->
$pages = visit(['/', '/about', '/contact']);
$pages->assertNoJavaScriptErrors()->assertNoConsoleLogs();Capture and compare screenshots to detect visual changes.
Split tests across parallel processes for faster CI runs.
Pest 4 includes architecture testing (from Pest 3):
<!-- Architecture Test Example -->
arch('controllers')
->expect('App\Http\Controllers')
->toExtendNothing()
->toHaveSuffix('Controller');use function Pest\Laravel\mock; before using mockassertStatus(200) instead of assertSuccessful()assertNoJavaScriptErrors() in browser testsFeature/ or Unit/ in {name} when using make:test© mnapoli, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/pest-testing of mnapoli/vibephp.
Open the folder on GitHubat commit 7fb5ad3
Pest Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Pest Testing this skillmnapoli/vibephp | 158 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Pest Testingluadotsh/lua | 342 | 1 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Pest Testingliberusoftware/real-estate-laravel | 112 | 1 repos | ~1.8k | Automated safety check: Pass | MIT | |
| Pest TestingMineTrax/minetrax | 115 | — | ~787 | Automated safety check: Pass | MIT | |
| Pest Testingslimani-dev/muraqib | 128 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Pest TestingAratKruglik/claude-laravel | 155 | — | ~1.6k | Automated safety check: Pass | None |
luadotsh/lua
A skill your agent uses for Pest PHP testing in Laravel projects only.
liberusoftware/real-estate-laravel
A skill your agent uses for Pest PHP testing in Laravel projects only.
MineTrax/minetrax
A skill your agent uses for Pest PHP testing in Laravel projects only.
slimani-dev/muraqib
Tests applications using the Pest 4 PHP framework. An agent skill from slimani-dev/muraqib.
AratKruglik/claude-laravel
Tests applications using the Pest 4 PHP framework. An agent skill from AratKruglik/claude-laravel.
Jeffallan/claude-skills
Writes strictly typed modern PHP 8.3+ for Laravel, Symfony and plain projects, with PHPStan level 9, PHPUnit or Pest tests, typed DTOs and secure defaults.
Categories
A skill your agent uses for Pest PHP testing in Laravel projects only. Pest Testing is an agent skill from mnapoli/vibephp. Use this skill for Pest PHP testing in Laravel projects only.
Pest Testing fits situations like: pest PHP testing in Laravel projects only; ever any test is being written; refactored — including fixing tests that broke after a code change; adding assertions.
Run `npx skills add mnapoli/vibephp --skill pest-testing -a claude-code`. Or copy the skill folder (.claude/skills/pest-testing in mnapoli/vibephp) into .claude/skills/pest-testing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mnapoli/vibephp --skill pest-testing -a codex`. Or copy the skill folder (.claude/skills/pest-testing in mnapoli/vibephp) into .agents/skills/pest-testing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mnapoli/vibephp --skill pest-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pest-testing, .gemini/skills/pest-testing, .github/skills/pest-testing and .opencode/skills/pest-testing in your project.
Going by SKILL.md and its folder, Pest Testing needs the command-line tools its instructions call (php).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Pest Testing is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Pest Testing: Pest Testing (luadotsh/lua, 342 stars), Pest Testing (liberusoftware/real-estate-laravel, 112 stars), Pest Testing (MineTrax/minetrax, 115 stars) and Pest Testing (slimani-dev/muraqib, 128 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mnapoli (a GitHub user) maintains it in mnapoli/vibephp, which has 158 GitHub stars. The repository was last updated on June 25, 2026.
Source: mnapoli/vibephp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.