exec-ruby
Skill4 starsChanged 4 days agoMITView on GitHub
Ruby execution idioms to embed into Codex prompts when the target project is Ruby — idiomatic style, error handling, and Rails conventions when present.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accounting-bookkeepingSkill
- agent-context-persistenceSkill
- asoSkill
- brainstorm-argumentationSkill
- brainstorm-debateSkill
- brainstorm-lensesSkill
- causal-inferenceSkill
- context-disciplineSkill
- creative-briefSkill
- customer-support-opsSkill
- data-quality-checksSkill
- design-fundamentalsSkill
- ecommerce-operationsSkill
- event-taxonomySkill
- exec-coding-standardsSkill
- exec-cppSkill
- exec-csharpSkill
- exec-deliverableSkill
- exec-github-actionsSkill
- exec-goSkill
- exec-jvmSkill
- exec-phpSkill
- exec-pythonSkill
- exec-rustSkill
- exec-self-testingSkill
- exec-swiftSkill
- exec-typescriptSkill
- executor-fallbackSkill
- exec-visualizationSkill
- fast-pathSkill
- final-reviewSkill
- financial-auditSkill
- hr-recruitingSkill
- influencer-strategySkill
- interview-ask-backSkill
- interview-elicitationSkill
- jev-assistSkill
- json-data-wranglingSkill
- legal-contract-basicsSkill
- localization-copySkill
- manufacturing-ops-planningSkill
- marketing-attributionSkill
- media-planningSkill
- okr-planningSkill
- pack-game-analyticsSkill
- parallel-executionSkill
- performance-marketingSkill
- personal-financeSkill
- plan-architectureSkill
- plan-backlogSkill
- plan-research-firstSkill
- preflightSkill
- profile-contentSkill
- profile-designSkill
- profile-pilotSkill
- profile-planSkill
- real-estate-analysisSkill
- review-conformanceSkill
- review-dualSkill
- The first 60 shown.
The file
Files
Ruby Idioms (embed when project is Ruby)
Ruby standards:
- Follow the community style guide / the repo's RuboCop config: snake_case methods/vars, CamelCase
classes, SCREAMING_SNAKE constants; two-space indent; guard clauses over nested conditionals.
- Errors: raise specific StandardError subclasses with messages; rescue the narrowest class you can
handle; never rescue Exception broadly; use ensure for cleanup; avoid rescue => e that swallows.
- Prefer expressive enumerables (map/select/reduce/each_with_object) over manual loops; use safe
navigation (&.) and fetch with defaults over silent nil; freeze constants and string literals
where the project does (# frozen_string_literal: true).
- Keep methods short and single-purpose; extract private methods; avoid mutating shared state and
method args unless the API intends it (bang methods signal mutation).
- Rails (if present): use its idioms — strong params, validations and scopes on models, avoid N+1
with includes/eager_load, service objects for complex logic, migrations for schema. Never
interpolate input into SQL — use the query interface or parameterized where.
- Add gems only via the Gemfile; respect the existing dependency and load-path conventions.
- Tests: RSpec or Minitest to match the repo; describe/context/it with behavior-focused names;
arrange-act-assert; use factories/fixtures the project already uses.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

