font-features
Skill400 starsChanged 4 months agoMITView on GitHub
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".
- Installs packages
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Use input: {kind: "choice"} with a text option, mark optional questions low-urgency, and respect a "skip" answer.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Inspect the actual font files in the project:
Output lists each font's GSUB/GPOS tags with human descriptions (Monaspace stylistic sets are described precisely; unknownpython3 <skill-dir>/scripts/otfeat.py list path/to/Font-Regular.woff2 [more fonts...]cvXXare labelled generically). - Interview the user via cenno (
mcp__cenno__ask_user, orask_sequencefor 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:
casefor uppercase labels/buttons,smcpif present Useinput: {kind: "choice"}with a text option, mark optional questions low-urgency, and respect a "skip" answer.
- Generate CSS deterministically:
High-levelpython3 <skill-dir>/scripts/otfeat.py css --family "Monaspace Neon" \ --features calt,liga,tnum,case --class prose # cvXX with a value: --features cv01=2font-variant-*properties are preferred automatically (they cascade and combine better); remaining tags fall back tofont-feature-settings.--no-variant-propsforces the low-level form only. - Apply: paste the block into the project stylesheet; scope per element role (e.g.
tnumon tables/stat tiles only, ligature sets oncodeonly). Verify in a browser with real content.
Gotchas
font-feature-settingsis 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 preferfont-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
caseonly raises: ¡ ¿ ‽and combining accents — NOT quotes, brackets, or dashes). - Texture healing needs
caltAND ligatures left enabled;font-variant-ligatures: nonekills it.
In this repository109 other files it gives its agents.
- automation-advisor/CLAUDE.mdCLAUDE.md
- agency-docs-updaterSkill
- agency-meetup-publishSkill
- agency-socialsSkill
- agent-cliSkill
- agent-roundtableSkill
- app-releaseSkill
- automation-advisorSkill
- balancedSkill
- brand-agencySkill
- browser-mateSkill
- browsing-historySkill
- chrome-historySkill
- cms-migration-checklistSkill
- coaching-session-summarizerSkill
- codexSkill
- cognitive-toolkitSkill
- context-builderSkill
- cull-release-checkSkill
- cull-release-prepareSkill
- cull-release-publishSkill
- cull-release-recoverSkill
- cull-releaseSkill
- cull-release-verifySkill
- cullSkill
- daydreamSkill
- decision-toolkitSkill
- deep-researchSkill
- design-tokensSkill
- doctorgSkill
- ecosystemSkill
- elevenlabs-ttsSkill
- elimination-researchSkill
- fathomSkill
- feature-factorySkill
- firecrawl-apiSkill
- firecrawl-researchSkill
- github-gistSkill
- gmailSkill
- google-image-searchSkill
- gpt-image-2Skill
- granolaSkill
- gwsSkill
- health-dataSkill
- i18n-studioSkill
- init-tauri-appSkill
- init-xcode-appSkill
- insight-extractorSkill
- jtbdSkill
- lab-retroSkill
- learning-vaultSkill
- linearSkill
- llm-cliSkill
- local-modelsSkill
- meeting-prepSkill
- meeting-processorSkill
- metaSkill
- name-auditionSkill
- nano-bananaSkill
- nielsen-heuristicsSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

