---
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
---

# OpenType Custom Ligature & Feature Tag Parser

Configures advanced OpenType typographic feature tags in CSS and canvas: font-feature-settings ('dlig', 'tnum', 'smcp', 'zero'), discretionary ligatures, and contextual alternates.

## When to Invoke
Invoke this skill whenever you need to:
- enable tabular numbers css
- activate discretionary ligatures
- use font-feature-settings

## Execution SOP & Rules
1. Use high-level CSS properties where supported: font-variant-numeric: tabular-nums.
2. Provide fallback low-level syntax: font-feature-settings: 'tnum' 1, 'ss01' 1.
3. Verify that the loaded font family natively supports the requested OpenType feature tags.
4. Test tabular number column alignment in monospaced and proportional font suites.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
