import { z } from "zod"; import { PageChrome } from "@/components/global/PageChrome"; import { apiFetch } from "@/lib/api/http"; import { Card } from "@/components/ui/Card"; const SkillSchema = z.object({ id: z.string().uuid(), title: z.string(), author: z.string(), description: z.string(), installs: z.number(), }); // The Skill Library (§8.1): catalog + workspace skills, two-column cards. export default async function SkillsPage() { const skills = await apiFetch(z.array(SkillSchema), "/api/skills"); return ( {skills.length === 0 ? (

No skills published yet.

) : ( )}
); }