"use client"; import { useState } from "react"; import { Copy, Check } from "lucide-react"; import { useTranslations } from "@/lib/i18n"; const steps = [ { step: "01", title: "Find a skill", description: "Browse the Directory above to find an official or community skill that fits your workflow. Each one is a self-contained folder you can read and understand before adding it.", }, { step: "02", title: "Add it to your project", description: "Drop the skill folder into `.github/skills/` in your repo. Modern agentic IDEs (Cursor, Claude Code, Windsurf) automatically index this directory on startup.", }, { step: "03", title: "It just works", description: "Your agent now knows when and how to run this capability based on semantic context. No manual prompting needed. The skill activates automatically.", }, ]; export default function UsingSkills() { const [copied, setCopied] = useState(false); const t = useTranslations(); const copyCode = () => { navigator.clipboard.writeText("npx skills add anthropics/skills/docx"); setCopied(true); setTimeout(() => setCopied(false), 2000); }; return (

{t.using.title}

{t.using.subtitle}

{/* Steps */}
🕵️‍♂️

Step 1: Scuff the Directory

Don't reinvent the wheel! Browse the Directory above. Each skill is just a friendly folder that your AI is literally dying to read.

🚚

Step 2: The "Drop-In" Move

Simply hurl that folder into .github/skills/. Modern IDEs like Cursor and Claude Code will sniff it out instantly and go "Oh wow, new knowledge!"

🪄

Step 3: Magic Happens

Your agent is now officially "skilled." No more pasting 50-line prompts into every new chat window. It just... knows.

{/* Code panels */}
CLI
              npx skills add anthropics/skills/docx
            
Manual drop-in path
              .github/skills/skill-name/
            

Supports GitHub shorthand, full URLs, or local relative paths. Drop-in paths support GitHub shorthand or full URLs.

); }