Home / dev-toolings / superpowers-symfony · content/skills/tdd-with-phpunit/SKILL.md · GitHub

tdd-with-phpunit skillA

tdd-with-phpunit is agent-read markdown (skill) from dev-toolings/superpowers-symfony: Apply RED-GREEN-REFACTOR with PHPUnit 10/11 for Symfony; KernelTestCase/WebTestCase, attributes (#[Test]/#[DataProvider]), Foundry.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Tdd With Phpunit (Symfony)

## Use when
- Building regression-safe behavior with TDD/functional/e2e tests.
- Converting bug reports into executable failing tests.

## Default workflow
1. Write failing test for target behavior and one boundary case.
2. Implement minimal code to pass.
3. Refactor while preserving green suite.
4. Broaden coverage for invalid/unauthorized/not-found paths.

## Guardrails
- Prefer deterministic fixtures/builders.
- Assert observable behavior, not internal implementation.
- Keep tests isolated and stable in CI.

## Progressive disclosure
- Use this file for execution posture and risk controls.
- Open references when deep implementation details are needed.

## Output contract
- RED/GREEN/REFACTOR trace.
- Test files changed and executed commands.
- Coverage and confidence notes.

## References
- `reference.md`
- `docs/complexity-tiers.md`

Read the whole file at its exact version.

How to install

Latest version
mdr add dev-toolings/superpowers-symfony/tdd-with-phpunit@git:20260917.3d83f4c
Exact content
mdr add dev-toolings/superpowers-symfony/tdd-with-phpunit@sha256:66c60cf5c15d76d4

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2j5kuxim57ckevnp.svg)](https://markdownregistry.com/a/art_2j5kuxim57ckevnp)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260917.3d83f4c latest2026-09-17 3d83f4c 1,243 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1243 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

dev-toolings/superpowers-symfony · 216 stars · license MIT · pushed 2026-09-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2j5kuxim57ckevnp
GET https://markdownregistry.com/api/v1/resolve?ref=dev-toolings/superpowers-symfony/tdd-with-phpunit
GET https://markdownregistry.com/api/v1/blob/66c60cf5c15d76d4a78453207d9cd87ec83936cda866a1ebcdf1def3efcf91b1

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from dev-toolings/superpowers-symfony

AGENTS.md agents
dev-toolings/superpowers-symfony · AGENTS.md
git:20260917.3d83f4c · audit A · 216 stars
api-platform-dto-resources skill
dev-toolings/superpowers-symfony · content/skills/api-platform-dto-resources/SKILL.md · Map entities to API DTOs in API Platform v4 with the Symfony Object Mapper (#[Map], stateOptions) for decoupled…
git:20260917.3d83f4c · audit A · 216 stars
api-platform-filters skill
dev-toolings/superpowers-symfony · content/skills/api-platform-filters/SKILL.md · Implement API Platform filters - v4 Parameters API (QueryParameter) and legacy #[ApiFilter] - for search, date, range…
git:20260917.3d83f4c · audit A · 216 stars
api-platform-resources skill
dev-toolings/superpowers-symfony · content/skills/api-platform-resources/SKILL.md · Configure API Platform v4 resources with explicit operations, pagination, and typed OpenAPI for clean, versioned…
git:20260917.3d83f4c · audit A · 216 stars
api-platform-security skill
dev-toolings/superpowers-symfony · content/skills/api-platform-security/SKILL.md · Secure API Platform resources with security expressions, voters, securityPostValidation, and operation-level access…
git:20260917.3d83f4c · audit A · 216 stars
api-platform-serialization skill
dev-toolings/superpowers-symfony · content/skills/api-platform-serialization/SKILL.md · Control API Platform serialization with groups, #[Context], IRI links (readableLink/writableLink), and custom context…
git:20260917.3d83f4c · audit A · 216 stars
api-platform-state-providers skill
dev-toolings/superpowers-symfony · content/skills/api-platform-state-providers/SKILL.md · Master API Platform v4 State Providers and Processors (ProviderInterface/ProcessorInterface) to decouple data retrieval…
git:20260917.3d83f4c · audit A · 216 stars
api-platform-tests skill
dev-toolings/superpowers-symfony · content/skills/api-platform-tests/SKILL.md · Test API Platform resources with ApiTestCase; assert collections, items, filters, JSON schema, and authentication
git:20260917.3d83f4c · audit A · 216 stars
api-platform-versioning skill
dev-toolings/superpowers-symfony · content/skills/api-platform-versioning/SKILL.md · Evolve API Platform APIs via deprecation (deprecationReason/sunset, RFC 8594/9745), the recommended alternative to…
git:20260917.3d83f4c · audit A · 216 stars
bootstrap-check skill
dev-toolings/superpowers-symfony · content/skills/bootstrap-check/SKILL.md · Verify Symfony project configuration including .env, services.yaml, doctrine settings, and framework requirements
git:20260917.3d83f4c · audit A · 216 stars
brainstorming skill
dev-toolings/superpowers-symfony · content/skills/brainstorming/SKILL.md · Structured brainstorming for Symfony projects - explore requirements, identify components, and plan architecture…
git:20260917.3d83f4c · audit A · 216 stars
config-env-parameters skill
dev-toolings/superpowers-symfony · content/skills/config-env-parameters/SKILL.md · Manage Symfony configuration with .env files, parameters, secrets vault, and environment-specific settings
git:20260917.3d83f4c · audit A · 216 stars

Every file in dev-toolings/superpowers-symfony

Browse by kind, by grade A, or by owner.