gabelul/stitch-kit / skills/stitch-react-components
stitch-react-components
VerifiedConverts a Stitch screen, a local HTML file, or a URL into modular Vite + React components — TypeScript, theme-mapped Tailwind, dark mode via CSS variables, and clean component architecture. Use this for Vite/React apps without App Router. For Next.js 15 App Router, use stitch-nextjs-components instead. Only the Stitch route needs an API key.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.8 KB |
| references/tailwind-to-react.md | markdown | 3.9 KB |
| resources/architecture-checklist.md | markdown | 1.5 KB |
| resources/component-template.tsx | other | 1008 B |
| scripts/fetch-stitch.sh | script | 1.3 KB |
resources/component-template.tsx
View on GitHubimport React from 'react';
/**
* Template for Stitch-converted React components.
* Replace `StitchComponent` with the actual component name.
* Replace `StitchComponentProps` with domain-specific props.
*
* @see resources/architecture-checklist.md before shipping
* @see references/tailwind-to-react.md for class mapping patterns
*/
interface StitchComponentProps {
/** Content to render inside the component */
readonly children?: React.ReactNode;
/** Additional Tailwind classes to merge in */
readonly className?: string;
}
/**
* Base Stitch component wrapper.
* Demonstrates: typed props, className passthrough, dark mode readiness.
*/
export const StitchComponent: React.FC<StitchComponentProps> = ({
children,
className = '',
}) => {
return (
// Use theme-mapped tokens (bg-background, text-foreground) — never hardcoded hex
<div className={`relative bg-background text-foreground ${className}`}>
{children}
</div>
);
};
export default StitchComponent;
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |