rails-conventions
Rails 8.x application architecture, implementation, and review guidance for production codebases. Use when building or reviewing Ruby on Rails 8 features across models, controllers, routes, Hotwire, jobs, APIs, performance, security, and testing. Trigger for requests mentioning Rails 8, Active Record, Active Job, GoodJob, Solid Queue, Turbo/Stimulus, REST resources, migrations, code quality, naming, and production readiness.
pinned to #7d63a2bupdated 2 weeks ago
Ask your AI client: “install skills/rails-conventions”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/rails-conventionsmetahub onboarded this repo on the author's behalf.
If you own github.com/ethos-link/rails-conventions on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
17
Last commit
2 weeks ago
Latest release
published
About this skill
Pulled from SKILL.md at publish time.
Follow this workflow and load only the references needed for the task.
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.7d63a2b· 2 weeks ago
Documentation
41Description quality
55 words · 428 chars — "Rails 8.x application architecture, implementation, and review guidance for prod…"
README is present and substantial
2,966 chars · 7 sections · 5 code blocks
Tags / topics declaredwarn
No manifest tags and no GitHub repo topics
Add tags to the manifest (or GitHub topics on the repo) so the registry's search and category filters surface this artifact.
README has usage / example sections
no labeled section but 5 code blocks document usage
Homepage / docs URL declared
no homepage declared (registry will use the repo URL) — info-only, not blocking
Release history
1- releasecurrent7d63a2bwarn2 weeks ago
Contents
A practical Rails skill for teams that value consistency
Build and review Rails 8 code by matching the codebase you already have, not by forcing generic patterns that don’t fit your app.
SKILL.md · References
What this skill helps with
rails-conventions is for real production work in Rails codebases where consistency matters.
It guides agents to:
- inspect local patterns first (models, controllers, routes, tests, deploy setup)
- keep naming and architecture aligned with existing conventions
- write backend-aware job code (
good_joborsolid_queue) without assumptions - catch risks early in security, performance, and test coverage
Coverage
- Rails 8 baseline and compatibility constraints
- Naming, layering, and code organization
- Active Record modeling, PostgreSQL features, and migration discipline
- Controllers, params, and response semantics
- REST/resource-focused routing
- Hotwire/Turbo/Stimulus patterns
- Background jobs (adapter detection + backend-specific guidance)
- Performance and caching strategy
- Security checklist
- Testing strategy (Minitest and Minitest::Mock)
- API and serialization conventions
- Optional 37signals-inspired profile
Validate, install, and update
Run the bundled validation script before publishing changes:
ruby scripts/validate_skill.rb
Install or update the skill with skills:
# install from source
npx skills add [email protected]:ethos-link/rails-conventions.git --skill rails-conventions
# update an existing install
npx skills update rails-conventions
Forward-test prompts
Use these prompts to check that the skill triggers correctly and loads only the references needed for the task:
Implement a new billing webhook endpoint in this Rails app, matching existing conventions and tests.
Review this Rails 8 pull request for production readiness, focusing on naming, data integrity, security, and missing tests.
This Rails app uses GoodJob. Add a background job for exporting account reports without changing the queue backend.
References
- Agent Skills spec: https://agentskills.io
- Heavily inspired by: https://github.com/marckohlbrugge/unofficial-37signals-coding-style-guide
License
MIT.
About
Made by the team at Ethos Link — practical software for growing businesses. We build tools for hospitality operators who need clear workflows, fast onboarding, and real human support.
We also build Reviato, “Capture. Interpret. Act.”. Turn guest feedback into clear next steps for your team. Collect private appraisals, spot patterns across reviews, and act before small issues turn into public ones.
Reviews
No reviews yet. Be the first.
Related
Verification Before Completion
Evidence before assertions, always
Writing Plans
Turn specs into phased implementation plans
Test-Driven Development
Red → green → refactor discipline for any feature or bugfix
mh install skills/rails-conventions