Ruby Conventions
This skill checks your Ruby code against established conventions for improved readability and maintainability, boosting collaboration and quality.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add ruby-conventions npx -- -y @trustedskills/ruby-conventions
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"ruby-conventions": {
"command": "npx",
"args": [
"-y",
"@trustedskills/ruby-conventions"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill ensures that Ruby code adheres to established conventions and best practices. It aims to produce clean, readable, and maintainable Ruby code by enforcing consistent formatting, naming schemes, and stylistic choices. The skill is designed to improve the overall quality of Ruby projects.
When to use it
- Code Generation: Use this when generating new Ruby files or modules to ensure they follow standard conventions from the outset.
- Refactoring Existing Code: Apply it during refactoring efforts to bring legacy codebases into compliance with current best practices.
- Automated Style Checks: Integrate it into CI/CD pipelines for automated style checks and enforcement.
- Collaboration: Ensure consistent coding styles across teams working on the same Ruby project.
Key capabilities
- Enforces Ruby conventions
- Improves code readability
- Promotes maintainability
- Supports automated style checking
Example prompts
- "Generate a Ruby class named 'User' following standard naming and formatting conventions."
- "Refactor this Ruby method to adhere to established coding styles: [paste Ruby code here]"
- “Check the following Ruby file for convention violations: [file path]”
Tips & gotchas
The skill assumes familiarity with common Ruby style guides. For optimal results, provide clear instructions regarding specific conventions or desired stylistic preferences.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.