Use to validate a Ruby project by running all checks: lint, format, type checking, and tests. Ensures project is CI-ready.
From psnnpx claudepluginhub aladac/claude-pluginsThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Optimizes cloud costs on AWS, Azure, GCP via rightsizing, tagging strategies, reserved instances, spot usage, and spending analysis. Use for expense reduction and governance.
Full validation workflow for Ruby projects.
# Full validation (lint + typecheck + test)
bundle exec standardrb && bundle exec srb tc && bundle exec rspec
# With coverage
bundle exec standardrb && bundle exec srb tc && bundle exec rspec --format documentation
bundle exec standardrb
Fix issues:
bundle exec standardrb --fix
# If using Sorbet
bundle exec srb tc
# Specific strictness
bundle exec srb tc --typed=strict
# Full test suite
bundle exec rspec
# With coverage report
COVERAGE=true bundle exec rspec
# Specific file/directory
bundle exec rspec spec/services/
.PHONY: lint typecheck test validate fix
lint:
bundle exec standardrb
typecheck:
bundle exec srb tc
test:
bundle exec rspec
validate: lint typecheck test
fix:
bundle exec standardrb --fix
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Lint
run: bundle exec standardrb
- name: Type check
run: bundle exec srb tc
- name: Test
run: bundle exec rspec
#!/bin/sh
# .git/hooks/pre-commit
bundle exec standardrb --fix
bundle exec srb tc
bundle exec rspec --fail-fast
| Check | Command | Fix |
|---|---|---|
| Lint | standardrb | standardrb --fix |
| Types | srb tc | Add signatures |
| Tests | rspec | Fix failing tests |
| Coverage | COVERAGE=true rspec | Add tests |
# See all issues
bundle exec standardrb --format progress
# Fix automatically
bundle exec standardrb --fix
# Generate RBI files for gems
bundle exec srb rbi gems
# Update Sorbet files
bundle exec srb rbi update
# Run single failing test
bundle exec rspec spec/path/to_spec.rb:42
# Run with verbose output
bundle exec rspec --format documentation