Verified SOP & TutorialAudited Score 98/100

The Complete Production SOP: How to Deploy and Run OpenType Custom Ligature & Feature Tag Parser in Autonomous AI Agents

Step-by-step SOP to install and run OpenType Custom Ligature & Feature Tag Parser in Codex, Claude Code, and Cursor. Fix font-feature-settings automatically.

Target Runtimes:codexclaude-codecursorwindsurf
5 min read • Updated for 2026

Technical Overview & Architectural Context

Autonomous coding agents frequently stumble when implementing modern typographic features in web and canvas design systems. When instructed to format tabular financial dashboards or apply custom discretionary ligatures, agents routinely hallucinate unsupported vendor prefixes, override existing font-feature-settings cascades destructively, or conflate high-level CSS properties (like font-variant-numeric: tabular-nums) with low-level 4-character OpenType feature tags (like 'tnum'). This causes subtle layout shifts, misaligned numbers in data grids, or silently missing ligatures if the selected font face lacks the required GSUB lookup tables. The OpenType Custom Ligature & Feature Tag Parser skill eliminates these design anti-patterns by establishing deterministic boundaries for agents like Codex, Claude Code, Cursor, and Windsurf. It enforces strict precedence: utilizing high-level semantic CSS declarations first, layering targeted fallback feature tags ('dlig', 'tnum', 'smcp', 'zero') without obliterating sibling tags, and requiring tabular column alignment validation before committing typography changes.

Prerequisites & Environment Requirements

Codex Desktop, Claude Code CLI, Cursor, or Windsurf installed and configured
Node.js 20+ or modern browser/canvas rendering engine in the workspace
Project repository with web font assets (WOFF2/TTF) supporting OpenType tables (GSUB/GPOS)

Verified Search Intents & Long-Tail Queries Solved

SEO Audit Score: 98/100

This operational tutorial is engineered to provide deterministic solutions for these developer search queries:

#install opentype-custom-ligature-parser in cursor ide#claude code opentype-custom-ligature-parser rules#codex desktop opentype-custom-ligature-parser setup tutorial#how to fix opentype-custom-ligature-parser agent execution error#font-feature-settings tabular numbers css agent SOP#opentype-custom-ligature-parser sandbox permissions and security score#opentype-custom-ligature-parser prompt examples and triggers#windsurf css typography font-variant-numeric rules

Step-by-Step Execution Playbook

1

Local Environment Setup & SKILL.md Mounting

Create the local skill manifest directory and inject verified procedural rules into the agent runtime directory.

To make the skill discoverable across all agent engines, install the SKILL.md file into your global or project-level agent configuration directory. Codex and Cursor monitor `.cursor/skills` or `.agents/skills`, whereas Claude Code detects registered project documentation rules. The YAML frontmatter registers triggers such as 'enable tabular numbers css' and restricts agent file access strictly to workspace boundaries.

Terminal Command
mkdir -p .agents/skills/opentype-custom-ligature-parser && curl -fsSL https://askills.dev/api/skills/opentype-custom-ligature-parser/raw -o .agents/skills/opentype-custom-ligature-parser/SKILL.md
.agents/skills/opentype-custom-ligature-parser/SKILL.md
---
name: "opentype-custom-ligature-parser"
description: "Activate and parse advanced OpenType features: ligatures, tabular numbers, and small caps."
metadata:
  author: "W3C CSS Fonts"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "enable tabular numbers css"
  - "activate discretionary ligatures"
  - "use font-feature-settings"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---
Production Pro-Tip

Keep the SKILL.md under 40 lines of core logic. Agent context windows remain unburdened while trigger tokens are preserved for code generation.

Sandbox Gotcha

Ensure permissions.shell_exec remains false unless compiling custom font subsets. Typography configuration requires workspace file write permissions only.

2

Typography Configuration & Fallback Hierarchy Validation

Ensure typography stylesheets employ non-destructive CSS cascades for font-feature-settings.

When an agent configures custom feature tags like 'zero' (slashed zero) or 'dlig' (discretionary ligatures), setting `font-feature-settings: 'dlig' 1;` directly on an element overwrites any inherited 'tnum' or 'ss01' tags. The skill SOP instructs the agent to configure CSS custom properties or combine tags non-destructively alongside semantic CSS properties.

Terminal Command
test -f src/styles/typography.css || touch src/styles/typography.css
src/styles/typography.css
/* Deterministic OpenType Cascade with semantic high-level properties */
.numeric-tabular {
  font-variant-numeric: tabular-nums slashed-zero;
  /* Fallback for environments lacking full font-variant-numeric support */
  font-feature-settings: 'tnum' 1, 'zero' 1;
}

.display-ligatures {
  font-variant-ligatures: discretionary-ligatures contextual;
  font-feature-settings: 'dlig' 1, 'calt' 1;
}
Production Pro-Tip

Encourage the agent to use `font-variant-*` shorthand where possible, as modern browser accessibility trees correctly parse semantic tabular numbers over raw OpenType tags.

Sandbox Gotcha

