Add or modify DataObject subclasses inside the better-data library — the immutable, attribute-decorated DTOs that the whole library is buil…
“3D、建模与视觉”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
Add or modify DataObject subclasses inside the better-data library — the immutable, attribute-decorated DTOs that the whole library is built around. Every DTO is final readonly class extends DataObject with constructor-promoted typed parameters; sources hydrate via ::fromArray, sinks project via SinkProjection, the Presenter renders via HasPresenter trait. Important — every trailing constructor parameter MUST have a default. Without it, PHP Reflection reports isDefaultValueAvailable=false on earlier params too, and DataObject throws MissingRequiredFieldException at hydration. Also Secret fields default to ?Secret = null (never new Secret('')), encrypt requires the Secret type, and DTOs never grow public mutators (use ->with([...])). Use when adding a new DTO (UserProfileDto, OrderDto, plugin fixture), adding fields to an existing DTO, or reviewing a PR that introduces a new class extending DataObject. Triggers on extends DataObject, DataObject::fromArray, ->with(), HasWpSources, HasWpSinks, HasPresenter, Miss
Skill 是加载到智能体(如 Claude Code 或 Codex)里的一组指令。就像在手机上安装应用:装一次,智能体就知道怎么做这件事。
它有什么用?
用于“3D、建模与视觉”相关工作。发布者的介绍:Add or modify DataObject subclasses inside the better-data library — the immutable, attribute-decorated DTOs that the whole library is built around.
示例请求
“为这个想法做一个视觉草稿。”
智能体
已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
值得信任吗?
26 个 GitHub 星标 · MIT。安装前请先查看来源。
使用情况
最近 30 天,网站和智能体上。
0个书架收藏
0次浏览
0次命令复制
0次网站下载
0次通过应用安装
0次由智能体自行安装
0位活跃用户
实测评分需要 ANG 应用中至少 20 位用户和 50 个任务;目前有 0 位用户、0 个任务。在此之前,强度分根据条目数据估算。