github-monolith-developer

Enforce Rails monolith patterns with testing, RuboCop, Sorbet, and Packwerk.

Updated Aug 8, 2021
One-click install
npx skills add https://github.com/luanzeba/dotfiles --skill github-monolith-developer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-monolith-developer
Source: https://github.com/luanzeba/dotfiles/tree/main/skills/github-monolith-developer
Command: npx skills add https://github.com/luanzeba/dotfiles --skill github-monolith-developer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides standardized Rails monolith development patterns for the GitHub monolith to improve consistency, testing, and maintainability across the codebase.

Core Features & Use Cases

  • Development workflow guidance: establishes a repeatable process for making changes, testing, linting, and type checking.
  • Test and quality culture: emphasizes running unit/integration tests, linting with RuboCop, Sorbet type checks, and Packwerk package checks before merging.
  • Pattern templates: includes conventions for models, controllers, jobs, and packages to speed up feature development and reduce bugs.

Quick Start

Start by inspecting the area you plan to modify, then implement small, atomic changes, and run tests, linting, and type checks.

Frequently Asked Questions about github-monolith-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Rails monolith development patterns for consistency and maintainability?

To enforce Rails monolith development patterns, apply standardized conventions to models, controllers, jobs, and packages, integrating testing, linting, and Sorbet type-checking workflows to ensure consistency and maintainability across the codebase.

What is the workflow for testing and linting changes in a Rails monolith?

The workflow for testing and linting changes in a Rails monolith involves inspecting the target area, implementing small atomic changes, and running unit tests, RuboCop linting, Sorbet type checks, and Packwerk package checks before merging.

How do I use Packwerk package guidelines in Rails monolith development?

To use Packwerk package guidelines in Rails monolith development, enforce package boundaries by running Packwerk checks during your workflow, ensuring dependency isolation and codebase consistency before merging changes.

Does Rails monolith development require Sorbet type checking before merging?

Yes, Rails monolith development requires Sorbet type checking to enforce coding conventions and type safety, ensuring models, controllers, and jobs maintain strict type consistency before code is merged.

What are the best practices for writing models and controllers in a Rails monolith?

Best practices for writing models and controllers in a Rails monolith involve using standardized pattern templates to speed up feature development, applying coding conventions that reduce bugs and enforce maintainability.