ruby-standards
Installation
SKILL.md
Ruby Standards
Steps
- Confirm the task touches Ruby code, Ruby APIs, Ruby docs, Ruby linting, or Ruby feature/benchmark flows.
- Read
references/conventions.mdbefore editing documented modules, classes, methods, commands, or task interfaces. - 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.
- Preserve the repository's existing Ruby style, naming, error handling, and test idioms. Do not assume Ruby changes require Ruby tests; use
$testing-standardsto identify the majority relevant existing harness first. - Avoid clever metaprogramming or monkey patches unless the repository already relies on them or the task requires them.
- Pair this skill with
$naming-standardswhen creating, reviewing, or renaming Ruby modules, classes, methods, commands, tests, fixtures, or documentation terms. - Pair this skill with
$change-safetywhen Ruby changes affect documented commands, public methods, task interfaces, or migration expectations. - Pair this skill with
$testing-standardswhen designing, reviewing, or refactoring Ruby test or feature coverage. - Pair this skill with
$change-validationwhen selecting Ruby lint, feature, benchmark, or security commands.