mcpField
D
dto-conventions

dto-conventions

github.com/oimiragieoDevelopment4442 installsUpdated 17w ago
Repository

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

  1. 01Reviews DTO convention compliance
  2. 02Recommends record types
  3. 03Requires compact canonical constructors
  4. 04Checks input validation

Use cases

  1. 01Reviewing DTO implementations
  2. 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-conventions

After installing, type/dto-conventionsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

commands/
dto-conventions.md
hooks/
post-execute.cjs
pre-execute.cjs
references/
research-requirements.md
rules/
dto-conventions.md
schemas/
input.schema.json
output.schema.json
scripts/
main.cjs
templates/
implementation-template.md

Details

From the project README

Dto 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).
Example usage: ``` User: "Review this code for dto conventions compliance" Agent: [Analyzes code against guidelines and provides specific feedback] ```

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