Custom skills for Claude Code. The attribute name becomes the skill filename or directory name, and the value is either:
- Inline content as a string (creates .claude/skills/<name>.md)
- A path to a file (creates .claude/skills/<name>.md)
- A path to a directory (creates .claude/skills/<name>/ with all files)
Declarations
Type
attribute set of (strings concatenated with "\n" or absolute path)Default
{ }Example
{
xlsx = ./skills/xlsx.md;
data-analysis = ./skills/data-analysis;
pdf-processing = ''
---
name: pdf-processing
description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.
---
# PDF Processing
## Quick start
Use pdfplumber to extract text from PDFs:
```python
import pdfplumber
with pdfplumber.open("document.pdf") as pdf:
text = pdf.pages[0].extract_text()
```
'';
}