Borrowing it
Nothing to install: this file belongs to velesnitski/php-agents-boilerplate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/velesnitski/php-agents-boilerplate/main/.claude/skills/testing-strategy/SKILL.mdgit clone --depth 1 https://github.com/velesnitski/php-agents-boilerplateWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/velesnitski/php-agents-boilerplate/testing-strategy)<a href="https://agentmods.dev/skills/velesnitski/php-agents-boilerplate/testing-strategy"><img src="https://agentmods.dev/badge/skills/velesnitski/php-agents-boilerplate/testing-strategy/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/velesnitski/php-agents-boilerplate/testing-strategy"><img src="https://agentmods.dev/badge/skills/velesnitski/php-agents-boilerplate/testing-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.00754 |
| Opus 5.5 | $0.00007 | $0.00302 |
| Sonnet 5.5 | $0.00004 | $0.00151 |
| Haiku 4.5 | $0.00002 | $0.00075 |
Grade A, and why
testing-strategy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing Strategy
Test Structure
tests/
TestCase.php -- base test class
CreatesApplication.php -- app bootstrap trait
Feature/
Controllers/ -- endpoint tests (HTTP layer)
Api/ -- public API controllers
Subscription/ -- subscription controllers
Http/Requests/ -- form request validation tests
Services/ -- service integration tests
Unit/
Services/ -- service unit tests (mocked deps)
Console/Commands/ -- artisan command tests
Requests/ -- request rule tests
Feature vs Unit
Feature tests – test through HTTP, hit real database:
class PageControllerTest extends TestCase
{
use RefreshDatabase;
public function test_show_returns_200_for_valid_token(): void
{
$order = Order::factory()->create();
$response = $this->get("/{$order->uuid}");
$response->assertStatus(200);
}
}
Unit tests – test single class, mock dependencies:
class TokenGeneratorTest extends TestCase
{
public function test_password_to_uuid_returns_valid_format(): void
{
$uuid = TokenGenerator::passwordToUuid('test-password');
$this->assertMatchesRegularExpression(
'/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/',
$uuid,
);
}
}
Running Tests
# Via Makefile (recommended – runs inside Docker)
make test # all tests
make test-optimize # restart + optimize + test
# Via Artisan (inside container)
php artisan test # all tests
php artisan test --filter=ClassName # specific test class
php artisan test --filter=test_method # specific test method
# Via PHPUnit directly
./vendor/bin/phpunit # all tests
./vendor/bin/phpunit --coverage-html storage/coverage # with coverage
# Coverage (requires Xdebug)
make laravel-test-coverage # HTML coverage report in storage/coverage/
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago Changed · +1 lines abecca979c75
- 2mo ago First seen · 107 lines · 18 tokens per session scan A eb9ee8219343
testing-strategy is a skill published in the GitHub repository velesnitski/php-agents-boilerplate (2 stars, last pushed 11d ago), licensed MIT. It adds 18 tokens to every session and 754 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
testing-strategy compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| testing-strategyvelesnitski/php-agents-boilerplate | Skill | 2 | 11d ago | MIT | A | 18 | Claude Code |
| Codeception TestingPramodDutta/qaskills | Skill | 245 | 3d ago | MIT | A | 42 | Claude Code, Codex |
| craft-pestmichtio/craftcms-claude-skills | Skill | 88 | 2d ago | MIT | A | 175 | Claude Code |
| phpunit-unit-test-reviewingshopwareLabs/ai-coding-tools | Skill | 45 | 10d ago | MIT | A | 31 | Claude Code |
| phpunit-unit-test-writingshopwareLabs/ai-coding-tools | Skill | 45 | 10d ago | MIT | A | 187 | Claude Code |
| noerd-testingnoerd-dev/noerd | Skill | 17 | yesterday | MIT | A | 121 | Claude Code, Codex |
| php-testingfusengine/agents | Skill | 34 | 25d ago | MIT | A | 38 | Claude Code |