What problem does it solve?
Writing frontend UI code with a design system requires knowing the correct components, props, spacing tokens, and layout patterns. This Skill ensures AI-generated UI code consistently uses Razorpay's Blade design system components instead of ad-hoc custom styles, preventing inconsistent UI and incorrect prop usage.
Core Features & Use Cases
- Blade-first code generation: Instructs the AI to consult Blade MCP for component documentation before writing or updating UI code, and to prefer Blade components over custom ones.
- Layout and styling guidance: Provides reference documentation for the Box component,
StyledPropsBlade type, spacing tokens, and responsive breakpoint-based layouts.
- Utility type reference: Documents common types like
TestID, DataAnalyticsAttribute, FeedbackColors, and Breakpoints encountered in Blade component APIs.
- Use Case: When asked to build a settings page, the AI fetches the relevant Blade pattern docs, composes the layout with Box and styled props like
margin="spacing.3", and fixes any TypeScript or ESLint errors using component docs.
Quick Start
Ask the AI to build a responsive dashboard layout using Blade components and the ui-code-guidelines skill.