Agent skill

Value Objects And Dtos

by dev-toolings in dev-toolings/superpowers-symfony

Design Value Objects for domain concepts and DTOs for data transfer with proper immutability (readonly) and validation

MITAuto-check passed

Install Value Objects And Dtos

skills CLI
$ npx skills add dev-toolings/superpowers-symfony --skill value-objects-and-dtos -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dev-toolings/superpowers-symfony value-objects-and-dtos --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dev-toolings/superpowers-symfony.git skills-src && mkdir -p .claude/skills && cp -r skills-src/content/skills/value-objects-and-dtos .claude/skills/value-objects-and-dtos && rm -rf skills-src

Use ~/.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/

Facts

Skill name
value-objects-and-dtos
GitHub stars
222
Token cost
~394 tokens
SKILL.md length
189 words
Files
2
Skills in repo
44
Repo updated
First seen
Licence
MIT

At a glance

Design Value Objects for domain concepts and DTOs for data transfer with proper immutability (readonly) and validation

  • Works in 5 steps: Decide: a value object for a domain… → Make it readonly, validate in the… → Give value objects equality by value and… → …
  • SKILL.md covers Use when, Default workflow, Guardrails and Progressive disclosure, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Value Objects And Dtos is an agent skill from dev-toolings/superpowers-symfony. Design Value Objects for domain concepts and DTOs for data transfer with proper immutability (readonly) and validation

Its SKILL.md is about 390 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `reference.md`).

The repository describes itself as: Claude Code plugin for Symfony 7.4 LTS & 8.x — 44 skills, 7 AI subagents & 13 commands for API Platform v4, Doctrine ORM 3, TDD (Pest/PHPUnit), Messenger, security & DDD. The licence is MIT.

Example prompts

  • “/value-objects-and-dtos”

Requirements

  • Pre-approved tools (allowed-tools): Read, Glob, Grep

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Decide: a value object for a domain concept with invariants, a DTO for data crossing a boundary.
  2. Make it readonly, validate in the constructor, and fail fast.
  3. Give value objects equality by value and operations that return new instances.
  4. Persist value objects as Doctrine embeddables.
  5. Keep input DTOs (validation constraints) apart from output DTOs (serializer attributes).

What it can do on your machine

Read from SKILL.md and the folder at commit 459bcd0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Value Objects And Dtos loads about 394 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 189 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~394

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from dev-toolings/superpowers-symfony at commit 459bcd0, republished under its MIT licence (© dev-toolings). 189 words, ~394 tokens.

Download SKILL.mdSave it as .claude/skills/value-objects-and-dtos/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
value-objects-and-dtos
description
Design Value Objects for domain concepts and DTOs for data transfer with proper immutability (readonly) and validation
allowed-tools
Read, Glob, Grep
capabilities
read, search
tags
architecture

Value Objects And Dtos (Symfony)

Use when

  • A domain concept with rules of its own (money, email, address) travels as raw scalars.
  • Data crosses a boundary: request input, API output, message payload.
  • Storing a value object inside a Doctrine entity.

Default workflow

  1. Decide: a value object for a domain concept with invariants, a DTO for data crossing a boundary.
  2. Make it readonly, validate in the constructor, and fail fast.
  3. Give value objects equality by value and operations that return new instances.
  4. Persist value objects as Doctrine embeddables.
  5. Keep input DTOs (validation constraints) apart from output DTOs (serializer attributes).

Guardrails

  • No setters and no mutation: a change returns a new instance.
  • DTOs carry data only, with no behavior.
  • Never expose entities directly as API input or output.
  • Store money as an integer in minor units, never as a float.

Progressive disclosure

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

Output contract

  • Value objects with their invariants and equality.
  • Input and output DTOs, and their mapping to and from entities.
  • Unit tests for each invariant.

References

  • reference.md

© dev-toolings, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in content/skills/value-objects-and-dtos of dev-toolings/superpowers-symfony.

  • SKILL.md
  • reference.md

Open the folder on GitHubat commit 459bcd0

Compare with similar skills

Value Objects And Dtos 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.

Value Objects And Dtos compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Value Objects And Dtos this skilldev-toolings/superpowers-symfony222—~394Automated safety check: PassMIT
Intelligence Transferruvnet/ruflo74k—~877Automated safety check: NotesMIT
Object Altthedaviddias/Front-End-Checklist74k—~429Automated safety check: PassMIT
Object Storagesickn33/agentic-awesome-skills47k2 repos~2.6kAutomated safety check: PassMIT
JavaScript Concept Page Workflowleonardomso/33-js-concepts67k—~3.9kAutomated safety check: PassMIT
JavaScript Concept Page Writerleonardomso/33-js-concepts67k—~14kAutomated safety check: PassMIT

