core-writelisted
Install: claude install-skill AirMile/claude-config
# Write
Writing assistant that generates text in your configured style. Gathers context via questions, selects the appropriate guidance level automatically, and applies the chosen style strictly.
Styles are loaded dynamically from `~/.claude/styles/*.md`. Add your own style files
there to make them available. See `skills/shared/styles/style-example.md` for the
format.
## 1. Parse Input
Analyze the argument for:
- **Subject** — what the text is about
- **Text type** — blog, post, note, README, docs, portfolio-page, etc.
- **Context richness** — how much has already been provided (see Step 3)
If no argument: ask for text type and subject before continuing.
## 2. Discover and Select Style
Before presenting style options, discover available styles:
```bash
# Primary: user-owned styles
ls ~/.claude/styles/*.md 2>/dev/null | xargs -I{} basename {} .md
# Fallback if directory is empty or doesn't exist:
ls "$CONFIG_REPO/skills/shared/styles/style-*.md" 2>/dev/null | xargs -I{} basename {} .md | sed 's/^style-//'
```
If no styles are found, output:
> "No styles configured. Add style files to `~/.claude/styles/` — see `skills/shared/styles/style-example.md` for the format."
> Then stop.
Try to auto-detect a style by matching keywords in the argument against the discovered style names and any keyword hints in each style file's `## When to use` section. If a match is found, inform which style was detected and ask for confirmation:
```yaml
header: "Style"
question: "Detected