rb:boundaries

Community

Detect and fix Rails boundary violations

Authorslbug
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Identify and explain architectural boundary violations in Rails and Grape applications so teams can extract misplaced logic, reduce coupling, and enforce clear service boundaries before they cause runtime bugs or brittle code.

Core Features & Use Cases

  • Layered boundary analysis: Scans controllers, endpoints, services, models, jobs, and mailers to detect business logic in the wrong layer, external calls in model callbacks, and deep cross-context coupling.
  • Actionable remediation: Provides concrete recommendations such as extracting services, converting callbacks to jobs, passing IDs to background workers, and introducing explicit APIs or events.
  • Monolith / Packwerk guidance: Advises when to adopt Packwerk-style package boundaries for modular monoliths and how to configure enforce_dependencies and enforce_privacy for large codebases.

Quick Start

Ask the agent to analyze the app directory app/ for coupling, list detected boundary violations, and recommend explicit refactors and Packwerk package boundaries.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rb:boundaries
Download link: https://github.com/slbug/claude-ruby-grape-rails/archive/main.zip#rb-boundaries

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.