sickn33/agentic-awesome-skills/ruby
Claude Code and agent skill by sickn33/agentic-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Language-specific super-code guidelines for ruby.
Install
npx vskill@latest install sickn33/agentic-awesome-skills/rubySKILL.md
Ruby: Idiomatic Efficiency Reference
Apply only within the requested scope and current project conventions. Preserve behavior, ownership, error handling, accessibility and security; examples are independent fragments, not equivalent rewrites in every context. Verify language/library versions and run relevant checks. Required tests and user-facing progress/results take precedence over brevity rules. Do not install dependencies or delete files merely to follow these examples.
When to Use
- Use this skill when the task matches this description: Language-specific super-code guidelines for ruby.
Table of Contents
- Enumerable & Collections
- Blocks, Procs & Lambdas
- String Handling
- Error Handling
- Classes & Modules
- Ruby Idioms
- Anti-patterns specific to Ruby
1. Enumerable & Collections {#enumerable}
Prefer `map`/`select`/`reject`/`sum` over manual loops. Use `&:method` for single-method blocks.
2. Blocks, Procs & Lambdas {#blocks}
3. String Handling {#strings}
Use heredocs (`<<~HEREDOC`) for multi-line strings. `<<~` strips indentation.
4. Error Handling {#errors}
5. Classes & Modules {#classes}
6. Ruby Idioms {#idioms}
7. Anti-patterns specific to Ruby {#antipatterns}
| Anti-pattern | Preferred | |||
|---|---|---|---|---|
rescue Exception | rescue StandardError | |||
for x in collection | collection.each | |||
Manual attr_reader/writer | attr_accessor / attr_reader | |||
class for pure namespace | module | |||
String concatenation with + | string interpolation #{} | |||
if !condition | unless condition | |||
== true / == false | truthy/falsy check directly | |||
and/or for control flow | &&/` | ` (different precedence) | ||
return at end of method | implicit return (last expression) | |||
| Monkey-patching core classes in production | refinements or wrapper | |||
eval / send for known methods | direct method call |
Limitations
- These are language-specific guidelines and do not cover overall architectural decisions.
- Over-compression might reduce readability; apply judgement.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/super-code/ruby/SKILL.md
Popularity
- Repository stars
- 47,054
- Repository forks
- 6,853
- 7-day trend score
- 54
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/agentic-awesome-skills/ruby)