React 19 components with Tailwind CSS v4, shadcn/ui, forms, tables, routing, data fetching, and i18n. Triggers on .tsx files, component, tailwind, tanstack, form, table, router.
Builds React 19 components with Tailwind v4, TanStack libraries, and shadcn/ui. Triggers on .tsx files and keywords like "component", "tailwind", "tanstack", "form", "table", or "router".
/plugin marketplace add settlemint/agent-marketplace/plugin install devtools@settlemintThis skill inherits all available tools. When active, it can use any tool Claude has access to.
templates/component.tsx.md<mcp_first> CRITICAL: Always fetch documentation before implementing.
This skill depends heavily on Context7 MCP for up-to-date API documentation. React 19 and Tailwind v4 have significant API changes from previous versions. </mcp_first>
<quick_start> Step 1: Load Context7 MCP tool
MCPSearch({ query: "select:mcp__plugin_devtools_context7__query-docs" })
Step 2: Fetch docs for your task (use natural language queries)
// React 19 patterns
mcp__context7__query_docs({
libraryId: "/reactjs/react.dev",
query:
"How do I use the new use hook, server components, and actions in React 19?",
});
// Tailwind v4
mcp__context7__query_docs({
libraryId: "/tailwindlabs/tailwindcss",
query: "How do I configure theme colors in Tailwind v4?",
});
// TanStack Router
mcp__context7__query_docs({
libraryId: "/tanstack/router",
query: "How do I use createFileRoute and useNavigate?",
});
// TanStack Query
mcp__context7__query_docs({
libraryId: "/tanstack/query",
query: "How do I use useQuery, useMutation, and queryClient?",
});
// TanStack Form
mcp__context7__query_docs({
libraryId: "/tanstack/form",
query: "How do I use useForm with field validation?",
});
// TanStack Table
mcp__context7__query_docs({
libraryId: "/tanstack/table",
query: "How do I use useReactTable with columnDef?",
});
Note: Context7 v2 uses server-side filtering for 65% fewer tokens. Pass descriptive natural language queries for best results.
Step 3: Implement with verified patterns
Component template: See templates/component.tsx.md for scaffolding.
</quick_start>
<library_ids> Skip resolve step for these known IDs:
| Library | Context7 ID |
|---|---|
| React | /reactjs/react.dev |
| Tailwind CSS | /tailwindlabs/tailwindcss |
| TanStack Router | /tanstack/router |
| TanStack Query | /tanstack/query |
| TanStack Form | /tanstack/form |
| TanStack Table | /tanstack/table |
| Radix UI | /radix-ui/primitives |
</library_ids>
<constraints> **Banned:** - Components >150 lines, >5 props - Inline styles (use Tailwind) - `useEffect` for derived state - `any` type - CSS class selectors - Re-exports via barrel files (import from canonical source) - `import { X } from "@pkg"` (wrong - use `import { X } from "@pkg/module"`) - Abstractions for one-time operations - Helpers for code used once - Backwards-compatibility shimsRequired:
cn() utility for conditional classes_unused prefixes)Naming: Components=PascalCase, files=kebab-case.tsx, props=<Component>Props
</constraints>
<component_pattern>
import { type ComponentProps } from "react";
import { cn } from "@/lib/utils";
interface MyComponentProps {
title: string;
children: React.ReactNode;
variant?: "default" | "compact";
}
export function MyComponent({
title,
children,
variant = "default"
}: MyComponentProps) {
return (
<div className={cn(
"rounded-lg border p-4",
variant === "compact" && "p-2"
)}>
<h3 className="text-lg font-semibold">{title}</h3>
{children}
</div>
);
}
</component_pattern>
<success_criteria>
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.