mxyhi/ok-skills / ai-elements
ai-elements
VerifiedBuild AI chat interfaces using ai-elements components — conversations, messages, tool displays, prompt inputs, and more. Use when the user wants to build a chatbot, AI assistant UI, or any AI-powered chat interface.
scripts/plan.tsx
View on GitHub"use client";
import {
Plan,
PlanAction,
PlanContent,
PlanDescription,
PlanFooter,
PlanHeader,
PlanTitle,
PlanTrigger,
} from "@/components/ai-elements/plan";
import { Button } from "@/components/ui/button";
import { FileText } from "lucide-react";
const Example = () => (
<Plan defaultOpen={false}>
<PlanHeader>
<div>
<div className="mb-4 flex items-center gap-2">
<FileText className="size-4" />
<PlanTitle>Rewrite AI Elements to SolidJS</PlanTitle>
</div>
<PlanDescription>
Rewrite the AI Elements component library from React to SolidJS while
maintaining compatibility with existing React-based shadcn/ui
components using solid-js/compat, updating all 29 components and their
test suite.
</PlanDescription>
</div>
<PlanTrigger />
</PlanHeader>
<PlanContent>
<div className="space-y-4 text-sm">
<div>
<h3 className="mb-2 font-semibold">Overview</h3>
<p>
This plan outlines the migration strategy for converting the AI
Elements library from React to SolidJS, ensuring compatibility and
maintaining existing functionality.
</p>
</div>
<div>
<h3 className="mb-2 font-semibold">Key Steps</h3>
<ul className="list-inside list-disc space-y-1">
<li>Set up SolidJS project structure</li>
<li>Install solid-js/compat for React compatibility</li>
<li>Migrate components one by one</li>
<li>Update test suite for each component</li>
<li>Verify compatibility with shadcn/ui</li>
</ul>
</div>
</div>
</PlanContent>
<PlanFooter className="justify-end">
<PlanAction>
<Button size="sm">
Build <kbd className="font-mono">⌘↩</kbd>
</Button>
</PlanAction>
</PlanFooter>
</Plan>
);
export default Example;
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: 198k | 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: 198k | 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: 198k | Updated | Claude CodeCodex | Verified | Install |