UncategorizedSkill Writing349 lines
Writing Skills for AI Agent Consumption
Quick Summary18 lines
Skill files are consumed by AI agents (LLMs) as context for task execution. Writing for an AI agent differs from writing for humans: agents have specific strengths (following precise instructions, handling structured data) and limitations (context window size, tendency to hallucinate when uncertain). This skill covers how to write skill files that AI agents can parse, understand, and execute reliably. ## Key Points 1. User provides a task 2. Agent searches skill database 3. Agent selects relevant skill(s) based on metadata + Purpose 4. Agent loads skill content into context 5. Agent interprets instructions 6. Agent executes task guided by skill 7. Agent verifies result against skill criteria - CREATE INDEX idx_users_email ON users(email); - CREATE INDEX idx_orders_user_id ON orders(user_id); - CREATE INDEX idx_orders_created_at ON orders(created_at DESC);" 1. Input is null or undefined → return empty array 2. Input array is empty → return empty array
skilldb get skill-writing-skills/writing-for-ai-agentsFull skill: 349 linesInstall this skill directly: skilldb add skill-writing-skills