This file provides guidance to AI coding agents when working with code in this repository.
packs-rails establishes conventions for splitting large Rails monoliths using the packs standard. It automatically adds pack app/ directories to Rails autoload paths so packs are immediately usable without additional configuration.
bundle install
# Run all tests (RSpec)
bundle exec rspec
# Run a single spec file
bundle exec rspec spec/path/to/spec.rb
# Lint
bundle exec rubocop
bundle exec rubocop -a # auto-correct
# Type checking (Sorbet)
bundle exec srb tclib/packs-rails.rb— Railtie entry pointlib/packs/rails/— Railtie that hooks into Rails initialization to register pack autoload paths; also provides helpers for pack-aware engine configurationspec/— RSpec tests;spec/fixtures/contains sample Rails app structures with packs