ruby-standards
Use when writing, reviewing, refactoring, documenting, linting, or validating Ruby code in repos that use this shared ./bin tooling. Apply this repository ecosystem's Ruby coding, API, documentation, naming idiom, style, and test-entrypoint conventions; pair with $naming-standards when names or renames are part of the change.
Works with
Agent Skills format with YAML frontmatter. Claude Code reads it as-is.
--- name: "ruby-standards" description: "Use when writing, reviewing, refactoring, documenting, linting, or validating Ruby code in repos that use this shared ./bin tooling. Apply this repository ecosystem's Ruby coding, API, documentation, naming idiom, style, and test-entrypoint conventions; pair with $naming-standards when names or renames are part of the change." license: "MIT" --- # Ruby Standards ## Steps 1. Confirm the task touches Ruby code, Ruby APIs, Ruby docs, Ruby linting, or Ruby feature/benchmark flows. 2. Read `references/conventions.md` before editing documented modules, classes, methods, commands, or task interfaces. 3. Before adding or changing documented Ruby modules, classes, methods, commands, tasks, DSL entrypoints, or examples, sketch the intended Ruby call site or command invocation first. Use that caller shape to decide public names, ownership, lifecycle, and documentation before writing tests or implementation. 4. Preserve the repository's existing Ruby style, naming, error handling, and test idioms. Do not assume Ruby changes require Ruby tests; use `$testing-standards` to identify the majority relevant existing harness first. 5. Avoid clever metaprogramming or monkey patches unless the repository already relies on them or the task requires them. 6. Pair this skill with `$naming-standards` when creating, reviewing, or renaming Ruby modules, classes, methods, commands, tests, fixtures, or documentation terms. 7. Pair this skill with `$change-safety` when Ruby changes affect documented commands, public methods, task interfaces, or migration expectations. 8. Pair this skill with `$testing-standards` when designing, reviewing, or refactoring Ruby test or feature coverage. 9. Pair this skill with `$change-validation` when selecting Ruby lint, feature, benchmark, or security commands. ## References - Read `references/conventions.md` for Ruby API, documentation, and convention guidance.
More Refactoring skills
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
analyze-project
lllllllama/rigorpilot-skills
Rigor Analyze / Rigor Audit read-only skill for deep learning research repositories. Use when the user wants to read and understand a repository, inspect model structure and training or inference entrypoints, review configs and insertion points, or flag suspicious implementation patterns without modifying code or running heavy jobs. Do not use for active command execution, broad refactoring, speculative code adaptation, or automatic bug fixing.
request-refactor-plan
mattpocock/skills
Create a detailed refactor plan with tiny commits via user interview, then file it as a GitHub issue. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.