Avoid `font-feature-settings: initial` in child selectors, as it violently resets all inherited OpenType features across nested UI components.

3

Intent Matching & Trigger Invocation

Execute user requests using predefined trigger strings to activate procedural OpenType rules.

Agent runtimes scan the conversation for triggers defined in the YAML manifest. Prompting with explicit phrases such as 'enable tabular numbers css' or 'activate discretionary ligatures' prompts the agent to load the SOP rather than using generic CSS guesswork.

Production Pro-Tip

Phrase your prompts around exact trigger tokens: e.g., 'Refactor data-table.tsx to enable tabular numbers css using non-destructive font-feature-settings.'

Sandbox Gotcha

Specifying multiple disparate triggers at once (e.g. asking for small caps, fractions, and ligatures in one run) may cause the agent to lump all 4-letter tags into an invalid syntax.

4

Verification, Visual Linting & Quality Gate

Verify typographic output through CSS linters and headless browser inspection.

The skill mandates running local stylelint or visual regression assertions before the agent marks the task as complete. This guarantees that OpenType tags contain valid 4-character strings and valid integer values (0 or 1).

Terminal Command
npx stylelint "src/**/*.css" --formatter verbose
package.json
"scripts": {
  "lint:css": "stylelint '**/*.{css,scss}'",
  "test:typography": "node ./scripts/verify-font-features.js"
}
Production Pro-Tip

Check `git diff` after agent generation to ensure existing `font-feature-settings` rules in shared utility classes were not unintentionally cleared.

Sandbox Gotcha

OpenType feature tags are case-sensitive. The agent must format tags as lowercase 4-character strings (e.g., 'tnum', not 'TNUM').

Real-World Scenario: Implement Tabular Financial Data Grid with Slashed Zeros and Discretionary Brand Ligatures

Tested Trigger Prompt (Feed directly into Codex, Claude, or Cursor):

“Refactor the Tailwind and raw CSS classes in our accounting ledger component at src/components/LedgerTable.tsx. We need to enable tabular numbers css, show slashed zeroes for disambiguation, and activate discretionary ligatures on brand headings. Ensure no destructive overrides of existing font-feature-settings.”

Deterministic Agent Verification Pipeline:
Agent inspects .agents/skills/opentype-custom-ligature-parser/SKILL.md and matches triggers 'enable tabular numbers css' and 'activate discretionary ligatures'.
Agent inspects src/components/LedgerTable.tsx and identifies numeric cell columns.
Agent adds standard high-level semantic CSS declarations (`font-variant-numeric: tabular-nums slashed-zero;`) accompanied by low-level fallback (`font-feature-settings: 'tnum' 1, 'zero' 1;`).
Agent applies `font-variant-ligatures: discretionary-ligatures;` and fallback `font-feature-settings: 'dlig' 1;` strictly to table headings.
Agent executes `npx stylelint` to verify valid 4-character tag casing and verifies tests pass with exit code 0.

Runtime Troubleshooting & Failure Modes

Error: CssSyntaxError: Unexpected unknown property 'font-feature-setting' / Invalid property value for 'font-feature-settings'

Root Cause: The agent mistakenly omitted the plural 's' or formatted the OpenType feature string as comma-separated values without explicit on/off state flags (e.g. 'tnum, zero' instead of 'tnum' 1, 'zero' 1).

Resolution Command / Fix:
/* Correct fix: Ensure correct property spelling and paired tag-value syntax */
.numeric-cell {
  font-feature-settings: 'tnum' 1, 'zero' 1;
}
Error: Typography misalignment: Monospace/tabular digits still fluctuating in width across currency columns

Root Cause: The loaded web font (e.g., inter-regular.woff2) was subset without OpenType 'tnum' glyph data, or CSS font-family cascade defaulted to a fallback font lacking the 'tnum' table.

Resolution Command / Fix:
fc-query --format='%{capability}\n' ./public/fonts/CustomFont.woff2 | grep -q 'tnum' || echo 'Font subset missing tnum OpenType table! Re-subset with glyph range.'

Frequently Asked Questions (OpenType Custom Ligature & Feature Tag Parser SOP)

Q:Can I use OpenType Custom Ligature & Feature Tag Parser across Codex, Claude Code, and Cursor simultaneously?

Yes. This skill conforms to the open SKILL.md specification and operates identically across all major AI agent runtimes supporting local directory-based skill manifests.

Q:How does OpenType Custom Ligature & Feature Tag Parser prevent context window overflow during long agent sessions?

The skill provides a compact SOP with strict verification boundaries rather than injecting massive typography manuals. It limits context consumption to only relevant trigger conditions.

Q:Does this skill require escalated root or container permissions?

No. The skill runs under restricted sandbox boundaries with fs_read and workspace-scoped fs_write permissions, requiring no shell execution or network access.

Ready to equip your autonomous agent with OpenType Custom Ligature & Feature Tag Parser?

Copy the complete audited SKILL.md specification or download the 1-click zip bundle directly from our verified registry.

Get 1-Click Install Spec