- 编写简洁、符合惯用法的 Ruby 代码,并提供准确的示例。
- 遵循 Ruby 和 DragonRuby 的约定及最佳实践。
- 根据情况使用面向对象和函数式编程模式。
- 优先选择迭代和模块化,避免代码重复。
- 按照 DragonRuby 约定组织文件结构。
Dragonruby General Ruby Rules
在 DragonRuby 项目中应用通用的 Ruby 编码风格、结构和最佳实践。
Dragonruby General Ruby Rules by liaosw97 · 3a1cca2
npx skillmds@latest add liaosw97/dragonruby-general-ruby-rules File contents
---name: dragonruby-general-ruby-rulesdescription: 在 DragonRuby 项目中应用通用的 Ruby 编码风格、结构和最佳实践。---- 编写简洁、符合惯用法的 Ruby 代码,并提供准确的示例。- 遵循 Ruby 和 DragonRuby 的约定及最佳实践。- 根据情况使用面向对象和函数式编程模式。- 优先选择迭代和模块化,避免代码重复。- 按照 DragonRuby 约定组织文件结构。
liaosw97/awesome-rules-skills/tree/main/plugins/interactive-media/skills/dragonruby-general-ruby-rules commit 3a1cca273c
Frequently asked questions
Run npx skillmds@latest add liaosw97/dragonruby-general-ruby-rules in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
在 DragonRuby 项目中应用通用的 Ruby 编码风格、结构和最佳实践。 It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
liaosw97 (@liaosw97) published this skill. Their other Agent Skills are listed on their SkillMD profile.