Similar skills

  • Publish or fetch learned patterns across projects via IPFS (Pinata) -- the cross-project pattern transfer that hookstransfer enables

    74k GitHub stars~877 tokensUpdated today
    Auto-check: notes
  • Object Alt

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Provide alternative text for objects.

    74k GitHub stars~429 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Object Storage

    sickn33/agentic-awesome-skills

    Configure object storage with S3, GCS, and MinIO. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~2.6k tokens
    Backend & APIsAuto-check passed
  • JavaScript Concept Page Workflow

    leonardomso/33-js-concepts

    Orchestrates five skills to produce a complete JavaScript concept documentation page, from resource curation through writing, tests, fact-checking and SEO.

    67k GitHub stars~3.9k tokensUpdated 26 days ago
    Writing & ContentAuto-check passed
  • JavaScript Concept Page Writer

    leonardomso/33-js-concepts

    Writes or reviews documentation pages for the 33 JavaScript Concepts project, following its structure, a beginner-friendly voice and rules against AI-sounding language.

    67k GitHub stars~14k tokensUpdated 26 days ago
    Writing & ContentAuto-check passed
  • Concept Synthesis

    garrytan/gbrain

    Deduplicate and synthesize raw concept stubs into a tiered intellectual map (T1 Canon to T4 Riff), tracing idea evolution across sources over time.

    31k GitHub stars~5.5k tokensUpdated today
    Marketing & SEOAuto-check passed

More from dev-toolings/superpowers-symfony

All 44 skills in this repo
  • Symfony Scheduler

    dev-toolings/superpowers-symfony

    Schedule recurring tasks with the Symfony Scheduler component (native since 7.x); define schedules, triggers, and integrate with Messenger

    222 GitHub stars~526 tokensUpdated 2 days ago
    Auto-check: notes
  • API Platform Dto Resources

    dev-toolings/superpowers-symfony

    Map entities to API DTOs in API Platform (v5, 4.4, 4.3) with the Symfony Object Mapper ([Map], stateOptions) for decoupled input/output contracts

    222 GitHub stars~593 tokensUpdated 2 days ago
    Auto-check: notes
  • API Platform Filters

    dev-toolings/superpowers-symfony

    Implement API Platform filters - Parameters API (QueryParameter, v5/4.4/4.3) and the [ApiFilter] attribute deprecated since 4.4 - for search, date, range, boolean, and custom filtering

    222 GitHub stars~610 tokensUpdated 2 days ago
    Auto-check: notes
  • API Platform Resources

    dev-toolings/superpowers-symfony

    Configure API Platform resources (v5, 4.4, 4.3) with explicit operations, pagination, and typed OpenAPI for clean, versioned REST/GraphQL APIs

    222 GitHub stars~560 tokensUpdated 2 days ago
    Auto-check: notes
  • API Platform Security

    dev-toolings/superpowers-symfony

    Secure API Platform resources with security expressions, voters, securityPostValidation, and operation-level access control

    222 GitHub stars~551 tokensUpdated 2 days ago
    Auto-check: notes
  • API Platform Serialization

    dev-toolings/superpowers-symfony

    Control API Platform serialization with groups, [Context], IRI links (readableLink/writableLink), and custom context builders

    222 GitHub stars~519 tokensUpdated 2 days ago
    Auto-check: notes

Questions about Value Objects And Dtos

What does Value Objects And Dtos do?

Design Value Objects for domain concepts and DTOs for data transfer with proper immutability (readonly) and validation. Value Objects And Dtos is an agent skill from dev-toolings/superpowers-symfony.

How do I install Value Objects And Dtos in Claude Code?

Run `npx skills add dev-toolings/superpowers-symfony --skill value-objects-and-dtos -a claude-code`. Or copy the skill folder (content/skills/value-objects-and-dtos in dev-toolings/superpowers-symfony) into .claude/skills/value-objects-and-dtos in your project. Claude Code loads it when a task matches its description.

How do I install Value Objects And Dtos in Codex?

Run `npx skills add dev-toolings/superpowers-symfony --skill value-objects-and-dtos -a codex`. Or copy the skill folder (content/skills/value-objects-and-dtos in dev-toolings/superpowers-symfony) into .agents/skills/value-objects-and-dtos in your project. Codex loads it when a task matches its description.

Can I use Value Objects And Dtos in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dev-toolings/superpowers-symfony --skill value-objects-and-dtos -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/value-objects-and-dtos, .gemini/skills/value-objects-and-dtos, .github/skills/value-objects-and-dtos and .opencode/skills/value-objects-and-dtos in your project.

What does Value Objects And Dtos need to run?

SKILL.md names no scripts, command-line tools or credentials: Value Objects And Dtos is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep.

Does Value Objects And Dtos access the network?

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.

Is Value Objects And Dtos safe to install?

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.

What licence does Value Objects And Dtos use?

Value Objects And Dtos is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Value Objects And Dtos use?

About 394 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Value Objects And Dtos?

Skills that share tags, products or a category with Value Objects And Dtos: Intelligence Transfer (ruvnet/ruflo, 74k stars), Object Alt (thedaviddias/Front-End-Checklist, 74k stars), Object Storage (sickn33/agentic-awesome-skills, 47k stars) and JavaScript Concept Page Workflow (leonardomso/33-js-concepts, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Value Objects And Dtos?

dev-toolings (a GitHub organization) maintains it in dev-toolings/superpowers-symfony, which has 222 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 5, 2026.

Source: dev-toolings/superpowers-symfony on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.