Recipes
Multi-file payloads beyond components: skill bundles, the scaffold template set, and screen slices (controller + view + system test, blocks pulled as dependencies) - installable with bin/rails g poetry:add <name> or any shadcn-compatible registry client.
How it works
Recipes are registry items like components and blocks — served live at
/r/<name>.json, projected from the same gem sources
the generators install, so they can never drift. Files copy to their declared targets and are
yours to edit; existing files are never overwritten. Screen recipes pull the blocks they
compose automatically, and tell you the one route line to add.
In-page agent embed
An opt-in page-agent loader for a poetry app as a Stimulus controller: pinned CDN script (?autoInit=false), session-only BYO key, Turbo-hardened (remounts on turbo:load, idle-only rebuild, module-init catch-up), poetry operator instructions built in. Wire a form with targets model/baseUrl/apiKey/status.
bin/rails g poetry:add agent-embed
poetry scaffold templates
The lib/templates override set that makes the STANDARD `rails g scaffold` emit poetry-composed views and a matching controller - the same files `bin/rails g poetry:scaffold_templates` copies.
bin/rails g poetry:add scaffold-templates
Data index screen
The data-index block as a working feature slice: OrdersController, its index view rendering the block, and a system test. Add `resources :orders, only: :index` to routes.
bin/rails g poetry:add screen-data-index
Settings screen
A settings page composed from the page-header, section-card, and destructive-panel blocks: SettingsController, the composed view, and a system test. Add `resource :settings, only: :show` to routes.
bin/rails g poetry:add screen-settings
poetry skill bundle
The component-usage Claude Code skill (SKILL.md + per-family references), generated from the live registry - the same files `bin/rails g poetry:skill` installs.
bin/rails g poetry:add skill-poetry
poetry-component skill bundle
The component-authoring Claude Code skill (anatomy / documentation / audit references) - the same files `bin/rails g poetry:skill` installs.
bin/rails g poetry:add skill-poetry-component
poetry-design skill bundle
The design-taste Claude Code skill (theme / compose / audit / study references) - the same files `bin/rails g poetry:skill` installs.
bin/rails g poetry:add skill-poetry-design