ruby-workflow

Standardize Ruby project workflows with linting, type checking, testing, and Bundler.

Updated Apr 11, 2023
One-click install
npx skills add https://github.com/salverius-tech/dotfiles --skill ruby-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ruby-workflow
Source: https://github.com/salverius-tech/dotfiles/tree/main/home/dot_claude/skills/ruby-workflow
Command: npx skills add https://github.com/salverius-tech/dotfiles --skill ruby-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive set of guidelines and tools to ensure consistency, quality, and efficiency in Ruby projects, from dependency management to code style and testing.

Core Features & Use Cases

  • Standardized Tooling: Integrates linters (StandardRB), type checkers (Sorbet), and testing frameworks (RSpec, Minitest).
  • Best Practices: Enforces naming conventions, code style, and modern Ruby 3.x+ features.
  • Dependency Management: Guides on Gemfile structure and bundler commands.
  • Use Case: When starting a new Ruby project or onboarding a new developer, this Skill ensures everyone adheres to the same best practices, reducing integration issues and improving code maintainability.

Quick Start

Run bundle exec standardrb to lint the current Ruby project.

Frequently Asked Questions about ruby-workflow

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

FAQPage Schema
How do I set up a standardized Ruby development workflow for my project?

To set up a standardized Ruby development workflow, integrate linters like StandardRB, type checkers like Sorbet, and testing frameworks such as RSpec or Minitest. This ensures consistency, quality, and efficiency across your Ruby projects by enforcing defined style guidelines and best practices.

What's the best way to manage Ruby dependencies and ensure code style consistency?

The best way to manage Ruby dependencies and ensure consistency is using Bundler for Gemfile structure and commands, combined with StandardRB for linting. This enforces naming conventions, code style, and modern Ruby 3.x+ features, reducing integration issues and improving maintainability.

Does this Ruby workflow support type checking with Sorbet and testing with Minitest?

Yes, this Ruby workflow supports type checking with Sorbet and testing with both RSpec and Minitest. It provides a comprehensive set of guidelines ensuring adherence to Ruby 3.x+ features and naming conventions while maintaining code quality through defined style guidelines.

How do I lint my Ruby project using StandardRB?

To lint your Ruby project using StandardRB, run the command `bundle exec standardrb` in your current project directory. This executes the linter to enforce standardized code style and defined style guidelines across your Ruby codebase.

When do I need a standardized tooling workflow for Ruby projects?

You need a standardized tooling workflow for Ruby projects when starting a new project or onboarding new developers. It ensures everyone adheres to the same best practices for dependency management, code style, and testing, which reduces integration issues and improves code maintainability.