pages-templates

Convert Figma design components into React routes and templates.

2|Updated Jun 26, 2026
One-click install
npx skills add https://github.com/bRRRITSCOLD/compainy --skill pages-templates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pages-templates
Source: https://github.com/bRRRITSCOLD/compainy/tree/main/skills/pages-templates
Command: npx skills add https://github.com/bRRRITSCOLD/compainy --skill pages-templates

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @tanstack/react-router, @tanstack/react-start, @tanstack/react-form, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the process of converting design system components into functional React routes and templates, streamlining the development of user interfaces.

Core Features & Use Cases

  • React Routes from Design: Converts Figma design components into React routes.
  • Layout Templates: Generates layout templates based on design system guidelines.
  • Form Handling: Integrates form handling with TanStack Form for interactive components.
  • Responsive Design: Maps Figma breakpoints to CSS responsive utilities.
  • Testing: Provides unit and integration tests for routes and templates.

Quick Start

Use the pages-templates skill to create a new React route from the 'Dashboard' design system component.

Frequently Asked Questions about pages-templates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Figma design components into React routes?

To convert Figma design components into React routes, you can use an automated transformation process that maps design system elements directly to functional route templates. This approach streamlines UI development by handling layout and responsive design tasks natively.

Does this approach to building React templates work with TanStack Start?

Yes, building React templates with this automated approach requires TanStack Start for routing and state management. It directly integrates with the framework to generate layout templates and manage interactive form state.

What is the best way to handle forms when generating React routes from a design system?

The best way to handle forms in generated React routes is by integrating TanStack Form. This provides interactive form handling directly within the templates created from your design system components, ensuring state and validation are managed efficiently.

Can I map Figma breakpoints to CSS responsive utilities automatically?

Yes, you can map Figma breakpoints to CSS responsive utilities automatically during the design-to-React conversion process. This ensures that the generated layout templates maintain the exact responsive behavior defined in the original design system.

Do I need to write unit tests manually for React routes generated from a design system?

No, you do not need to write unit tests manually. The automated template generation process provides both unit and integration tests for the generated React routes and templates, ensuring they function correctly within your application.