testing-workflow

testing-workflow is a skill for Claude Code from VilnaCRM-Org/php-service-template. It costs 16 tokens per session (302 once invoked), scanned A, original, CC0-1.0.

A guide for running and debugging the test suites in a PHP service project. It covers unit tests, integration tests, end-to-end tests, Bash behavior tests, code-coverage checks, and mutation testing, which checks whether tests detect deliberately introduced bugs.

In plain words
What is it for?
Use it to choose commands such as `make unit-tests`, `make integration-tests`, or `make behat`. It also covers preparing the test database and rerunning the smallest failing suite.
Why use it?
It provides a suitable test order for small changes, database changes, and risky refactors. It also gives a consistent way to investigate failures and record tests that were not run.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to choose commands such as make unit-tests, make integration-tests, or make behat. It also covers preparing the test database and rerunning the smallest failing suite.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vilnacrm-org/php-service-template/testing-workflow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add VilnaCRM-Org/php-service-template --skill testing-workflow
Clone the repo
git clone --depth 1 https://github.com/VilnaCRM-Org/php-service-template

Made for: Claude Code.

Wrote 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.

agentmods badge for testing-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/vilnacrm-org/php-service-template/testing-workflow/github.svg)](https://agentmods.dev/skills/vilnacrm-org/php-service-template/testing-workflow)
Your own site
<a href="https://agentmods.dev/skills/vilnacrm-org/php-service-template/testing-workflow"><img src="https://agentmods.dev/badge/skills/vilnacrm-org/php-service-template/testing-workflow/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.

agentmods 80×15 button for testing-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/vilnacrm-org/php-service-template/testing-workflow"><img src="https://agentmods.dev/badge/skills/vilnacrm-org/php-service-template/testing-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 302 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00302
Opus 5.5 $0.00006 $0.00121
Sonnet 5.5 $0.00003 $0.00060
Haiku 4.5 $0.00002 $0.00030

Measured 2mo ago against content hash 55c5037c272a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

testing-workflow 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 2mo 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.

.claude/skills/testing-workflow/SKILL.md · 64 lines

What it actually says

Testing Workflow

Test Surfaces

  • make bats - Bash and Makefile behavior
  • make unit-tests - Unit suite
  • make integration-tests - Integration suite
  • make behat - BDD and end-to-end scenarios
  • make tests-with-coverage - PHPUnit with Clover output
  • make infection - Mutation testing

Setup

For anything that touches database-backed behavior:

make setup-test-db

Practical Order

Small change

make unit-tests

Persistence or request-flow change

make setup-test-db
make unit-tests
make integration-tests
make behat

Risky refactor

make setup-test-db
make unit-tests
make integration-tests
make behat
make infection

Debugging Notes

  • Re-run the smallest failing suite first.
  • If only integration or Behat fails, confirm the database was recreated with make setup-test-db.
  • When mutation testing fails, improve tests rather than relaxing Infection.
  • If Makefile behavior is changed, run make bats.

Done Criteria

  • The changed behavior is covered by at least one relevant suite.
  • The suite that failed has been rerun successfully.
  • Any unrun suites are explicitly called out in the final summary.
Changes

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.

  1. 2mo ago First seen · 64 lines · 16 tokens per session scan A 55c5037c272a

Subscribe to this mod's changes

testing-workflow is a skill published in the GitHub repository VilnaCRM-Org/php-service-template (25 stars, last pushed 3mo ago), licensed CC0-1.0. It adds 16 tokens to every session and 302 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-30.

Related

Other skills, from other repositories

Codeception Testing

Expert-level Codeception testing skill for PHP applications. Covers acceptance, functional, and unit testing with the Actor pattern, BDD-style syntax, Page Objects, API testing, and database helpers.

PramodDutta/qaskills · 42 tokens

JMeter Load Testing

Load and performance testing skill using Apache JMeter, covering test plans, thread groups, assertions, listeners, timers, and distributed testing.

PramodDutta/qaskills · 32 tokens

testing-python

Stratégie de Tests Python 3.14+. Use when writing tests, reviewing test coverage, or setting up testing.

TheBeardedBearSAS/claude-craft · 28 tokens

testing-symfony

Stratégie de Tests Symfony 8.1 / PHP 8.5. Use when writing tests, reviewing test coverage, or setting up testing.

TheBeardedBearSAS/claude-craft · 36 tokens

javascript-testing-patterns

Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.

RudyCity/superagent · 63 tokens

test-suite-builder

Design and generate layered Kotlin + Spring tests that balance speed, realism, and regression value across unit, slice, and integration levels. Use when adding coverage for business logic, controllers, repositories, security, serialization, or end-to-end workflows, and when generic AI output would otherwise overuse…

JetBrains/skills · 80 tokens