font-features
/font-features
This skill should be used when inspecting or applying advanced OpenType features of a font (woff2/otf/ttf) — ligatures, stylistic sets (ss01–ss20), character variants (cvXX), texture healing, slashed zero, tabular/oldstyle figures, fractions, small caps, case-sensitive forms — and generating the CSS to enable them. Interviews the user via cenno to pick features. Triggers on "OpenType features", "font features", "stylistic sets", "ligatures", "texture healing", "tabular figures", "what can this font do".
- Author
- glebis ↗
- Repository
- claude-skills ↗
- Licence
- MIT
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/otfeat.py
What it does and when to use it
This skill should be used when inspecting or applying advanced OpenType features of a font (woff2/otf/ttf) — ligatures, stylistic sets (ss01–ss20), character variants (cvXX), texture healing, slashed zero, tabular/oldstyle figures, fractions, small caps, case-sensitive forms — and generating the CSS to enable them. Interviews the user via cenno to pick features. Triggers on "OpenType features", "font features", "stylistic sets", "ligatures", "texture healing", "tabular figures", "what can this font do".
Triggers from the description
Original author description
This skill should be used when inspecting or applying advanced OpenType features of a font (woff2/otf/ttf) — ligatures, stylistic sets (ss01–ss20), character variants (cvXX), texture healing, slashed zero, tabular/oldstyle figures, fractions, small caps, case-sensitive forms — and generating the CSS to enable them. Interviews the user via cenno to pick features. Triggers on "OpenType features", "font features", "stylistic sets", "ligatures", "texture healing", "tabular figures", "what can this font do".
How it works
- Workflow
- Gotchas
SKILL.md preview
---
name: font-features
description: This skill should be used when inspecting or applying advanced OpenType features of a font (woff2/otf/ttf) — ligatures, stylistic sets (ss01–ss20), character variants (cvXX), texture healing, slashed zero, tabular/oldstyle figures, fractions, small caps, case-sensitive forms — and generating the CSS to enable them. Interviews the user via cenno to pick features. Triggers on "OpenType features", "font features", "stylistic sets", "ligatures", "texture healing", "tabular figures", "what can this font do".
---
# Font Features (OpenType → CSS)
Inspect a font's real OpenType feature inventory and generate CSS to enable chosen features. Never guess what a font supports — always run `scripts/otfeat.py list` first; only features present in the dump may be offered or enabled.
Requires `fontTools` (`pip install fonttools` if missing).
## Workflow
1. **Inspect** the actual font files in the project:
```bash
python3 <skill-dir>/scripts/otfeat.py list path/to/Font-Regular.woff2 [more fonts...]
```
Output lists each font's GSUB/GPOS tags with human descriptions (Monaspace stylistic sets are described precisely; unknown `cvXX` are labelled generically).
2. **Interview the user via cenno** (`mcp__cenno__ask_user`, or `ask_sequence` for several questions). Offer ONLY features found in step 1, grouped sensibly, with a recommendation. Typical question set:
- Coding ligatures: which sets? (arrows ss03, colons ss07, comparison ss02...) — for code samples only, usually off for prose
- Numerals: tabular (`tnum`) for tables/timers, oldstyle (`onum`) for prose, slashed zero (`zero`)
- Texture healing (`calt`) — for Monaspace, recommend ON everywhere
- Caps: `case` for uppercase labels/buttons, `smcp` if present
Use `input: {kind: "choice"}` with a text option, mark optional questions low-urgency, and respect a "skip" answer.
3. **Generate CSS** deterministically:
```bash
python3 <skill-dir>/scripts/otfeat.py css --family "Monaspace Neon" \
--features calt,liga,tnum,case --class prose
# cvXX with a value: --features cv01=2
```
High-level `font-variant-*` properties are preferred automatically (they cascade and combine better); remaining tags fall back to `font-feature-settings`. `--no-variant-props` forces the low-level form only.
4. **Apply**: paste the block into the project stylesheet; scope per element role (e.g. `tnum` on tables/stat tiles only, ligature sets on `code` only). Verify in a browser with real content.
## Gotchas
- `font-feature-settings` is all-or-nothing per declaration — a second declaration on a nested element REPLACES the inherited list; repeat the full list. This is the main reason to prefer `font-variant-*`.
- CSS accepts any tag, browsers silently ignore ones the font lacks — which is why step 1 is mandatory (e.g. Monaspace has NO `tnum`/`zero`/`smcp`; it's a monospace family and zero is already slashed).
- Stylistic-set meanings are font-specific; never reuse Monaspace's ss-descriptions for another family.
- A feature tag being present does not mean it covers the glyphs assumed: dump the actual GSUB substitutions before writing demo copy (e.g. Monaspace's `case` only raises `: ¡ ¿ ‽` and combining accents — NOT quotes, brackets, or dashes).
- Texture healing needs `calt` AND ligatures left enabled; `font-variant-ligatures: none` kills it.
Files in this package (2)
- SKILL.md 3 KB
- scripts/otfeat.py 5 KB
Versions
The database has no other skills named font-features.
Database snapshot: 13.11.2026 · package version 831f421bc7b6 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90glyphs-mcp-features
Use this skill when the task is to inspect OpenType features, stylistic sets, style sets, character variants, or ssXX glyph groups in Glyphs. - 100better-typography
Web typography from choosing fonts to spacing, wrapping and accessibility. Use when picking or pairing typefaces, configuring variable fonts or OpenType features, setting up a type scale, checking heading hierarchy, styling text in components, truncating text, styling… - 100better-typography
Web typography from choosing fonts to spacing, wrapping and accessibility. Use when picking or pairing typefaces, configuring variable fonts or OpenType features, setting up a type scale, checking heading hierarchy, styling text in components, truncating text, styling… - 100opentype-js
Parse and manipulate OpenType/TrueType fonts with opentype.js — read font metadata, access glyph outlines, measure text, generate font subsets, and render text to SVG paths. Use when tasks involve custom text rendering, font analysis, glyph extraction, or building font tools. - 100typography-audit
Audits font loading, type scales, measure, spacing, OpenType, and rendered punctuation with 78 scoped rules. Use when asked to "audit typography", "fix the fonts", or "review my type system". For a new visual direction use ui-design Direction; for general UI defects use ui-design Audit. - 100handwriting-to-font
Turn a photo of someone's handwriting into a real, installable font (TTF, plus WOFF/WOFF2/CSS for the web). Use when the user shares a photo or scan of handwritten letters and wants a font from it, or says things like "make my font", "handwriting font", "turn my handwriting into…