·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