learn-dto-entity

Scan source code to document DTO, Entity, Repository, and Factory wiring into knowledge_dto_entity.md.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/minhquan2904/vibe-check-scam --skill learn-dto-entity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learn-dto-entity
Source: https://github.com/minhquan2904/vibe-check-scam/tree/main/.agent/skills/learn-dto-entity
Command: npx skills add https://github.com/minhquan2904/vibe-check-scam --skill learn-dto-entity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically identify and document the Data Layer DNA (DTO, Entity, Repository, and Factory wiring) from a codebase so LLMs can reuse proven patterns and scaffolding.

Core Features & Use Cases

  • Discover base Entity and Model patterns, including annotations, inheritance, and mapping rules.
  • Catalog Repository interfaces and query patterns (findByXxx, custom @Query, pagination, and sorting) for consistent data access.
  • Capture Factory wiring and Entity ↔ Model conversions to enable rapid template generation.
  • Output a knowledge_dto_entity.md with real-source-based templates and guidance for future work.

Quick Start

Run learn-dto-entity on your codebase to generate knowledge_dto_entity.md in base_knowledge/structures/propose/.

Frequently Asked Questions about learn-dto-entity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document DTO, Entity, and Repository patterns for LLM code generation?

To document data layer patterns, you can scan your source code to extract Data Layer DNA, capturing base entity classes, repository interfaces, and factory wiring into a knowledge_dto_entity.md file for LLM reuse. This process automatically identifies and catalogs your data access patterns.

What is the best way to extract Entity to Model conversion rules from a multi-language codebase?

Extracting Entity to Model conversion rules involves scanning the codebase to capture Factory wiring and mapping annotations. This approach automatically identifies inheritance structures and conversion logic, outputting real-source-based templates into a structured markdown knowledge file.

How do I catalog repository query patterns like findByXxx and custom @Query for consistent data access?

Cataloging repository query patterns requires scanning repository interfaces to identify findByXxx methods, custom @Query annotations, and pagination logic. The extracted query patterns are compiled into a comprehensive markdown document for future code scaffolding.

Can I use automated code analysis to generate scaffolding templates for my data layer?

Yes, automated code analysis can generate scaffolding templates by scanning your codebase to discover base Entity and Model patterns. It captures annotations and mapping rules, producing a knowledge file with real-source-based templates to guide rapid data layer generation.

Does this data layer documentation approach work for multi-language codebases?

Yes, this documentation approach applies to multi-language codebases that define DTOs, Entities, Repositories, and Factories. It analyzes base entity classes and repository interfaces across different languages to capture structural patterns and conversion rules.

What output format should I expect when scanning my codebase for data layer structures?

Scanning your codebase for data layer structures outputs a knowledge_dto_entity.md file located in the base_knowledge/structures/propose/ directory. This markdown file contains real source-derived templates, mapping rules, and guidance for LLM reuse.