schema-development

Create and modify Laylder schema components with TypeScript definitions and validation.

Updated Nov 11, 2025
One-click install
npx skills add https://github.com/jhlee0409/laylder --skill schema-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: schema-development
Source: https://github.com/jhlee0409/laylder/tree/main/.claude/skills/schema-development
Command: npx skills add https://github.com/jhlee0409/laylder --skill schema-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides structured guidance to create and modify Laylder schema components, breakpoints, and layouts while upholding the Component Independence architecture.

Core Features & Use Cases

  • Schema Modeling: Define components, breakpoints, and layouts per the official schema types.
  • Inheritance & Normalization: Ensure breakpoint inheritance and schema normalization after changes.
  • Validation & Evolution: Improve validation paths and support schema evolution.

Quick Start

Create a new component in an existing schema and add a mobile breakpoint layout.

Frequently Asked Questions about schema-development

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

FAQPage Schema
How do I create a schema component that follows Component Independence architecture?

Schema component creation involves defining TypeScript types in types/schema.ts with PascalCase naming, unique ID generation, and semanticTag mapping, then validating against Component Independence requirements using lib/schema-validation.ts to ensure components remain modular and independently testable.

What's the process for adding responsive breakpoints and layouts to a Laylder schema?

Add breakpoint configurations in your schema, then define layout rules per breakpoint in lib/schema-utils.ts. Apply responsive behavior through breakpoint inheritance, ensuring mobile and desktop layouts validate correctly and support dynamic breakpoint switching without affecting component structure.

How does schema normalization work across breakpoint inheritance?

Schema normalization reconciles breakpoint-specific overrides with inherited parent configurations, ensuring consistent validation across all breakpoints. Use lib/schema-validation.ts to normalize schemas after modifications so child breakpoints properly inherit parent rules while supporting overrides.

Can I validate canvas layouts against the schema during component development?

Yes. Canvas layout validation checks positioning, spacing, and component arrangement against your schema definitions. Use lib/schema-validation.ts to validate layouts match your schema's layout definitions and responsive breakpoint rules before deployment.

What happens if a component doesn't follow the schema naming or typing conventions?

Non-compliant components fail validation in lib/schema-validation.ts, breaking Component Independence requirements and preventing proper inheritance and normalization. Use lib/schema-utils.ts to audit existing components and apply standardized PascalCase naming, ID generation, and type definitions.

Do I need existing components to start building new schema elements?

No. You can create new schema components from scratch using TypeScript definitions and breakpoint configurations. The Skill supports both generating new components and modifying existing ones to meet Component Independence standards and responsive design requirements.