Skip to content

Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.

docs: Deep audit fixes and auto-generated skills catalog

Jez49b98341b5b6
diff --git a/CLAUDE.md b/CLAUDE.md
index 1415a59d..03a4b7a5 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -3,8 +3,8 @@
**Repository**: https://github.com/jezweb/claude-skills
**Purpose**: Production-ready skills for Claude Code CLI
**Owner**: Jeremy Dawes (Jez) | Jezweb
-**Status**: Active Development | 95 Skills (13 archived)
-**Last Updated**: 2026-01-20
+**Status**: Active Development | 96 Skills (13 archived)
+**Last Updated**: 2026-02-02
---
@@ -36,7 +36,7 @@ This repo aligns with **official Anthropic standards**:
- **Our Standards Doc**: [planning/claude-code-skill-standards.md](planning/claude-code-skill-standards.md)
- **Comparison**: [planning/STANDARDS_COMPARISON.md](planning/STANDARDS_COMPARISON.md)
-**Last Verified**: 2025-10-29
+**Last Verified**: 2026-02-02
---
@@ -70,29 +70,36 @@ claude-skills/
│ └── doc-validator.md # Documentation quality
│
├── docs/ # Extended documentation
-│ ├── SKILLS_CATALOG.md # Full skill details
+│ ├── SKILLS_CATALOG.md # Full skill details (auto-generated)
│ ├── MARKETPLACE.md # Marketplace installation
│ ├── GEMINI_GUIDE.md # AI agent onboarding
-│ └── SKILLS_COMMANDS_ARCHITECTURE.md # v2.1.3+ unified architecture
+│ ├── SKILLS_COMMANDS_ARCHITECTURE.md # v2.1.3+ unified architecture
+│ ├── QA_AGENTS_GUIDE.md # Testing and QA with agents
+│ ├── JEZWEB_WORKFLOW.md # Internal Jezweb workflows
+│ └── context-bricks-*.png # Statusline screenshots
│
├── tools/ # Utility scripts
│ ├── statusline/ # Custom statusline scripts
│ └── statusline-npm/ # NPM-based statusline
│
├── archive/ # Archived content
-│ ├── low-priority-skills/ # 13 skills archived 2025-11-17 (in git branch)
+│ ├── audit-cache/ # Deep-audit scraped docs cache (gitignored)
│ ├── deprecated-scripts/ # Old symlink scripts (replaced by plugin system)
-│ └── session-logs/ # Working audit logs (gitignored, archived when needed)
+│ └── session-logs/ # Working audit logs (gitignored)
+│ # Note: 13 archived skills in separate git branch 'archive/low-priority-skills'
│
├── templates/ # ← Templates for new skills
│ ├── SKILL-TEMPLATE.md # Copy-paste SKILL.md starter
│ ├── README-TEMPLATE.md # Copy-paste README starter
+│ ├── RESEARCH_FINDINGS_TEMPLATE.md # Research findings template
+│ ├── CONTENT_AUDIT_TEMPLATE.md # Content audit checklist
+│ ├── skill-metadata-v2.yaml # YAML frontmatter reference
│ └── skill-skeleton/ # Complete directory to copy
│ ├── SKILL.md
│ ├── README.md
-│ ├── scripts/
-│ ├── references/
-│ └── assets/
+│ ├── scripts/example-script.sh
+│ ├── references/example-reference.md
+│ └── assets/example-template.txt
│
├── planning/ # Planning & research docs
│ ├── claude-code-skill-standards.md
@@ -111,6 +118,7 @@ claude-skills/
│ ├── check-all-versions.sh # Comprehensive checker (runs all)
│ ├── check-marketplace-sync.sh # Verify marketplace.json matches skills/
│ ├── generate-plugin-manifests.sh # Generate marketplace manifests
+│ ├── generate-skills-catalog.py # Auto-generate docs/SKILLS_CATALOG.md
│ ├── release-check.sh # Pre-release safety checks
│ ├── review-skill.sh # Skill audit/review automation
│ └── check-versions.sh # Legacy checker (deprecated)
@@ -223,11 +231,11 @@ This repository has three types of files:
---
-## Current Status (2025-12-15)
+## Current Status (2026-02-02)
### ✅ Active Skills (95)
-All 95 skills are production-ready and organized by domain:
+All 96 skills are production-ready and organized by domain:
**Cloudflare Platform** (20 skills):
- cloudflare-worker-base, cloudflare-d1, cloudflare-r2, cloudflare-kv
@@ -497,6 +505,10 @@ cp -r templates/skill-skeleton/ skills/new-skill-name/
# Generate manifest for specific skill
./scripts/generate-plugin-manifests.sh <skill-name>
+# Regenerate skills catalog (after adding/modifying skills)
+python3 scripts/generate-skills-catalog.py
+python3 scripts/generate-skills-catalog.py --dry-run # Preview without writing
+
# Pre-release safety checks (secrets, docs, config)
./scripts/release-check.sh
@@ -714,6 +726,6 @@ See [planning/COMMON_MISTAKES.md](planning/COMMON_MISTAKES.md) for detailed exam
---
-**Last Updated**: 2026-01-31
-**Next Review**: 2026-03-15 (Quarterly)
+**Last Updated**: 2026-02-02
+**Next Review**: 2026-05-02 (Quarterly)
**Maintainer**: Jeremy Dawes | [email protected] | https://jezweb.com.au
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d61a36a5..5136880b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -231,8 +231,8 @@ touch skills/my-skill/SKILL.md
### 2. Test Locally
```bash
-# Install skill to ~/.claude/skills/
-./scripts/install-skill.sh my-skill
+# Install skill locally for testing
+/plugin install ./skills/my-skill
# Test auto-discovery
# Ask Claude to perform a task that should trigger your skill
diff --git a/ONE_PAGE_CHECKLIST.md b/ONE_PAGE_CHECKLIST.md
index 2fe00136..e1ed9e4d 100644
--- a/ONE_PAGE_CHECKLIST.md
+++ b/ONE_PAGE_CHECKLIST.md
@@ -131,8 +131,8 @@ Quick reference is complete:
Skill works in practice:
-- [ ] Installed skill: `./scripts/install-skill.sh my-skill`
-- [ ] Verified symlink: `ls -la ~/.claude/skills/my-skill`
+- [ ] Installed skill: `/plugin install ./skills/my-skill`
+- [ ] Restarted Claude Code to load the skill
- [ ] Tested auto-discovery: Claude suggests skill when relevant
- [ ] Built example project using skill templates
- [ ] All templates work without errors
diff --git a/README.md b/README.md
index af2348a9..3dc23ffd 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@
> /plugin marketplace add jezweb/claude-skills
> ```
-**95 production-ready skills** for Claude Code CLI — Cloudflare, React, AI integrations, and more.
+**96 production-ready skills** for Claude Code CLI — Cloudflare, React, AI integrations, and more.
~60% token savings | 400+ errors prevented | Auto-discovered by Claude
@@ -31,7 +31,7 @@
```bash
git clone https://github.com/jezweb/claude-skills.git ~/Documents/claude-skills
cd ~/Documents/claude-skills
-./scripts/install-skill.sh cloudflare-worker-base # or ./scripts/install-all.sh
+/plugin install ./skills/cloudflare-worker-base # Install specific skill
```
---
@@ -51,7 +51,7 @@ cd ~/Documents/claude-skills
| **CMS** | 3 | TinaCMS, Sveltia, WordPress |
| **Developer Workflow** | 1 | Developer Toolbox (7 agents for code review, debugging, testing) |
-**📋 Full list**: [SKILLS_CATALOG.md](SKILLS_CATALOG.md)
+**📋 Full list**: [SKILLS_CATALOG.md](docs/SKILLS_CATALOG.md)
---
@@ -123,7 +123,7 @@ This works well if you maintain skills across multiple machines or want to publi
```bash
cp -r templates/skill-skeleton/ skills/my-skill/
# Edit SKILL.md and README.md
-./scripts/install-skill.sh my-skill
+/plugin install ./skills/my-skill # Test locally
```
**Guides**: [CONTRIBUTING.md](CONTRIBUTING.md) | [templates/](templates/) | [ONE_PAGE_CHECKLIST.md](ONE_PAGE_CHECKLIST.md)
diff --git a/commands/create-skill.md b/commands/create-skill.md
index 64348dfc..5eaeaa5c 100644
--- a/commands/create-skill.md
+++ b/commands/create-skill.md
@@ -138,7 +138,7 @@ Report any issues found.
### Step 8: Install the Skill
```bash
-./scripts/install-skill.sh <skill-name>
+/plugin install ./skills/<skill-name>
```
---
@@ -218,11 +218,10 @@ Run: ls templates/
```
⚠️ Skill created but install failed.
-Manual install:
-ln -s $(pwd)/skills/<skill-name> ~/.claude/skills/<skill-name>
+Manual install using plugin system:
+/plugin install ./skills/<skill-name>
-Or fix the issue and run:
-./scripts/install-skill.sh <skill-name>
+Then restart Claude Code to load the skill.
```
**If metadata check fails:**
@@ -295,7 +294,7 @@ Would you like me to open SKILL.md to start filling in the TODOs?
|------|----------|
| Template | `templates/skill-skeleton/` |
| Skills | `skills/` |
-| Install script | `scripts/install-skill.sh` |
+| Install command | `/plugin install ./skills/<name>` |
| Metadata check | `scripts/check-metadata.sh` |
| Checklist | `ONE_PAGE_CHECKLIST.md` |
| Standards | `planning/claude-code-skill-standards.md` |
diff --git a/docs/GEMINI_GUIDE.md b/docs/GEMINI_GUIDE.md
index c4db43b0..6de3316a 100644
--- a/docs/GEMINI_GUIDE.md
+++ b/docs/GEMINI_GUIDE.md
@@ -4,7 +4,7 @@
**Repository Path**: `/home/jez/Documents/claude-skills/`
-**Last Updated**: 2025-11-20
+**Last Updated**: 2026-02-02
---
@@ -1028,6 +1028,6 @@ cp -r /home/jez/Documents/claude-skills/skills/[name]/templates/* ./
**End of Guide**
**Version**: 1.0
-**Last Updated**: 2025-11-20
+**Last Updated**: 2026-02-02
**Maintainer**: Jeremy Dawes | [email protected]
**Repository**: https://github.com/jezweb/claude-skills
diff --git a/docs/MARKETPLACE.md b/docs/MARKETPLACE.md
index c0d1d6a7..b95da1b4 100644
--- a/docs/MARKETPLACE.md
+++ b/docs/MARKETPLACE.md
@@ -42,17 +42,18 @@ Claude: [Automatically uses tailwind-v4-shadcn skill]
### Alternative: Manual Installation
-For development or if you prefer symlinks:
+For development or local testing:
```bash
git clone https://github.com/jezweb/claude-skills.git
cd claude-skills
-# Install single skill
-./scripts/install-skill.sh cloudflare-worker-base
+# Install single skill for testing
+/plugin install ./skills/cloudflare-worker-base
-# Install all skills
-./scripts/install-all.sh
+# Or add local repo as marketplace
+/plugin marketplace add ./
+/plugin install cloudflare
```
---
@@ -245,14 +246,14 @@ If you prefer manual installation or want to contribute:
git clone https://github.com/jezweb/claude-skills.git
cd claude-skills
-# Install single skill
-./scripts/install-skill.sh cloudflare-worker-base
+# Install single skill for testing
+/plugin install ./skills/cloudflare-worker-base
-# Install all skills
-./scripts/install-all.sh
+# Or add as local marketplace
+/plugin marketplace add ./
```
-See [README.md](README.md) for development workflow.
+See [README.md](../README.md) for development workflow.
---
@@ -306,7 +307,7 @@ MIT License - see [LICENSE](LICENSE) for details.
---
-**Last Updated**: 2025-12-12
+**Last Updated**: 2026-02-02
**Marketplace Version**: 2.0.0
-**Plugins**: 7 (containing 62 skills)
+**Plugins**: 7 (containing 96 skills)
**Maintainer**: Jeremy Dawes | Jezweb
diff --git a/docs/SKILLS_CATALOG.md b/docs/SKILLS_CATALOG.md
index 5344de2a..2fdc3c49 100644
--- a/docs/SKILLS_CATALOG.md
+++ b/docs/SKILLS_CATALOG.md
@@ -1,470 +1,679 @@
# Skills Catalog
-**60 production-ready skills** organized by category.
+**96 production-ready skills** organized by category.
-Each skill includes auto-trigger keywords, error prevention counts, and links to full documentation.
+Total errors prevented: **611+**
+
+*Auto-generated on 2026-02-02 by `scripts/generate-skills-catalog.py`*
---
-## Cloudflare Platform (16 skills)
+## Quick Navigation
-### cloudflare-worker-base
-Foundation for Cloudflare Workers with Hono routing, Static Assets, and Vite plugin. **Prevents 6 errors.**
+- [Cloudflare Platform](#cloudflare-platform) (17 skills)
+- [AI & Machine Learning](#ai--machine-learning) (13 skills)
+- [Frontend & UI](#frontend--ui) (15 skills)
+- [Authentication](#authentication) (5 skills)
+- [Database & Storage](#database--storage) (6 skills)
+- [Content Management](#content-management) (3 skills)
+- [MCP & Tooling](#mcp--tooling) (5 skills)
+- [Planning & Workflow](#planning--workflow) (8 skills)
+- [Google Cloud & Workspace](#google-cloud--workspace) (6 skills)
+- [Desktop & Mobile](#desktop--mobile) (2 skills)
+- [Python](#python) (2 skills)
+- [Utilities](#utilities) (11 skills)
+- [Developer Workflow](#developer-workflow) (3 skills)
+
+---
+
+## Cloudflare Platform (17 skills)
+
+### cloudflare-agents
+Build AI agents with Cloudflare Agents SDK on Workers + Durable Objects. Provides WebSockets, state persistence, scheduling, and multi-agent coordination.
+**Prevents 23 errors.**
-**Triggers**: `cloudflare worker`, `hono`, `workers static assets`, `vite plugin`
+**Triggers**: `cloudflare agents`, `agents sdk`, `cloudflare agents sdk`, `agents package`
+
+---
+
+### cloudflare-browser-rendering
+Add headless Chrome automation with Puppeteer/Playwright on Cloudflare Workers. Use when: taking screenshots, generating PDFs, web scraping, crawling sites, browser automation, or troubleshooting XPat
---
### cloudflare-d1
-D1 serverless SQL database with migrations, prepared statements, and batch queries. **Prevents 6 errors.**
+Build with D1 serverless SQLite database on Cloudflare's edge. Use when: creating databases, writing SQL migrations, querying D1 from Workers, handling relational data, or troubleshooting D1_ERROR, st
+**Prevents 14 errors.**
-**Triggers**: `d1 database`, `cloudflare d1`, `sql workers`, `d1 migrations`
+---
+
+### cloudflare-durable-objects
+Build stateful Durable Objects for real-time apps, WebSocket servers, coordination, and persistent state.
+**Prevents 20 errors.**
---
-### cloudflare-r2
-R2 object storage (S3-compatible) with multipart uploads, presigned URLs, and CORS. **Prevents 6 errors.**
+### cloudflare-hyperdrive
+Connect Workers to PostgreSQL/MySQL with Hyperdrive's global pooling and caching. Use when: connecting to existing databases, setting up connection pools, using node-postgres/mysql2, integrating Drizz
+**Prevents 11 errors.**
-**Triggers**: `r2 storage`, `cloudflare r2`, `object storage`, `r2 upload`
+**Triggers**: `hyperdrive`, `cloudflare hyperdrive`, `workers hyperdrive`, `postgres workers`
---
-### cloudflare-kv
-KV key-value storage with TTL, metadata, bulk operations, and caching patterns. **Prevents 6 errors.**
+### cloudflare-images
+Store and transform images with Cloudflare Images API and transformations. Use when: uploading images, implementing direct creator uploads, creating variants, generating signed URLs, optimizing format
-**Triggers**: `kv storage`, `cloudflare kv`, `kv cache`, `workers kv`
+**Triggers**: `cloudflare images`, `image upload cloudflare`, `imagedelivery.net`, `cloudflare image transformations`
---
-### cloudflare-workers-ai
-Workers AI integration with 50+ models: LLMs, embeddings, image generation, vision. **Prevents 6 errors.**
+### cloudflare-kv
+Store key-value data globally with Cloudflare KV's edge network. Use when: caching API responses, storing configuration, managing user preferences, handling TTL expiration, or troubleshooting KV_ERROR
-**Triggers**: `workers ai`, `cloudflare ai`, `llm workers`, `embeddings`
+**Triggers**: `kv storage`, `cloudflare kv`, `kv namespace`, `workers kv`
---
-### cloudflare-vectorize
-Vector database for RAG and semantic search with Workers AI and OpenAI embeddings. **Prevents 8 errors.**
+### cloudflare-mcp-server
+Build MCP servers on Cloudflare Workers - the only platform with official remote MCP support. TypeScript-based with OAuth, Durable Objects, and WebSocket hibernation.
+**Prevents 24 errors.**
+
+**Triggers**: `Model Context Protocol server`, `MCP server deployment`, `Build MCP server`, `Remote MCP`
+
+---
-**Triggers**: `vectorize`, `vector search`, `rag cloudflare`, `semantic search`
+### cloudflare-python-workers
+Build Python APIs on Cloudflare Workers using pywrangler CLI and WorkerEntrypoint class pattern. Includes Python Workflows for multi-step DAG automation.
+**Prevents 11 errors.**
---
### cloudflare-queues
-Message queues for async processing with batching, retries, and dead letter queues. **Prevents 8 errors.**
+Build async message queues with Cloudflare Queues for background processing. Use when: handling async tasks, batch processing, implementing retries, configuring dead letter queues, managing consumer c
+**Prevents 13 errors.**
-**Triggers**: `cloudflare queues`, `message queue`, `async processing`, `background jobs`
+**Triggers**: `cloudflare queues`, `queues workers`, `message queue`, `queue bindings`
---
-### cloudflare-workflows
-Durable execution for multi-step applications with automatic retries and state persistence. **Prevents 5 errors.**
+### cloudflare-r2
+Store objects with R2's S3-compatible storage on Cloudflare's edge. Use when: uploading/downloading files, configuring CORS, generating presigned URLs, multipart uploads, managing metadata, or trouble
+**Prevents 13 errors.**
-**Triggers**: `cloudflare workflows`, `durable execution`, `workflow step`, `long-running tasks`
+**Triggers**: `r2 storage`, `cloudflare r2`, `r2 upload`, `r2 download`
---
-### cloudflare-durable-objects
-Stateful coordination with WebSocket Hibernation, SQL storage, alarms, and real-time patterns. **Prevents 18 errors.**
+### cloudflare-turnstile
+Add bot protection with Turnstile (CAPTCHA alternative). Use when: protecting forms, securing login/signup, preventing spam, migrating from reCAPTCHA, integrating with React/Next.js/Hono, implementing
-**Triggers**: `durable objects`, `websocket hibernation`, `do state api`, `real-time cloudflare`
+---
+
+### cloudflare-vectorize
+Build semantic search with Cloudflare Vectorize V2. Covers async mutations, 5M vectors/index, 31ms latency, returnMetadata enum changes, and V1 deprecation.
+**Prevents 14 errors.**
+
+**Triggers**: `base`, `base-en-v1.5`, `embedding-3-small`, `embedding-3-large`
---
-### cloudflare-agents
-Complete Agents SDK for building stateful AI agents with WebSocket, scheduling, RAG, and MCP servers. **Prevents 15 errors.**
+### cloudflare-worker-base
+Set up Cloudflare Workers with Hono routing, Vite plugin, and Static Assets.
+**Prevents 10 errors.**
+
+---
-**Triggers**: `cloudflare agents`, `agents sdk`, `stateful agents`, `mcp server`
+### cloudflare-workers-ai
+Run LLMs and AI models on Cloudflare's GPU network with Workers AI. Includes Llama 4, Gemma 3, Mistral 3.1, Flux images, BGE embeddings, streaming, and AI Gateway. Handles 2025 breaking changes. Preve
+**Prevents 7 errors.**
+
+**Triggers**: `workers ai`, `cloudflare ai`, `ai bindings`, `llm workers`
---
-### cloudflare-mcp-server
-Build remote Model Context Protocol servers on Cloudflare Workers. Includes OAuth, Durable Objects, WebSocket hibernation. **Prevents 15 errors. 87% token savings.**
+### cloudflare-workflows
+Build durable workflows with Cloudflare Workflows (GA April 2025). Features step.do, step.sleep, waitForEvent, Vitest testing, automatic retries, and state persistence for long-running tasks. Prevents
+**Prevents 12 errors.**
-**Triggers**: `mcp server cloudflare`, `model context protocol`, `remote mcp`, `mcp oauth`
+**Triggers**: `Cloudflare Workflows`, `workflows`, `durable execution`, `WorkflowEntrypoint`
---
-### cloudflare-turnstile
-CAPTCHA-alternative bot protection with client-side widgets and server-side validation. **Prevents 12 errors.**
+### drizzle-orm-d1
+Build type-safe D1 databases with Drizzle ORM. Includes schema definition, migrations with Drizzle Kit, relations, and D1 batch API patterns.
+**Prevents 18 errors.**
-**Triggers**: `turnstile`, `captcha`, `bot protection`, `recaptcha alternative`
+---
+
+## AI & Machine Learning (13 skills)
+
+### OpenAI Apps MCP
+Build ChatGPT apps with MCP servers on Cloudflare Workers. Extend ChatGPT with custom tools and interactive widgets (HTML/JS UI).
---
-### cloudflare-hyperdrive
-Connection pooling for Postgres and MySQL databases. **Prevents 6 errors.**
+### ai-sdk-core
+Build backend AI with Vercel AI SDK v6 stable. Covers Output API (replaces generateObject/streamObject), speech synthesis, transcription, embeddings, MCP tools with security guidance. Includes v4→v5 m
+
+---
-**Triggers**: `hyperdrive`, `database pooling`, `postgres cloudflare`
+### ai-sdk-ui
+Build React chat interfaces with Vercel AI SDK v6. Covers useChat/useCompletion/useObject hooks, message parts structure, tool approval workflows, and 18 UI error solutions. Prevents documented issues
---
-### cloudflare-images
-Image optimization and delivery. **Prevents 4 errors.**
+### claude-agent-sdk
+Build autonomous AI agents with Claude Agent SDK. Structured outputs guarantee JSON schema validation, with plugins system and hooks for event-driven workflows.
+**Prevents 14 errors.**
-**Triggers**: `cloudflare images`, `image optimization`, `image delivery`
+---
+
+### claude-api
+Build with Claude Messages API using structured outputs for guaranteed JSON schema validation. Covers prompt caching (90% savings), streaming SSE, tool use, and model deprecations.
+**Prevents 16 errors.**
---
-### cloudflare-browser-rendering
-Headless browser automation with Puppeteer for Workers. **Prevents 8 errors.**
+### elevenlabs-agents
+Build conversational AI voice agents with ElevenLabs Platform. Configure agents, tools, RAG knowledge bases, agent versioning with A/B testing, and MCP security. React, React Native, or Swift SDKs. Pr
+**Prevents 34 errors.**
-**Triggers**: `browser rendering`, `puppeteer workers`, `headless browser`
+**Triggers**: `taking**`, `call webhook**`
---
-### drizzle-orm-d1
-Drizzle ORM integration with Cloudflare D1 for type-safe database queries. **Prevents 8 errors.**
+### google-gemini-api
+Integrate Gemini API with @google/genai SDK (NOT deprecated @google/generative-ai). Text generation, multimodal (images/video/audio/PDFs), function calling, thinking mode, streaming. 1M input tokens.
+**Prevents 14 errors.**
-**Triggers**: `drizzle orm`, `drizzle d1`, `type-safe queries`, `orm cloudflare`
+**Triggers**: `gemini api`, `google gemini`, `@google/genai`, `gemini-2.5-pro`
---
-## AI & Machine Learning (12 skills)
+### google-gemini-embeddings
+Build RAG systems and semantic search with Gemini embeddings (gemini-embedding-001). 768-3072 dimension vectors, 8 task types, Cloudflare Vectorize integration.
+**Prevents 13 errors.**
-### ai-sdk-core
-Backend AI with Vercel AI SDK v5: text generation, structured output, tool calling, agents. **Prevents 12 errors.**
+---
+
+### google-gemini-file-search
+Build document Q&A with Gemini File Search - fully managed RAG with automatic chunking, embeddings, and citations. Upload 100+ file formats, query with natural language.
-**Triggers**: `ai sdk core`, `vercel ai sdk`, `generateText`, `streamText`
+**Triggers**: `file search`, `gemini rag`, `document search`, `knowledge base`
---
-### ai-sdk-ui
-Frontend React hooks (useChat, useCompletion, useObject) for AI-powered UIs. **Prevents 12 errors.**
+### openai-agents
+Build AI applications with OpenAI Agents SDK - text agents, voice agents, multi-agent handoffs, tools with Zod schemas, guardrails, and streaming.
+**Prevents 11 errors.**
-**Triggers**: `ai sdk ui`, `useChat`, `react ai chat`, `streaming ai ui`
+**Triggers**: `triggers when you mention:`, `openai agents`, `openai agents sdk`, `openai agents js`
---
### openai-api
-OpenAI API integration: chat completions, embeddings, vision, audio. **Prevents 8 errors.**
+Build with OpenAI stateless APIs - Chat Completions (GPT-5.2, o3), Realtime voice, Batch API (50% savings), Embeddings, DALL-E 3, Whisper, and TTS.
+**Prevents 16 errors.**
-**Triggers**: `openai api`, `chatgpt api`, `gpt-4`, `openai sdk`
+**Triggers**: `openai api`, `chat completions`, `chatgpt api`, `gpt-5`
---
-### openai-agents
-OpenAI Agents SDK for building stateful agents with tools and handoffs. **Prevents 12 errors.**
+### openai-assistants
+Build stateful chatbots with OpenAI Assistants API v2 - Code Interpreter, File Search (10k files), Function Calling.
+**Prevents 10 errors.**
+
+---
-**Triggers**: `openai agents`, `agent sdk`, `openai tools`, `agent handoffs`
+### openai-responses
+Build agentic AI with OpenAI Responses API - stateful conversations with preserved reasoning, built-in tools (Code Interpreter, File Search, Web Search), and MCP integration.
+**Prevents 11 errors.**
+
+**Triggers**: `responses api`, `openai responses`, `stateful openai`, `openai mcp`
---
-### openai-assistants
-OpenAI Assistants API for long-running conversations with memory. **Prevents 10 errors.**
+## Frontend & UI (15 skills)
-**Triggers**: `openai assistants`, `assistants api`, `openai threads`
+### accessibility
+Build WCAG 2.1 AA compliant websites with semantic HTML, proper ARIA, focus management, and screen reader support. Includes color contrast (4.5:1 text), keyboard navigation, form labels, and live regi
---
-### openai-responses
-OpenAI Responses API for structured outputs. **Prevents 6 errors.**
+### auto-animate
+Zero-config animations for React, Vue, Solid, Svelte, Preact with @formkit/auto-animate (3.28kb).
+**Prevents 15 errors.**
+
+---
-**Triggers**: `openai responses`, `structured output`, `response format`
+### hono-routing
+Build type-safe APIs with Hono for Cloudflare Workers, Deno, Bun, Node.js. Routing, middleware, validation (Zod/Valibot), RPC, streaming (SSE), WebSocket, security (CSRF, secureHeaders).
---
-### google-gemini-api
-Google Gemini API integration: multimodal AI, vision, reasoning. **Prevents 8 errors.**
+### motion
+Build React animations with Motion (Framer Motion) - gestures (drag, hover, tap), scroll effects, spring physics, layout animations, SVG. Bundle: 2.3 KB (mini) to 34 KB (full).
-**Triggers**: `gemini api`, `google ai`, `gemini pro`, `multimodal ai`
+---
+
+### nextjs
+Build Next.js 16 apps with App Router, Server Components/Actions, Cache Components ("use cache"), and async route params. Includes proxy.ts and React 19.2.
+**Prevents 25 errors.**
---
-### google-gemini-embeddings
-Google Gemini embeddings for RAG and semantic search. **Prevents 6 errors.**
+### react-hook-form-zod
+Build type-safe validated forms using React Hook Form v7 and Zod v4. Single schema works on client and server with full TypeScript inference via z.infer.
+
+---
-**Triggers**: `gemini embeddings`, `text-embedding`, `google embeddings`
+### responsive-images
+Implement performant responsive images with srcset, sizes, lazy loading, and modern formats (WebP, AVIF). Covers aspect-ratio for CLS prevention, picture element for art direction, and fetchpriority f
+
+**Triggers**: `srcset`, `loading=`, `lazy`, `eager`
---
-### claude-api
-Anthropic Claude API integration for advanced reasoning. **Prevents 8 errors.**
+### tailwind-patterns
+Production-ready Tailwind CSS patterns for common website components: responsive layouts, cards, navigation, forms, buttons, and typography. Includes spacing scale, breakpoints, mobile-first patterns,
-**Triggers**: `claude api`, `anthropic api`, `claude sonnet`
+**Triggers**: `Tailwind CSS`, `CSS utility classes`, `first CSS`, `shadcn/ui components`
---
-### claude-agent-sdk
-Claude Agent SDK for building agentic applications. **Prevents 10 errors.**
+### tailwind-v4-shadcn
+Set up Tailwind v4 with shadcn/ui using @theme inline pattern and CSS variable architecture. Four-step pattern: CSS variables, Tailwind mapping, base styles, automatic dark mode.
+**Prevents 8 errors.**
+
+---
-**Triggers**: `claude agent sdk`, `anthropic agents`, `claude tools`
+### tanstack-query
+Manage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions.
---
-### elevenlabs-agents
-ElevenLabs conversational AI agents with voice synthesis. **Prevents 6 errors.**
+### tanstack-router
+Build type-safe, file-based React routing with TanStack Router. Supports client-side navigation, route loaders, and TanStack Query integration.
+**Prevents 20 errors.**
-**Triggers**: `elevenlabs`, `voice ai`, `conversational agents`, `text to speech`
+**Triggers**: `TanStack Router`, `tanstack router`, `@tanstack/react-router`, `type-safe routing`
---
-### thesys-generative-ui
-Thesys generative UI for dynamic, AI-powered interfaces. **Prevents 8 errors.**
+### tanstack-start
+Build full-stack React apps with TanStack Start on Cloudflare Workers. Type-safe routing, server functions, SSR/streaming, D1/KV/R2 integration.
+**Prevents 9 errors.**
-**Triggers**: `thesys`, `generative ui`, `dynamic ui`, `ai components`
+---
+
+### tanstack-table
+Build headless data tables with TanStack Table v8. Server-side pagination, filtering, sorting, and virtualization for Cloudflare Workers + D1.
+**Prevents 12 errors.**
+
+**Triggers**: `data table`, `datagrid`, `table component`, `server-side pagination`
---
-## Frontend & UI (12 skills)
+### tiptap
+Build rich text editors with Tiptap - headless editor framework with React and Tailwind v4. Covers SSR-safe setup, image uploads, prose styling, and collaborative editing.
-### tailwind-v4-shadcn
-Tailwind CSS v4 + shadcn/ui + Vite + React with dark mode and theme provider. **Prevents 9 errors.**
+---
-**Triggers**: `tailwind v4`, `shadcn/ui`, `dark mode`, `@theme inline`
+### zustand-state-management
+Build type-safe global state in React with Zustand. Supports TypeScript, persist middleware, devtools, slices pattern, and Next.js SSR with hydration handling.
+**Prevents 6 errors.**
---
-### react-hook-form-zod
-Forms with React Hook Form and Zod validation for type-safe form handling. **Prevents 8 errors.**
+## Authentication (5 skills)
-**Triggers**: `react hook form`, `zod validation`, `form handling`, `useForm`
+### azure-auth
+Microsoft Entra ID (Azure AD) authentication for React SPAs with MSAL.js and Cloudflare Workers JWT validation using jose library. Full-stack pattern with Authorization Code Flow + PKCE.
+**Prevents 8 errors.**
---
-### tanstack-query
-Server state management with TanStack Query for caching and data fetching. **Prevents 10 errors.**
+### better-auth
+Self-hosted auth for TypeScript/Cloudflare Workers with social auth, 2FA, passkeys, organizations, RBAC, and 15+ plugins. Requires Drizzle ORM or Kysely for D1 (no direct adapter). Self-hosted alterna
-**Triggers**: `tanstack query`, `react query`, `useQuery`, `data fetching`
+**Triggers**: `better-auth`, `The library name`, `authentication with D1`, `Cloudflare D1 auth setup`
---
-### tanstack-router
-Type-safe routing with TanStack Router. **Prevents 8 errors.**
+### clerk-auth
+Clerk auth with API Keys beta (Dec 2025), Next.js 16 proxy.ts (March 2025 CVE context), API version 2025-11-10 breaking changes, clerkMiddleware() options, webhooks, production considerations (GCP out
+**Prevents 15 errors.**
-**Triggers**: `tanstack router`, `type-safe routing`, `file-based routing`
+**Triggers**: `clerk`, `clerk auth`, `clerk authentication`, `@clerk/nextjs`
---
-### tanstack-start
-Full-stack React framework with TanStack Start. **Prevents 8 errors.**
+### firebase-auth
+Build with Firebase Authentication - email/password, OAuth providers, phone auth, and custom tokens. Use when: setting up auth flows, implementing sign-in/sign-up, managing user sessions, protecting r
+**Prevents 12 errors.**
+
+---
-**Triggers**: `tanstack start`, `full-stack react`, `server functions`
+### oauth-integrations
+Implement OAuth 2.0 authentication with GitHub and Microsoft Entra (Azure AD) in Cloudflare Workers
+
+**Triggers**: `GitHub OAuth`, `GitHub authentication`, `GitHub API`, `Microsoft OAuth`
---
-### tanstack-table
-Headless table components with TanStack Table. **Prevents 6 errors.**
+## Database & Storage (6 skills)
-**Triggers**: `tanstack table`, `react table`, `data grid`, `sorting filtering`
+### firebase-firestore
+Build with Firestore NoSQL database - real-time sync, offline support, and scalable document storage. Use when: creating collections, querying documents, setting up security rules, handling real-time
+**Prevents 10 errors.**
---
-### zustand-state-management
-Client state management with Zustand: simple, performant, TypeScript-first. **Prevents 6 errors.**
+### firebase-storage
+Build with Firebase Cloud Storage - file uploads, downloads, and secure access. Use when: uploading images/files, generating download URLs, implementing file pickers, setting up storage security rules
+**Prevents 9 errors.**
-**Triggers**: `zustand`, `state management`, `global state`, `react state`
+---
+
+### neon-vercel-postgres
+Set up serverless Postgres with Neon or Vercel Postgres for Cloudflare Workers/Edge. Includes connection pooling, git-like branching, and Drizzle ORM integration.
---
-### hono-routing
-Complete Hono routing and middleware patterns: validation, RPC, error handling. **Prevents 8 errors.**
+### snowflake-platform
+Build on Snowflake's AI Data Cloud with snow CLI, Cortex AI (COMPLETE, SUMMARIZE, AI_FILTER), Native Apps, and Snowpark. Covers JWT auth, account identifiers, Marketplace publishing.
+**Prevents 11 errors.**
-**Triggers**: `hono routing`, `hono middleware`, `hono validator`, `hono rpc`
+**Triggers**: `snowflake`, `snow cli`, `snowflake cli`, `snowflake connection`
---
-### nextjs
-Next.js App Router patterns and best practices. **Prevents 12 errors.**
+### vercel-blob
+Integrate Vercel Blob for file uploads and CDN-delivered assets in Next.js. Supports client-side uploads with presigned URLs and multipart transfers for large files.
+**Prevents 16 errors.**
-**Triggers**: `next.js`, `app router`, `server components`, `nextjs patterns`
+**Triggers**: `@vercel/blob`, `vercel blob`, `vercel storage`, `vercel file upload`
---
-### motion
-Animation library for React (formerly Framer Motion). **Prevents 6 errors.**
+### vercel-kv
+Integrate Redis-compatible Vercel KV for caching, session management, and rate limiting in Next.js. Powered by Upstash with strong consistency and TTL support.
-**Triggers**: `motion`, `framer motion`, `react animation`, `gesture`
+**Triggers**: `@vercel/kv`, `vercel kv`, `vercel redis`, `upstash vercel`
---
-### auto-animate
-Automatic animations for web apps with zero config. **Prevents 4 errors.**
+## Content Management (3 skills)
-**Triggers**: `auto-animate`, `automatic animations`, `list animations`
+### sveltia-cms
+Set up Sveltia CMS - lightweight Git-backed CMS successor to Decap/Netlify CMS (300KB bundle, 270+ fixes). Framework-agnostic for Hugo, Jekyll, 11ty, Astro.
+**Prevents 10 errors.**
---
-### tiptap
-Rich text editor framework based on ProseMirror. **Prevents 8 errors.**
+### tinacms
+Build content-heavy sites with Git-backed TinaCMS. Provides visual editing for blogs, documentation, and marketing sites. Supports Next.js, Vite+React, and Astro with TinaCloud or Node.js self-hosting
+**Prevents 10 errors.**
+
+---
-**Triggers**: `tiptap`, `rich text editor`, `prosemirror`, `wysiwyg`
+### wordpress-plugin-core
+Build secure WordPress plugins with hooks, database interactions, Settings API, custom post types, and REST API. Covers Simple, OOP, and PSR-4 architecture patterns plus the Security Trinity. Includes
---
-## Authentication (2 skills)
+## MCP & Tooling (5 skills)
-### clerk-auth
-Complete Clerk authentication for React, Next.js, and Cloudflare Workers. **Prevents 10 errors.**
+### MCP OAuth Cloudflare
+Add OAuth authentication to MCP servers on Cloudflare Workers. Uses @cloudflare/workers-oauth-provider with Google OAuth for Claude.ai-compatible authentication.
+**Prevents 9 errors.**
-**Triggers**: `clerk auth`, `clerk`, `@clerk/nextjs`, `@clerk/backend`
+**Triggers**: `mcp oauth`, `mcp authentication`, `mcp server auth`, `oauth mcp server`
---
-### better-auth
-Framework-agnostic authentication with Better Auth. **Prevents 8 errors.**
+### fastmcp
+Build MCP servers in Python with FastMCP to expose tools, resources, and prompts to LLMs. Supports storage backends, middleware, OAuth Proxy, OpenAPI integration, and FastMCP Cloud deployment. Prevent
+
+---
-**Triggers**: `better-auth`, `authentication`, `oauth`, `session management`
+### mcp-cli-scripts
+Build CLI scripts alongside MCP servers for terminal environments. File I/O, batch processing, caching, richer output formats. Templates for TypeScript scripts and SCRIPTS.md.
+
+**Triggers**: `MCP server scripts`, `SCRIPTS.md`, `npx tsx scripts`, `MCP batch operations`
---
-## Database & Storage (4 skills)
+### ts-agent-sdk
+Generate typed TypeScript SDKs for AI agents to interact with MCP servers. Converts JSON-RPC curl commands to clean function calls. Auto-generates types, client methods, and example scripts from MCP t
-### neon-vercel-postgres
-Serverless Postgres for edge/serverless environments with Neon. **Prevents 15 errors.**
+**Triggers**: `generate sdk for mcp`, `create agent sdk`, `typed mcp client`, `ts-agent-sdk`
-**Triggers**: `neon postgres`, `vercel postgres`, `serverless postgres`, `postgres edge`
+---
+
+### typescript-mcp
+Build MCP servers with TypeScript on Cloudflare Workers. Covers tools, resources, prompts, tasks, authentication (API keys, OAuth, Zero Trust), and Cloudflare service integrations.
+**Prevents 20 errors.**
---
-### vercel-kv
-Redis-compatible key-value storage for caching and sessions. **Prevents 10 errors.**
+## Planning & Workflow (8 skills)
+
+### docs-workflow
+Four slash commands for documentation lifecycle: /docs, /docs-init, /docs-update, /docs-claude. Create, maintain, and audit CLAUDE.md, README.md, and docs/ structure with smart templates.
-**Triggers**: `vercel kv`, `@vercel/kv`, `vercel redis`, `rate limiting`
+**Triggers**: `create CLAUDE.md`, `initialize documentation`, `docs init`, `update documentation`
---
-### vercel-blob
-Object storage with automatic CDN for file uploads. **Prevents 10 errors.**
+### project-health
+AI-agent readiness auditing for project documentation and workflows. Evaluates whether
-**Triggers**: `vercel blob`, `@vercel/blob`, `file upload`, `image upload`
+**Triggers**: `AI readability`, `agent readiness`, `context auditor`, `workflow validator`
---
-## Content Management (3 skills)
+### project-planning
+Generate structured planning docs for web projects with context-safe phases, verification criteria, and exit conditions. Creates IMPLEMENTATION_PHASES.md plus conditional docs.
-### tinacms
-TinaCMS for Git-backed content management. **Prevents 9 errors.**
+**Triggers**: `new project`, `start a project`, `create app`, `build app`
+
+---
+
+### project-session-management
+Track progress across sessions using SESSION.md with git checkpoints and concrete next actions. Converts IMPLEMENTATION_PHASES.md into trackable session state.
-**Triggers**: `tinacms`, `tina cms`, `git cms`, `content management`
+**Triggers**: `create SESSION.md`, `set up session tracking`, `manage session state`, `session handoff`
---
-### sveltia-cms
-Sveltia CMS for lightweight, Git-based content editing. **Prevents 6 errors.**
+### project-workflow
+Nine integrated slash commands for complete project lifecycle: /explore-idea, /plan-project, /plan-feature, /wrap-session, /continue-session, /workflow, /release, /brief, /reflect.
-**Triggers**: `sveltia cms`, `netlify cms alternative`, `git based cms`
+**Triggers**: `triggered by keywords.`, `Mention`, `start new project`, `/plan-project`
---
-### wordpress-plugin-core
-WordPress plugin development with security foundation and 3 architecture patterns. **Prevents 20+ security vulnerabilities.**
+### skill-creator
+Design effective Claude Code skills with optimal descriptions, progressive disclosure, and error prevention patterns. Covers freedom levels, token efficiency, and quality standards.
+
+---
-**Triggers**: `wordpress plugin`, `wordpress development`, `plugin security`, `wordpress rest api`
+### skill-review
+Audit claude-skills with systematic 9-phase review: standards compliance, official docs verification, code accuracy, cross-file consistency, and version drift detection.
+
+**Triggers**: `review this skill`, `review the X skill`, `audit [skill-name]`, `check if X needs updates`
---
-## Python (2 skills)
+### sub-agent-patterns
+Comprehensive guide to sub-agents in Claude Code: built-in agents (Explore, Plan, general-purpose), custom agent creation, configuration, and delegation patterns.
-### fastapi
-Python APIs with FastAPI, Pydantic v2, SQLAlchemy async, JWT auth. **Prevents 10 errors.**
+**Triggers**: `Agent Concepts:**`, `sub-agent`, `sub-agents`, `subagent`
-**Triggers**: `fastapi`, `python api`, `pydantic`, `uvicorn`, `422 error`
+---
+
+## Google Cloud & Workspace (6 skills)
+
+### django-cloud-sql-postgres
+Deploy Django on Google App Engine Standard with Cloud SQL PostgreSQL. Covers Unix socket connections, Cloud SQL Auth Proxy for local dev, Gunicorn configuration, and production-ready settings.
---
-### flask
-Python web apps with Flask, Blueprints, Flask-Login, application factory. **Prevents 8 errors.**
+### google-app-engine
+Deploy Python applications to Google App Engine Standard/Flexible. Covers app.yaml configuration, Cloud SQL socket connections, Cloud Storage for static files, scaling settings, and environment variab
-**Triggers**: `flask`, `flask blueprints`, `flask-login`, `circular import`
+---
+
+### google-chat-api
+Build Google Chat bots and webhooks with Cards v2, interactive forms, and Cloudflare Workers. Covers Spaces/Members/Reactions APIs, bearer token verification, and dialog patterns.
+
+**Triggers**: `google chat`, `chat bot`, `cards v2`, `chat forms`
---
-## MCP & Tooling (4 skills)
+### google-spaces-updates
+Post team updates to Google Chat Spaces via webhook. Deployment notifications, bug fixes, feature announcements, questions. Reads config from .claude/settings.json, includes git context.
-### typescript-mcp
-TypeScript MCP server development for Cloudflare Workers. **Prevents 8 errors.**
+**Triggers**: `post to team`, `notify team`, `update the team`, `tell Deepinder`
+
+---
-**Triggers**: `typescript mcp`, `mcp server`, `model context protocol`
+### google-workspace
+Build integrations with Google Workspace APIs (Gmail, Calendar, Drive, Sheets, Docs, Chat, Meet, Forms, Tasks, Admin SDK). Covers OAuth 2.0, service accounts, rate limits, batch operations, and Cloudf
+
+**Triggers**: `google workspace`, `google oauth`, `wide delegation`, `google api rate limit`
---
-### fastmcp
-FastMCP Python framework for MCP servers with storage backends and OAuth. **Prevents 25 errors. 90-95% token savings.**
+### streamlit-snowflake
+Build and deploy Streamlit apps natively in Snowflake. Covers snowflake.yml scaffolding, Snowpark sessions, multi-page structure, Marketplace publishing as Native Apps, and caller's rights connections
-**Triggers**: `fastmcp`, `python mcp`, `mcp server`, `storage backends`
+**Triggers**: `streamlit snowflake`, `streamlit in snowflake`, `SiS (Streamlit in Snowflake)`, `snow streamlit deploy`
---
-### ts-agent-sdk
-TypeScript Agent SDK patterns. **Prevents 6 errors.**
+## Desktop & Mobile (2 skills)
+
+### electron-base
+Build secure desktop applications with Electron 33, Vite, React, and TypeScript. Covers type-safe IPC via contextBridge, OAuth with custom protocol handlers, native module compatibility (better-sqlite
-**Triggers**: `ts agent sdk`, `typescript agents`, `agent patterns`
+**Triggers**: `electron`, `electron-builder`, `electron-store`, `vite-plugin-electron`
---
-### openai-apps-mcp
-OpenAI apps with MCP integration. **Prevents 6 errors.**
+### react-native-expo
+Build React Native 0.76+ apps with Expo SDK 52-54. Covers mandatory New Architecture (0.82+/SDK 55+), React 19 changes, SDK 54 breaking changes (expo-av, expo-file-system, Reanimated v4), and Swift iO
+**Prevents 16 errors.**
-**Triggers**: `openai mcp`, `openai apps`, `mcp integration`
+---
+
+## Python (2 skills)
+
+### fastapi
+Build Python APIs with FastAPI, Pydantic v2, and SQLAlchemy 2.0 async. Covers project structure, JWT auth, validation, and database integration with uv package manager.
+**Prevents 7 errors.**
+
+**Triggers**: `FastAPI`, `Python API`, `Pydantic`, `uvicorn`
---
-## Project Planning & Workflow (5 skills)
+### flask
+Build Python web apps with Flask using application factory pattern, Blueprints, and Flask-SQLAlchemy.
+**Prevents 9 errors.**
-### project-workflow
-7 integrated slash commands for complete project lifecycle. **Saves 35-55 minutes per project.**
+**Triggers**: `Flask`, `Flask-SQLAlchemy`, `Flask-Login`, `Flask blueprints`
+
+---
+
+## Utilities (11 skills)
-**Commands**: `/explore-idea`, `/plan-project`, `/plan-feature`, `/wrap-session`, `/continue-session`, `/workflow`, `/release`
+### color-palette
+Generate complete, accessible color palettes from a single brand hex. Creates 11-shade scale (50-950), semantic tokens (background, foreground, card, muted), and dark mode variants. Includes WCAG cont
-**Triggers**: `project workflow`, `workflow commands`, `project lifecycle`
+**Triggers**: `color palette`, `tailwind colors`, `css variables`, `hsl colors`
---
-### project-planning
-Structured planning with IMPLEMENTATION_PHASES.md generation. **Prevents 4 errors.**
+### email-gateway
+Multi-provider email sending for Cloudflare Workers and Node.js applications.
-**Triggers**: `project planning`, `implementation phases`, `planning docs`
+**Triggers**: `resend`, `sendgrid`, `mailgun`, `smtp2go`
---
-### project-session-management
-Session handoff protocol for managing context across sessions. **Prevents 3 errors.**
+### favicon-gen
+Generate custom favicons from logos, text, or brand colors - prevents launching with CMS defaults. Extract icons from logos, create monogram favicons from initials, or use branded shapes. Outputs all
-**Triggers**: `session management`, `session handoff`, `context management`
+---
+
+### firecrawl-scraper
+Convert websites into LLM-ready data with Firecrawl API. Features: scrape, crawl, map, search, extract, agent (autonomous), batch operations, and change tracking. Handles JavaScript, anti-bot bypass,
+**Prevents 10 errors.**
---
-### skill-creator
-Design effective Claude Code skills with optimal descriptions and patterns. **Meta-skill.**
+### icon-design
+Select semantically appropriate icons for websites using Lucide, Heroicons, or Phosphor. Covers concept-to-icon mapping, React/HTML templates, and tree-shaking patterns.
+
+---
+
+### image-gen
+Generate website images with Gemini 3 Native Image Generation. Covers hero banners, service cards, infographics with legible text, and multi-turn editing. Includes Australian-specific imagery patterns
+**Prevents 5 errors.**
+
+**Triggers**: `gemini image generation`, `gemini-3-flash-image-generation`, `3-pro-image-generation`, `google genai`
+
+---
-**Triggers**: `create skill`, `skill design`, `skill description`
+### jquery-4
+Migrate jQuery 3.x to 4.0.0 safely in WordPress and legacy web projects. Covers all breaking changes: removed APIs ($.isArray, $.trim, $.parseJSON, $.type), focus event order changes, slim build diffe
+
+---
+
+### office
+Generate Office documents (DOCX, XLSX, PDF, PPTX) with TypeScript. Pure JS libraries that work everywhere: Claude Code CLI, Cloudflare Workers, browsers. Uses docx (Word), xlsx/SheetJS (Excel), pdf-li
---
### open-source-contributions
-Guidelines for contributing to open source projects. **Best practices.**
+Create maintainer-friendly pull requests with clean code and professional communication.
-**Triggers**: `open source`, `contributing`, `pull request`, `github workflow`
+**Triggers**: `submit PR to [project]`, `create pull request for [repo]`, `contribute to [project]`, `open source contribution`
---
-## Quick Reference
+### playwright-local
+Build browser automation and web scraping with Playwright on your local machine.
+**Prevents 10 errors.**
-| Category | Count | Key Skills |
-|----------|-------|------------|
-| Cloudflare | 16 | worker-base, d1, r2, kv, agents, mcp-server |
-| AI/ML | 12 | ai-sdk-core/ui, openai-agents, claude-api |
-| Frontend | 12 | tailwind-v4-shadcn, tanstack-*, zustand |
-| Auth | 2 | clerk-auth, better-auth |
-| Database | 4 | neon-postgres, vercel-kv/blob, drizzle |
-| CMS | 3 | tinacms, sveltia-cms, wordpress |
-| Python | 2 | fastapi, flask |
-| MCP/Tools | 4 | fastmcp, typescript-mcp |
-| Planning | 5 | project-workflow, project-planning |
+---
-**Total: 60 skills | 400+ errors prevented | ~50% average token savings**
+### seo-meta
+Generate complete SEO meta tags for every page. Covers title patterns, meta descriptions, Open Graph, Twitter Cards, and JSON-LD structured data (LocalBusiness, Service, FAQ, BreadcrumbList).
+
+**Triggers**: `seo`, `open graph`, `twitter cards`, `json-ld`
---
-## Installation
+## Developer Workflow (3 skills)
+
+### agent-development
+Design and build custom Claude Code agents with effective descriptions, tool access patterns,
-```bash
-# Marketplace (recommended)
-/plugin install cloudflare-worker-base@jezweb-skills
+**Triggers**: `create agent`, `custom agent`, `build agent`, `agent description`
-# Manual
-./scripts/install-skill.sh cloudflare-worker-base
-```
+---
-See [README.md](README.md) for full installation instructions.
+### deep-debug
+Multi-agent investigation for stubborn bugs. Use when: going in circles debugging, need to investigate browser/API interactions, complex bugs resisting normal debugging, or when symptoms don't match e
+
+---
+
+### developer-toolbox
+Essential development workflow agents for code review, debugging, testing, documentation, and git operations.
+
+**Triggers**: `step`
+
+---
diff --git a/planning/DOC_AUDIT_2026-02-02.md b/planning/DOC_AUDIT_2026-02-02.md
new file mode 100644
index 00000000..843bd74c
--- /dev/null
+++ b/planning/DOC_AUDIT_2026-02-02.md
@@ -0,0 +1,378 @@
+# Documentation Deep Audit Report
+
+**Date**: 2026-02-02
+**Auditor**: Claude Opus 4.5 (4 parallel agents)
+**Scope**: All repository documentation (146 files, ~3MB)
+**Status**: Complete
+
+---
+
+## Executive Summary
+
+| Category | Score | Issues Found |
+|----------|-------|--------------|
+| Consistency | 6/10 | 10 issues (2 critical) |
+| Completeness | 7/10 | 15 gaps (5 high priority) |
+| Accuracy | 5/10 | 13 issues (4 critical) |
+| Freshness | 7/10 | 7 stale dates |
+| **Overall** | **6.25/10** | **45 total issues** |
+
+**Verdict**: Good foundation with significant maintenance debt. Critical issues block new contributors.
+
+---
+
+## Part 1: Consistency Audit
+
+### CRITICAL Issues
+
+#### 1.1 Broken Internal Link
+**File**: README.md:54
+**Issue**: Incorrect path to SKILLS_CATALOG.md
+**Current**: `[SKILLS_CATALOG.md](SKILLS_CATALOG.md)`
+**Should Be**: `[SKILLS_CATALOG.md](docs/SKILLS_CATALOG.md)`
+**Impact**: Users get 404 on GitHub
+
+#### 1.2 Missing Installation Scripts (6 files affected)
+**Issue**: Documentation references `./scripts/install-skill.sh` which doesn't exist (deprecated)
+
+| File | Line | Reference |
+|------|------|-----------|
+| README.md | 34 | `./scripts/install-skill.sh cloudflare-worker-base` |
+| CONTRIBUTING.md | 127 | `./scripts/install-skill.sh my-skill` |
+| CONTRIBUTING.md | 235 | `./scripts/install-skill.sh my-skill` |
+| docs/MARKETPLACE.md | 52 | `./scripts/install-skill.sh cloudflare-worker-base` |
+| docs/SKILLS_CATALOG.md | 464 | `./scripts/install-skill.sh cloudflare-worker-base` |
+| ONE_PAGE_CHECKLIST.md | 134 | `./scripts/install-skill.sh my-skill` |
+
+**Reality**: Scripts are in `archive/deprecated-scripts/` - replaced by plugin system
+
+**Fix**: Update all to:
+```bash
+/plugin install ./skills/cloudflare-worker-base
+```
+
+### WARNING Issues
+
+#### 1.3 Inconsistent Skill Counts
+
+| File | Count Claimed | Line |
+|------|---------------|------|
+| README.md | 95 skills | 14 |
+| CLAUDE.md | 95 skills (63 in comment) | 6, 54, 228 |
+| docs/MARKETPLACE.md | 62 skills | 3 |
+| docs/SKILLS_CATALOG.md | 60 skills | 3 |
+| **Actual** | **98 skills** | — |
+
+#### 1.4 Contradictory Status Dates in CLAUDE.md
+
+| Section | Date | Line |
+|---------|------|------|
+| Current Status | 2025-12-15 | 226 |
+| Last Updated | 2026-01-31 | 717 |
+
+#### 1.5 Token Savings Percentages Vary
+
+| File | Savings | Location |
+|------|---------|----------|
+| README.md | ~60% | Line 16 |
+| README.md | ~50% | Line 137 |
+| CLAUDE.md | 60-70% | Line 268 |
+| CLAUDE.md | ~62% | Line 581 |
+
+**Recommendation**: Standardize to "average ~60%, range 50-90%"
+
+#### 1.6 Error Prevention Count Mismatch
+
+| File | Count |
+|------|-------|
+| README.md | 400+ |
+| CLAUDE.md | 395+ |
+| docs/SKILLS_CATALOG.md | 400+ |
+
+---
+
+## Part 2: Completeness Audit
+
+### HIGH Priority Gaps (Blocks Workflows)
+
+#### 2.1 Plugin System Installation Guide - MISSING
+**Impact**: Users can't test skills locally
+**Missing**:
+- How to reload after editing a skill
+- How to test changes without pushing to GitHub
+- What "restart Claude Code" means
+- Cache behavior explanation
+
+**Recommendation**: Create `docs/PLUGIN_INSTALLATION_GUIDE.md`
+
+#### 2.2 Skill Update Workflow - MISSING
+**Impact**: 98 skills need maintenance, no process documented
+**Missing**:
+- Process for updating when packages have breaking changes
+- How to verify all skills using a deprecated pattern
+- Workflow for bulk updates
+- When to update `metadata.last_verified` dates
+
+**Recommendation**: Create `docs/SKILL_UPDATE_WORKFLOW.md`
+
+#### 2.3 Troubleshooting Guide - MISSING
+**Impact**: New users hit issues, no guidance
+**Missing**:
+- "Skill not auto-triggering" fixes
+- "Plugin installation failed" causes
+- "Templates don't work" debugging
+- "Claude isn't using my skill" discovery issues
+
+**Recommendation**: Create `docs/TROUBLESHOOTING.md`
+
+#### 2.4 Examples Documentation - MISSING
+**Impact**: Examples exist but undiscoverable
+**Current State**: `examples/cloudflare-worker-base-test/` mentioned but no README
+
+**Recommendation**: Create `examples/README.md`
+
+#### 2.5 Migration Guide - MISSING
+**Impact**: Skills break when standards change
+**Missing**:
+- Migration from old to new plugin system
+- Process for removing deprecated frontmatter
+- Migration path for directory structure changes
+
+**Recommendation**: Create `docs/MIGRATION_GUIDES.md`
+
+### MEDIUM Priority Gaps
+
+#### 2.6 Agent Usage Not Documented
+21 agents exist in `.claude/agents/`, only 7 documented in CLAUDE.md
+
+**Undocumented Agents** (14):
+- cloudflare-deploy, cloudflare-debug, d1-migration, worker-scaffold
+- icon-selector, palette-generator, seo-generator, favicon-crafter
+- image-prompter, a11y-auditor, web-researcher, skill-researcher
+- skill-findings-applier, project-docs-auditor
+
+**Recommendation**: Create `docs/AGENTS_GUIDE.md`
+
+#### 2.7 Scripts Directory Not Documented
+12+ scripts with no usage guide
+
+**Undocumented Scripts**:
+- fix-frontmatter.sh
+- cleanup-plans.sh
+- install-skill-agents.sh
+
+**Recommendation**: Create `scripts/README.md`
+
+#### 2.8 Quality Standards Scattered
+Standards spread across 4+ files, unclear hierarchy:
+- ONE_PAGE_CHECKLIST.md
+- planning/claude-code-skill-standards.md
+- planning/STANDARDS_COMPARISON.md
+- COMMON_MISTAKES.md
+- planning/verification-checklist.md
+
+#### 2.9 Session Management Unclear
+SESSION.md referenced but format/purpose undocumented
+
+### LOW Priority Gaps
+
+- Template usage walkthrough
+- Research protocol examples
+- Contributing quick reference (5-line summary)
+- CHANGELOG.md (git log serves purpose)
+- Architecture Decision Records (ADRs)
+
+---
+
+## Part 3: Accuracy Audit
+
+### CRITICAL Issues
+
+#### 3.1 Skill Count Mismatch
+**Documented**: 95 skills + 13 archived
+**Actual**: 98 skills in `skills/` directory
+**Gap**: 38 skills not in SKILLS_CATALOG.md
+
+**Missing from Catalog**:
+1. agent-development
+2. azure-auth
+3. deep-debug
+4. developer-toolbox
+5. django-cloud-sql-postgres
+6. docs-workflow
+7. electron-base
+8. email-gateway
+9. firebase-auth, firebase-firestore, firebase-storage
+10. google-app-engine, google-chat-api, google-gemini-file-search
+11. google-spaces-updates, google-workspace
+12. jquery-4
+13. mcp-cli-scripts, mcp-oauth-cloudflare
+14. office, oauth-integrations
+15. playwright-local, project-health
+16. react-native-expo, skill-review
+17. snowflake-platform, streamlit-snowflake
+18. sub-agent-patterns
+... and more
+
+#### 3.2 Phantom Directories (Documented But Don't Exist)
+
+| Directory | Claimed Location | Status |
+|-----------|------------------|--------|
+| `archive/` | CLAUDE.md:83 | NOT FOUND (may be gitignored/branched) |
+| `examples/` | CLAUDE.md:119 | NOT FOUND |
+| `tools/statusline/` | CLAUDE.md:78 | EMPTY |
+| `templates/skill-skeleton/scripts/` | CLAUDE.md:93 | NOT FOUND |
+| `templates/skill-skeleton/references/` | CLAUDE.md:94 | NOT FOUND |
+| `templates/skill-skeleton/assets/` | CLAUDE.md:95 | NOT FOUND |
+
+#### 3.3 Commands Directory Structure Unclear
+- Root `commands/` has 13 files
+- `skills/project-workflow/commands/` also exists
+- Relationship not explained
+
+#### 3.4 Symlink Documentation Outdated
+CLAUDE.md mentions "symlinked to ~/.claude/commands/" but plugin system replaced symlinks
+
+### WARNING Issues
+
+#### 3.5 Undocumented Templates
+
+| Template | Status |
+|----------|--------|
+| SKILL-TEMPLATE.md | Documented |
+| README-TEMPLATE.md | Documented |
+| skill-metadata-v2.yaml | NOT documented |
+| CONTENT_AUDIT_TEMPLATE.md | NOT documented |
+| RESEARCH_FINDINGS_TEMPLATE.md | NOT documented |
+
+#### 3.6 Undocumented Docs Files
+
+| File | Status |
+|------|--------|
+| JEZWEB_WORKFLOW.md | NOT documented |
+| QA_AGENTS_GUIDE.md | NOT documented |
+| IMPLEMENTATION_PHASES-office.md | NOT documented |
+
+---
+
+## Part 4: Freshness Audit
+
+### Stale Dates (Prioritized)
+
+| File | Field | Date | Age | Priority |
+|------|-------|------|-----|----------|
+| CLAUDE.md:39 | Last Verified | 2025-10-29 | 96 days | 🔴 CRITICAL |
+| docs/GEMINI_GUIDE.md:7 | Last Updated | 2025-11-20 | 74 days | 🔴 HIGH |
+| docs/MARKETPLACE.md:309 | Last Updated | 2025-12-12 | 52 days | 🟡 MEDIUM |
+| CLAUDE.md:226 | Current Status | 2025-12-15 | 49 days | 🟡 MEDIUM |
+| CLAUDE.md:7 | Last Updated | 2026-01-20 | 13 days | 🟢 LOW |
+
+### Dates That Are OK
+
+| File | Field | Date | Status |
+|------|-------|------|--------|
+| CLAUDE.md:717 | Last Updated | 2026-01-31 | ✅ Fresh (2 days) |
+| CLAUDE.md:718 | Next Review | 2026-03-15 | ✅ Future (correct) |
+| docs/SKILLS_COMMANDS_ARCHITECTURE.md:3 | Last Updated | 2026-01-10 | ✅ Acceptable |
+
+### No Future Date Errors Found ✅
+
+---
+
+## Part 5: Fix Plan
+
+### Phase 1: Critical Fixes (1-2 hours)
+
+| Task | File(s) | Effort |
+|------|---------|--------|
+| Fix broken SKILLS_CATALOG.md link | README.md | 5 min |
+| Update install commands (6 files) | Multiple | 30 min |
+| Update skill count to 98 | CLAUDE.md, README.md | 10 min |
+| Remove/update phantom directories | CLAUDE.md | 20 min |
+| Update stale dates | 4 files | 15 min |
+
+### Phase 2: Documentation Gaps (4-6 hours)
+
+| Task | Output | Effort |
+|------|--------|--------|
+| Create Plugin Installation Guide | docs/PLUGIN_INSTALLATION_GUIDE.md | 2 hrs |
+| Create Troubleshooting Guide | docs/TROUBLESHOOTING.md | 2 hrs |
+| Create examples README | examples/README.md | 30 min |
+| Document undocumented scripts | scripts/README.md | 1 hr |
+
+### Phase 3: Catalog Update (2-3 hours)
+
+| Task | Output | Effort |
+|------|--------|--------|
+| Audit all 98 skills | List of categories | 1 hr |
+| Update SKILLS_CATALOG.md | Add 38 missing skills | 2 hrs |
+| Reconcile category counts | All files consistent | 30 min |
+
+### Phase 4: Polish (2-4 hours)
+
+| Task | Output | Effort |
+|------|--------|--------|
+| Create Agents Guide | docs/AGENTS_GUIDE.md | 2 hrs |
+| Create Skill Update Workflow | docs/SKILL_UPDATE_WORKFLOW.md | 1.5 hrs |
+| Consolidate quality standards | Clear hierarchy | 30 min |
+
+---
+
+## Verification Commands
+
+```bash
+# Check for remaining install-skill.sh references
+grep -r "install-skill\.sh" *.md docs/*.md
+
+# Verify SKILLS_CATALOG.md link
+grep -r "SKILLS_CATALOG\.md" *.md
+
+# Count actual skills
+ls -1 skills/ | wc -l
+
+# Find all Last Updated dates
+grep -r "Last Updated" *.md docs/*.md planning/*.md | head -20
+
+# Verify directories exist
+ls -la archive/ examples/ tools/
+
+# List all agents
+ls -1 .claude/agents/*.md | wc -l
+```
+
+---
+
+## Summary
+
+### By Severity
+
+| Severity | Count | Examples |
+|----------|-------|----------|
+| CRITICAL | 6 | Broken links, phantom dirs, count mismatch |
+| HIGH | 10 | Missing guides, stale dates |
+| MEDIUM | 15 | Undocumented features, scattered standards |
+| LOW | 14 | Polish items, nice-to-haves |
+
+### By Category
+
+| Category | Issues | Est. Fix Time |
+|----------|--------|---------------|
+| Consistency | 10 | 1.5 hrs |
+| Completeness | 15 | 8 hrs |
+| Accuracy | 13 | 3 hrs |
+| Freshness | 7 | 30 min |
+| **Total** | **45** | **~13 hrs** |
+
+### Recommended Priority Order
+
+1. **Immediate** (Today): Critical fixes - broken links, install commands
+2. **This Week**: Create missing guides (Plugin, Troubleshooting)
+3. **Next Week**: Update SKILLS_CATALOG.md with all 98 skills
+4. **Ongoing**: Keep dates fresh, document new features
+
+---
+
+**Report Generated**: 2026-02-02
+**Agents Used**: 4 (consistency, completeness, accuracy, freshness)
+**Total Tokens**: ~150k
+**Next Audit Recommended**: 2026-05-02 (Quarterly)
diff --git a/scripts/generate-skills-catalog.py b/scripts/generate-skills-catalog.py
new file mode 100755
index 00000000..da0ad036
--- /dev/null
+++ b/scripts/generate-skills-catalog.py
@@ -0,0 +1,372 @@
+#!/usr/bin/env python3
+"""
+Generate SKILLS_CATALOG.md from skill directories.
+
+Scans skills/ directory, extracts YAML frontmatter from SKILL.md files,
+categorizes skills, and generates a formatted markdown catalog.
+
+Usage:
+ python scripts/generate-skills-catalog.py
+ python scripts/generate-skills-catalog.py --dry-run # Preview without writing
+"""
+
+import os
+import re
+import sys
+from pathlib import Path
+from datetime import date
+
+# Category definitions - skills are assigned based on name patterns
+# Order matters: first match wins
+CATEGORY_PATTERNS = {
+ "Cloudflare Platform": [
+ r"^cloudflare-",
+ r"^drizzle-orm-d1$", # D1-specific ORM
+ ],
+ "AI & Machine Learning": [
+ r"^ai-sdk-",
+ r"^openai-",
+ r"^claude-",
+ r"^google-gemini",
+ r"^workers-ai$",
+ r"^thesys-", # Generative UI
+ r"^elevenlabs-", # Voice AI
+ ],
+ "Frontend & UI": [
+ r"^tailwind-",
+ r"^react-(?!native)", # React but not react-native
+ r"^tanstack-",
+ r"^nextjs$",
+ r"^hono-",
+ r"^zustand-",
+ r"^auto-animate$",
+ r"^motion$",
+ r"^tiptap$",
+ r"^responsive-images$",
+ r"^accessibility$",
+ ],
+ "Authentication": [
+ r"^clerk-",
+ r"^better-auth$",
+ r"^azure-auth$",
+ r"^oauth-",
+ r"^firebase-auth$",
+ ],
+ "Database & Storage": [
+ r"^drizzle-(?!orm-d1)", # Drizzle except d1-specific
+ r"^neon-",
+ r"^vercel-kv$",
+ r"^vercel-blob$",
+ r"^firebase-firestore$",
+ r"^firebase-storage$",
+ r"^snowflake-",
+ ],
+ "Content Management": [
+ r"^tinacms$",
+ r"^sveltia-",
+ r"^wordpress-",
+ ],
+ "MCP & Tooling": [
+ r"^typescript-mcp$",
+ r"^fastmcp$",
+ r"^ts-agent-sdk$",
+ r"^mcp-",
+ ],
+ "Planning & Workflow": [
+ r"^project-",
+ r"^docs-workflow$",
+ r"^skill-",
+ r"^sub-agent-",
+ ],
+ "Google Cloud & Workspace": [
+ r"^google-",
+ r"^django-cloud-sql",
+ r"^streamlit-snowflake$",
+ ],
+ "Desktop & Mobile": [
+ r"^electron-",
+ r"^react-native-",
+ ],
+ "Python": [
+ r"^fastapi$",
+ r"^flask$",
+ ],
+ "Utilities": [
+ r"^color-palette$",
+ r"^favicon-",
+ r"^icon-",
+ r"^image-",
+ r"^seo-",
+ r"^email-gateway$",
+ r"^firecrawl-",
+ r"^playwright-",
+ r"^office$",
+ r"^jquery-",
+ r"^open-source-",
+ ],
+ "Developer Workflow": [
+ r"^agent-development$",
+ r"^developer-toolbox$",
+ r"^deep-debug$",
+ ],
+}
+
+# Fallback category for unmatched skills
+DEFAULT_CATEGORY = "Other"
+
+
+def parse_yaml_frontmatter(content: str) -> dict:
+ """Extract YAML frontmatter from markdown content."""
+ if not content.startswith("---"):
+ return {}
+
+ # Find closing ---
+ end_match = re.search(r'\n---\s*\n', content[3:])
+ if not end_match:
+ return {}
+
+ yaml_content = content[3:end_match.start() + 3]
+
+ # Simple YAML parsing (handles our specific format)
+ result = {}
+ current_key = None
+ current_value = []
+
+ for line in yaml_content.split('\n'):
+ # Check for key: value or key: |
+ key_match = re.match(r'^(\w[\w-]*?):\s*(.*?)$', line)
+ if key_match:
+ # Save previous key if exists
+ if current_key:
+ result[current_key] = '\n'.join(current_value).strip()
+
+ current_key = key_match.group(1)
+ value = key_match.group(2)
+
+ if value == '|' or value == '>':
+ current_value = []
+ else:
+ current_value = [value]
+ elif current_key and line.startswith(' '):
+ # Continuation of multi-line value
+ current_value.append(line.strip())
+
+ # Save last key
+ if current_key:
+ result[current_key] = '\n'.join(current_value).strip()
+
+ return result
+
+
+def extract_error_count(description: str) -> int:
+ """Extract 'Prevents X errors' count from description."""
+ match = re.search(r'[Pp]revents?\s+(\d+)\s+(?:documented\s+)?errors?', description)
+ if match:
+ return int(match.group(1))
+ return 0
+
+
+def extract_triggers(content: str) -> list[str]:
+ """Extract trigger keywords from SKILL.md README section or separate README.md."""
+ # Look for Keywords section
+ keywords_match = re.search(
+ r'##\s*(?:Keywords|Triggers|Auto-Trigger Keywords)\s*\n+(.*?)(?=\n##|\n---|\Z)',
+ content,
+ re.IGNORECASE | re.DOTALL
+ )
+ if keywords_match:
+ text = keywords_match.group(1)
+ # Extract items from backticks, quotes, or list items
+ # Match: `keyword`, "keyword", or - keyword
+ items = re.findall(r'`([^`]+)`|"([^"]+)"|-\s*([^\n,`"]+)', text)
+ triggers = []
+ for match in items:
+ # Get whichever group matched
+ t = match[0] or match[1] or match[2]
+ if t:
+ t = t.strip()
+ # Skip metadata-like entries
+ if t and not t.startswith('*') and len(t) < 50:
+ triggers.append(t)
+ return triggers[:4] # Limit to 4 triggers for cleaner output
+ return []
+
+
+def categorize_skill(skill_name: str) -> str:
+ """Determine category for a skill based on name patterns."""
+ for category, patterns in CATEGORY_PATTERNS.items():
+ for pattern in patterns:
+ if re.match(pattern, skill_name):
+ return category
+ return DEFAULT_CATEGORY
+
+
+def scan_skills(skills_dir: Path) -> list[dict]:
+ """Scan skills directory and extract metadata from each skill."""
+ skills = []
+
+ for skill_path in sorted(skills_dir.iterdir()):
+ if not skill_path.is_dir():
+ continue
+
+ skill_md = skill_path / "SKILL.md"
+ if not skill_md.exists():
+ print(f"Warning: No SKILL.md in {skill_path.name}", file=sys.stderr)
+ continue
+
+ content = skill_md.read_text()
+ frontmatter = parse_yaml_frontmatter(content)
+
+ if not frontmatter.get('name'):
+ print(f"Warning: No name in frontmatter for {skill_path.name}", file=sys.stderr)
+ continue
+
+ name = frontmatter['name']
+ description = frontmatter.get('description', '')
+
+ # Also check README.md for triggers
+ readme_path = skill_path / "README.md"
+ readme_content = ""
+ if readme_path.exists():
+ readme_content = readme_path.read_text()
+
+ triggers = extract_triggers(content) or extract_triggers(readme_content)
+
+ # Use directory name for categorization (more reliable than frontmatter name)
+ dir_name = skill_path.name
+
+ skills.append({
+ 'name': name,
+ 'dir_name': dir_name,
+ 'description': description.split('\n')[0][:200], # First line, max 200 chars
+ 'full_description': description,
+ 'error_count': extract_error_count(description),
+ 'triggers': triggers,
+ 'category': categorize_skill(dir_name), # Use dir_name for categorization
+ 'user_invocable': frontmatter.get('user-invocable', 'false').lower() == 'true',
+ })
+
+ return skills
+
+
+def generate_catalog(skills: list[dict]) -> str:
+ """Generate markdown catalog content."""
+ # Group by category
+ categories = {}
+ for skill in skills:
+ cat = skill['category']
+ if cat not in categories:
+ categories[cat] = []
+ categories[cat].append(skill)
+
+ # Calculate totals
+ total_skills = len(skills)
+ total_errors = sum(s['error_count'] for s in skills)
+
+ lines = [
+ "# Skills Catalog",
+ "",
+ f"**{total_skills} production-ready skills** organized by category.",
+ "",
+ f"Total errors prevented: **{total_errors}+**",
+ "",
+ f"*Auto-generated on {date.today().isoformat()} by `scripts/generate-skills-catalog.py`*",
+ "",
+ "---",
+ "",
+ "## Quick Navigation",
+ "",
+ ]
+
+ # Table of contents
+ for cat in CATEGORY_PATTERNS.keys():
+ if cat in categories:
+ count = len(categories[cat])
+ anchor = cat.lower().replace(' ', '-').replace('&', '').replace(' ', '-')
+ lines.append(f"- [{cat}](#{anchor}) ({count} skills)")
+
+ # Add Other category if exists
+ if DEFAULT_CATEGORY in categories:
+ count = len(categories[DEFAULT_CATEGORY])
+ lines.append(f"- [{DEFAULT_CATEGORY}](#other) ({count} skills)")
+
+ lines.extend(["", "---", ""])
+
+ # Generate each category
+ for cat in list(CATEGORY_PATTERNS.keys()) + [DEFAULT_CATEGORY]:
+ if cat not in categories:
+ continue
+
+ cat_skills = categories[cat]
+ lines.extend([
+ f"## {cat} ({len(cat_skills)} skills)",
+ "",
+ ])
+
+ for skill in sorted(cat_skills, key=lambda s: s['name']):
+ # Skill header
+ lines.append(f"### {skill['name']}")
+
+ # Description (first sentence/line)
+ desc = skill['description']
+ if desc:
+ # Clean up description - extract the main part
+ desc_clean = re.sub(r'\s*[Pp]revents?\s+\d+.*$', '', desc).strip()
+ if desc_clean:
+ lines.append(desc_clean)
+
+ # Error count
+ if skill['error_count'] > 0:
+ lines.append(f"**Prevents {skill['error_count']} errors.**")
+
+ # Triggers
+ if skill['triggers']:
+ trigger_str = ', '.join(f'`{t}`' for t in skill['triggers'][:4])
+ lines.append(f"")
+ lines.append(f"**Triggers**: {trigger_str}")
+
+ lines.extend(["", "---", ""])
+
+ return '\n'.join(lines)
+
+
+def main():
+ dry_run = '--dry-run' in sys.argv
+
+ # Find repository root
+ script_dir = Path(__file__).parent
+ repo_root = script_dir.parent
+ skills_dir = repo_root / "skills"
+ output_file = repo_root / "docs" / "SKILLS_CATALOG.md"
+
+ if not skills_dir.exists():
+ print(f"Error: Skills directory not found: {skills_dir}", file=sys.stderr)
+ sys.exit(1)
+
+ print(f"Scanning {skills_dir}...", file=sys.stderr)
+ skills = scan_skills(skills_dir)
+ print(f"Found {len(skills)} skills", file=sys.stderr)
+
+ catalog = generate_catalog(skills)
+
+ if dry_run:
+ print("\n--- DRY RUN OUTPUT ---\n")
+ print(catalog)
+ print(f"\n--- Would write to {output_file} ---")
+ else:
+ output_file.write_text(catalog)
+ print(f"Wrote {output_file}", file=sys.stderr)
+
+ # Print summary
+ categories = {}
+ for skill in skills:
+ cat = skill['category']
+ categories[cat] = categories.get(cat, 0) + 1
+
+ print("\nCategory breakdown:", file=sys.stderr)
+ for cat, count in sorted(categories.items(), key=lambda x: -x[1]):
+ print(f" {cat}: {count}", file=sys.stderr)
+
+
+if __name__ == "__main__":
+ main()