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
Move functionality from the monolithic app module into an isolated slice. Preserve behavior — only change structure.
DO NOT change behavior during extraction. Every existing test must pass after the move.
DO NOT extract code without tests. Characterization tests first if missing.
DO leave the original module empty after extraction — remove dead code.App::Payments::*).bundle exec rspeccreate-slice to scaffold the new slice structure.app/ or slices/app/ to slices/<new_slice>/ using git mv to preserve history:
git mv app/actions/payments/ slices/payments/actions/
git mv app/operations/payments/ slices/payments/operations/
git mv app/repositories/payments/ slices/payments/repositories/slices/<slice>/actions/slices/<slice>/operations/slices/<slice>/repositories/slices/<slice>/relations/slices/<slice>/views/# Before
module App
module Payments
class CreateOrder < App::Operation
# ...
end
end
end
# After
module Payments
class CreateOrder < Payments::Operation
# ...
end
endinclude Deps[...] keysrequire statementsbundle exec rspecLoad these files only when needed:
Deps key, require, and reference that changed.| Skill | When to chain |
|---|---|
| create-slice | Create the target slice before moving files |
| test-slice | Verify the extracted slice works in isolation |
| review-slice-boundaries | After extraction, review for boundary violations |
| slice-lifecycle | Part of the slice development lifecycle 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