What problem does it solve?
Manually enforcing coding patterns, conventions, and best practices across a large codebase is time-consuming and prone to human error, leading to inconsistencies and technical debt. This skill automates the validation of code against Changemaker's established patterns.
Core Features & Use Cases
- Comprehensive Code Checks: Validates UI components, API routes, pages, server actions, and code organization against predefined patterns.
- Theme & Structure Enforcement: Ensures consistent theme application (e.g.,
coral-500), Next.js App Router conventions, and proper file naming.
- DRY/YAGNI & Accessibility: Checks for code duplication, unnecessary complexity, and adherence to accessibility standards.
- Use Case: After creating a new UI component, use this skill to validate it. It will check if the component uses shadcn/ui as a base, applies the Changemaker theme, follows naming conventions, and meets accessibility standards, providing a report on any violations and guiding you to maintain code quality.
Quick Start
Validate the new API route app/api/w/[slug]/challenges/route.ts. Check for proper auth checks, response format, and workspace context validation.