What problem does it solve?
This skill guides the creation of lifeguard.yaml rules to standardize and improve code review processes. It ensures consistent code quality, adherence to project conventions, and helps prevent common pitfalls, ultimately saving time in review cycles.
Core Features & Use Cases
- Rule Generation: Creates structured YAML rules with clear names, descriptions, and categories (e.g.,
LG-vue-style-001), tailored to specific codebase needs.
- Codebase-Aware Rules: Identifies common pitfalls, anti-patterns, and project conventions by understanding the current codebase to generate highly relevant and useful rules.
- Validation & Review: Includes a Python script for YAML syntax validation and suggests using the
oracle subagent for an expert review of the rule content, ensuring reasonableness and utility.
Quick Start
Create lifeguard rules for a Vue.js project, focusing on component styling and naming conventions, and ensure the generated YAML is valid.