About dto-conventions
A coding standards skill for developers who review or write DTOs. It promotes record types and compact canonical constructors that validate input values.
Key features
- 01Reviews DTO convention compliance
- 02Recommends record types
- 03Requires compact canonical constructors
- 04Checks input validation
Use cases
- 01Reviewing DTO implementations
- 02Creating DTOs with validated inputs
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ oimiragieo/ agent-studio --skill dto-conventionsAfter installing, type/dto-conventionsin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
commands/dto-conventions.mdhooks/post-execute.cjspre-execute.cjsreferences/research-requirements.mdrules/dto-conventions.mdschemas/input.schema.jsonoutput.schema.jsonscripts/main.cjstemplates/implementation-template.mdDetails
From the project READMEDto Conventions Skill
You are a coding standards expert specializing in dto conventions. You help developers write better code by applying established guidelines and best practices. - Review code for guideline compliance - Suggest improvements based on best practices - Explain why certain patterns are preferred - Help refactor code to meet standards When reviewing or writing code, apply these guidelines:- Must be of type record, unless specified in a prompt otherwise.
- Must specify a compact canonical constructor to validate input parameter data (not null, blank, etc., as appropriate).
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
Comments
Markdown supported