๐Ÿ—„๏ธ
QualityTypeScript

Doctrine Relations

by dev-toolings

Doctrine Relations is a Quality skill for Claude Code, published by dev-toolings in superpowers-symfony.

208 stars20 forkson dev-toolings/superpowers-symfonyAdded 2026/09/04Repository updated 2026/08/31
ai-agentsanthropicapi-platformclaude-codeclaude-code-plugincqrsddddeveloper-toolsdoctrinedoctrine-ormfrankenphphexagonal-architecturellmpestphpphpunitsymfonysymfony-bundlesymfony-messengertdd
Install in seconds
Install Doctrine Relations
Copy Doctrine Relations into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/dev-toolings/superpowers-symfony/tree/main/skills/doctrine-relations ~/.claude/skills/doctrine-relations

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/dev-toolings/superpowers-symfony.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
skills/doctrine-relations/SKILL.md in dev-toolings/superpowers-symfony
Installs to
~/.claude/skills/doctrine-relations
Collection
One of 23 skills cataloged from this repository
Category
Quality โ€” 1557 skills

What Doctrine Relations does

Doctrine Relations defines Symfony Doctrine entity relationships and related mapping choices. Use it when designing cardinality, cascade behavior, migrations, or reducing N+1 queries.

Doctrine Relations is cataloged under Quality on DirSkills. Doctrine Relations comes from a repository tagged ai-agents, anthropic, api-platform, claude-code and claude-code-plugin.

Documentation

README

Doctrine Relations (Symfony)

Use when

  • Designing entity relations or schema evolution.
  • Improving Doctrine correctness/performance.

Default workflow

  1. Model ownership/cardinality and transactional boundaries.
  2. Apply mapping/schema changes with migration safety.
  3. Tune fetch/query behavior for hot paths.
  4. Verify lifecycle behavior with targeted tests.

Guardrails

  • Keep owning/inverse sides coherent.
  • Avoid destructive migration jumps in one release.
  • Eliminate accidental N+1 and over-fetching.

Progressive disclosure

  • Use this file for execution posture and risk controls.
  • Open references when deep implementation details are needed.

Output contract

  • Entity/migration changes.
  • Integrity and performance decisions.
  • Validation outcomes and rollback notes.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Doctrine Relations

  • What else does dev-toolings publish alongside Doctrine Relations?

    Doctrine Relations is one of 23 skills that DirSkills catalogs from dev-toolings/superpowers-symfony, the repository it ships in. Its siblings there include API Platform Serialization, API Platform Tests and Api Platform DTO Resources. Each one is a separate skill with its own page in this directory, installs the same way Doctrine Relations does, and is maintained by dev-toolings in that same repository. The rest of the collection is listed on the dev-toolings/superpowers-symfony page.

  • How does Doctrine Relations compare to other Quality skills?

    Doctrine Relations ranks #1461 by stars among the 1557 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Doctrine Relations against them. Open each page to compare what they document and how they install.

More from dev-toolings/superpowers-symfony

Doctrine Relations is one of 23 skills cataloged on DirSkills from dev-toolings/superpowers-symfony.

See all 23 skills โ†’
๐Ÿงฉ
2h ago

API Platform Serialization

API Platform Serialization controls Symfony API Platform payloads with groups, #[Context], IRI links, and custom context builders. Use it when defining contracts, mapping resources or DTOs, and verifying serialization behavior.
AI Engineering
20820
๐Ÿงช
2h ago

API Platform Tests

API Platform Tests validates Symfony API Platform resources with ApiTestCase. Use it to assert collections, items, filters, JSON schema, authentication, and contract behavior.
Quality
20820
๐Ÿงฉ
2h ago

Api Platform DTO Resources

Api Platform DTO Resources maps Symfony entities to API Platform v4 DTOs with the Object Mapper. Use it to keep input and output contracts explicit while controlling validation and security.
AI Engineering
20820
๐Ÿงฉ
2h ago

Api Platform State Providers

Api Platform State Providers helps you design API Platform v4 state providers and processors to separate retrieval and persistence from entities. Use it when defining operation contracts, mapping DTOs, and enforcing validation and security behavior.
AI Engineering
20820
๐Ÿ”€
2h ago

Api Platform Versioning

Api Platform Versioning helps evolve Symfony API Platform contracts through deprecation, sunset headers, and path or header strategies. Use it when changing resources, DTOs, validation, or security without breaking clients.
SEO
20820
๐Ÿงน
2h ago

Controller Cleanup

Controller Cleanup refactors fat Symfony controllers into lean ones by moving business logic into services, handlers, and invokable commands. Use it for medium-complexity architecture changes that need checkpoints and validation.
Quality
20820