This file provides guidance to AI coding agents when working with code in this repository.
code_teams is a low-dependency, plugin-based Ruby gem for declaring and querying engineering teams within a codebase. Teams are defined in config/teams/*.yml files, and plugins extend validation and querying behavior per organization.
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/code_teams.rb— public API:CodeTeams.all,CodeTeams.find, team plugin registrationlib/code_teams/—Teamstruct, YAML parsing, plugin interface, and built-in pluginsspec/— RSpec tests