Curated library of atomic skills and personas for Hanami, dry-rb, and ROM Ruby development. Covers actions, slices, repositories, relations, changesets, providers, DI, operations, TDD, CLI, views, routing, validation, and 10 orchestration personas. Shared Ruby process skills have moved to ruby-core-skills. Uses Markdown + Front-matter architecture.
95
95%
Does it follow best practices?
Impact
96%
1.20xAverage score across 45 eval scenarios
Passed
No known issues
Set up providers for services, databases, and application components following Hanami conventions.
config/providers/<name>.rbHanami.app.register_provider(:name) do ... endprepare (lazy) → start (eager, on first use or boot)target["settings"].DO NOT hardcode credentials, URLs, or API keys in providers.
DO NOT call the container directly outside of providers.
DO use settings for all environment-dependent configuration.config/settings.rb if the service needs configuration:
setting :redis_url, constructor: Types::Stringconfig/providers/<name>.rb:
Hanami.app.register_provider(:redis) do
prepare do
require "redis"
end
start do
url = target["settings"].redis_url
client = Redis.new(url:)
register("redis", client)
end
endprepare for requiring gems and lightweight setup.start for instantiation and registration. Access other registered components via target[...]."redis", "http_client", not generic names.Apply these patterns for frequently encountered service types:
start; use target["settings"] for the database URL; depend on the :persistence provider in consumers.prepare; instantiate with base URL and headers from settings in start; register as "http_client" or a service-specific key.start; register as "jobs.adapter" so job classes can resolve it via Deps.prepare; build the store with TTL and connection settings from target["settings"] in start.For extended code examples, see PROVIDER_PATTERNS.md.
config/providers/<name>.rb content.config/settings.rb.include Deps["<key>"] in consumers.| Skill | When to chain |
|---|---|
| load-context | Always first — discover existing providers before adding new ones |
| implement-di | After provider setup, to configure injection in consumers |
| hanami-setup | Part of the project onboarding workflow |
.tessl-plugin
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
scenario-36
scenario-37
scenario-38
scenario-39
scenario-40
scenario-41
scenario-42
scenario-43
scenario-44
scenario-45
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
personas
providers
configure-providers
implement-di
review-security
routing
define-routes
slices
configure-slice
create-slice
extract-slice
review-slice-boundaries
test-slice