What problem does it solve?
This Skill provides a structured checklist to ensure that changes made to CDS React components adhere to established standards for structure, type safety, styling, accessibility, and testing.
Core Features & Use Cases
- Component Structure Validation: Checks if the file organization within a component follows best practices.
- Type Safety Enforcement: Verifies prop typing, backward compatibility, and identifies breaking changes.
- Styling Guidelines: Ensures adherence to theme tokens and CSS variable usage.
- Accessibility Checks: Promotes best practices for platform accessibility.
- Testing and Story Coverage: Confirms the presence and quality of Jest tests and Storybook examples.
- Use Case: A developer can use this Skill to get automated feedback on a new or modified React component before submitting it for a human code review, ensuring it meets all predefined quality gates.
Quick Start
Review the attached React component code for adherence to CDS standards.