Curated library of atomic AI agent skills for Hanami, dry-rb, and ROM Ruby development. Covers actions, slices, repositories, relations, changesets, providers, DI, operations, TDD, CLI, views, routing, and validation. Shared Ruby process skills have moved to ruby-core-skills. Uses Markdown + Front-matter architecture.
92
94%
Does it follow best practices?
Impact
92%
1.33xAverage score across 35 eval scenarios
Passed
No known issues
Load the minimum context needed to work safely in a Hanami codebase. Discover structure before proposing changes.
load-context.[!IMPORTANT] Security Gate: Always redact all passwords, credentials, tokens, and API keys. Replace them with
[REDACTED]or*****in any notes or summaries.
Pattern reference: For details on sampling, see PATTERNS.md.
Slice inventory — list every slice in slices/:
find slices/ -mindepth 1 -maxdepth 1 -type d
find slices/ -name '*.rb' | head -40Checkpoint: If slices/ is missing, verify this is a Hanami 2.x application by checking Gemfile or config/app.rb.
Provider inventory — read config/providers/ to identify registered integrations:
cat config/providers/*.rbSettings — inspect config/settings.rb for environment variables and type constraints:
cat config/settings.rb 2>/dev/null || cat config/settings/*.rbRoutes — read config/routes.rb to map URL endpoints:
cat config/routes.rbROM setup — identify database adapters, relation paths, and migration setup:
cat config/providers/rom.rb 2>/dev/null || grep -r 'rom' config/providers/ -lTest setup — detect testing frameworks and transactional helpers:
cat spec/spec_helper.rb 2>/dev/null
find spec/ -name '*_helper.rb' | head -10Dependency injection — analyze auto_inject usages and mixin styles:
grep -r 'include Deps' slices/ --include='*.rb' | head -10
grep -r 'auto_inject' slices/ config/ --include='*.rb' | head -10Existing patterns — sample actions, operations, and repos:
find slices/ -path '*/actions/*.rb' | head -3 | xargs cat
find slices/ -path '*/operations/*.rb' | head -3 | xargs cat
find slices/ -path '*/repositories/*.rb' | head -3 | xargs catBefore proceeding to any implementation, populate the 7 sections of the context map. For details on the output format and examples, refer to CONTEXT-OUTPUT-FORMAT.md.
| Skill | When to chain |
|---|---|
| configure-providers | After context, to set up or verify provider configuration |
| implement-di | After context, to implement or verify DI patterns |
| hanami-setup | First step in the project onboarding agent |
docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
skills
actions
build-json-api
create-action
handle-errors
validate-params
context
load-context
db
create-changeset
create-repository
define-relation
write-migration
dry-monads
handle-result-pattern
dry-rb
create-operation
create-validation-contract
providers
configure-providers
implement-di
review-security
routing
define-routes
slices
configure-slice
create-slice
extract-slice
review-slice-boundaries
test-slice