·blueprint-gem
</>

blueprint-gem

faqndo97/ai-skills

使用 Blueprinter gem 在 Ruby 中进行 JSON 序列化。涵盖字段、视图、关联、转换器、提取器和配置。在创建、修改或调试蓝图时使用。

5安装·0热度·@faqndo97

安装

$npx skills add https://github.com/faqndo97/ai-skills --skill blueprint-gem

SKILL.md

Blueprints are JSON object presenters - they transform Ruby objects into simple hashes for JSON serialization. They are NOT models, NOT decorators. Keep them focused on presentation logic only.

Use views to provide different serialization contexts for the same blueprint. Don't create separate blueprint classes when views suffice. Views can include other views and exclude fields.

Use fields (plural) for multiple simple attributes. Use field (singular) only when you need a block, renaming, or options. This keeps blueprints concise.

使用 Blueprinter gem 在 Ruby 中进行 JSON 序列化。涵盖字段、视图、关联、转换器、提取器和配置。在创建、修改或调试蓝图时使用。 来源:faqndo97/ai-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/faqndo97/ai-skills --skill blueprint-gem
分类
</>开发工具
认证
收录时间
2026-02-12
更新时间
2026-02-18

快速解答

什么是 blueprint-gem?

使用 Blueprinter gem 在 Ruby 中进行 JSON 序列化。涵盖字段、视图、关联、转换器、提取器和配置。在创建、修改或调试蓝图时使用。 来源:faqndo97/ai-skills。

如何安装 blueprint-gem?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/faqndo97/ai-skills --skill blueprint-gem 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/faqndo97/ai-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-12