
Manage the user's AFK (away-from-keyboard) status for the PermissionRequest auto-deny hook. Use when the user says they're stepping away, coming back, switching to focus/presenting/debugging mode, or asks to change their Claude Code permission-dialog behavior. Also use when the user asks to set up, configure, or troubleshoot the afk-mode system.
Generate D2 diagram files (.d2) for technical reference — flowcharts, architecture diagrams, sequence diagrams, state machines, database schemas, and class diagrams. Use whenever the user wants to create, document, or visualize any system, flow, architecture, API, database, or process. Trigger on "make a diagram", "draw a flowchart", "document this architecture", "visualize this flow", "create a sequence diagram", "map this system", or any request to illustrate how something works.
Enforce strict Test-Driven Development workflow: write one test, make it pass, verify, then proceed. Prevents over-implementation and ensures code matches requirements exactly. Use when implementing new features, adding settings, or building functionality incrementally.
Workaround for agent teams in VS Code extension where TeamCreate teammates cannot execute tools. Uses an echo-back-and-resume pattern where agents return tool requests instead of executing them directly.
icloudpd CLI for downloading/syncing iCloud Photos. Use when user asks about icloudpd, iCloud photo backup, or syncing iCloud photos locally.
Generate and edit draw.io diagrams (.drawio XML). Use for flowcharts, architecture diagrams, swimlane diagrams in .drawio format. Handles font settings, arrow z-ordering, VS Code preview, and PNG export.
Guide for building fine-grained skills where content is split into many small files to minimize tokens loaded per invocation. Use when creating or restructuring a skill to be token-efficient with section-based progressive disclosure.
Create, edit, and layout Mermaid diagrams (.mmd files) correctly in VS Code using the MermaidChart extension. Use when creating or modifying any Mermaid diagram — flowcharts, sequence diagrams, etc. Covers node shapes, edge types, line breaks in labels, subgraph layout rules (side-by-side vs stacked), and VS Code preview commands. Critical: subgraph direction TB is silently ignored when nodes link across subgraphs.
# XState v5 Quick Reference ## How to Look Up API Details For complete function signatures, types, and interfaces, **grep `api-reference.md`** — do NOT read it in full (12k+ lines). Example: ``` Grep pattern="createActor" path="~/.claude/skills/xstate/api-reference.md" output_mode="content" -C 5 ``` Then use `Read` with `offset`/`limit` to get the full section. This is the primary way to get precise technical info when the quick reference below isn't enough. ## Design Workflow Recommended
Core principles for writing clean, disciplined Vue 3 apps. Invoke when reviewing architecture, adding features, or evaluating component design.
--- name: pdf-to-text description: "Convert PDF files to clean text. Handles both embedded-text PDFs and scanned/image PDFs via OCR. Use when the user wants to import, extract, or convert a PDF to text." allowed-tools: Bash, Read, Write argument-hint: [pdf-path] [output-path] --- # PDF to Text Import ## Workflow 1. **Check if PDF has embedded text** ```bash pdftotext <input.pdf> - | head -20 ``` - If output contains readable text → use `pdftotext` (fast, accurate) - If output i
Generate valid RTF (Rich Text Format) documents from scratch. Use when the user asks to create .rtf files, convert content to RTF, or produce formatted documents compatible with Word, LibreOffice, and other word processors.
Format documentation, READMEs, and structured text using header hierarchy where each level stands alone. Use when creating docs, research notes, summaries, or when user requests 'scannable,' 'well-structured,' 'skimmable,' or 'readable at multiple depths' output. Applies to markdown, technical specs, and any hierarchical text formatting.
Registry of extended skills stored in ~/.claude/offloaded-skills/ to save context window space. Consult ~/.claude/offloaded-skills/index.md to discover available skills and load them on demand. Also documents how to offload and restore skills.
Open a shared tmux terminal window that both Claude and the user can see and control simultaneously. Claude sends commands to it and reads the output automatically — no need to ask the user what happened. The user can type in it directly, including for sudo passwords, or to take over at any time. Use when the user wants a visible terminal, needs to run sudo commands, wants Claude to assist with terminal operations, or wants shared visibility of what Claude is doing.