yard-documentation
Installation
SKILL.md
YARD Documentation
Use this skill when documenting Ruby classes and public methods with YARD.
Core principle: Every public class and public method has YARD documentation so the contract is clear and tooling can generate API docs. All documentation content (descriptions, examples in comments) must be written in English.
HARD-GATE: After implementation
YARD is not optional polish. After any feature or fix that adds or changes
public Ruby API (classes, modules, public methods):
1. Add or update YARD on those surfaces before the work is considered done.
2. Do not skip YARD because "the PR is small" or "I'll do it later."
Task lists from generate-tasks MUST include explicit YARD sub-tasks after
implementation. If you only wrote specs + code, stop and document before PR.