在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用presentation
Presentation layer serializes domain entities to wire formats (JSON, etc.)
星标0
分支0
更新时间2026年6月4日 02:49
文件资源管理器
7 个文件SKILL.md
readonly菜单
Presentation layer serializes domain entities to wire formats (JSON, etc.)
| name | presentation |
| description | Presentation layer serializes domain entities to wire formats (JSON, etc.) |
app/presentation/ is the seam between the application's domain vocabulary
and whatever shape the outside world expects.
app/presentation/
└── representers/ ← Roar decorators that turn entities into JSON
Entity::* (or response DTO) and produce the JSON / hash
the route is about to writeiso8601 for timestamps)See ./representers/SKILL.md for the representer
conventions and the inline PromptLog example.
Request contracts validate input AND map external API names onto domain entities
Domain-Driven Design architecture patterns and conventions for this project
Roar::Decorator representers that turn domain entities into JSON
Repository pattern for translating between ORM rows and domain entities
How orm/ and repositories/ split responsibility in app/infrastructure/database/
When to use Dry::Struct DTO entities vs. plain Ruby class entities in domain/entities/