Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Calculate typography scales, metrics, and responsive font sizing
.claude/skills/a5c-ai-typography-calculator/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | -14% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 191% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 50% | 0% |
Calculate typography scales and metrics for design systems, including modular scales, line heights, and responsive font sizing.
json{ "type": "object", "properties": { "baseSize": { "type": "number", "default": 16, "description": "Base font size in pixels" }, "scaleRatio": { "type": "string", "enum": ["minor-second", "major-second", "minor-third", "major-third", "perfect-fourth", "augmented-fourth", "perfect-fifth", "golden-ratio"], "default": "perfect-fourth" }, "steps": { "type": "number", "default": 6, "description": "Number of scale steps above and below base" }, "lineHeightRatio": { "type": "number", "default": 1.5, "description": "Base line height ratio" }, "fluidTypography": { "type": "boolean", "default": true }, "minViewport": { "type": "number", "default": 320 }, "maxViewport": { "type": "number", "default": 1440 } }, "required": ["baseSize"] }
json{ "type": "object", "properties": { "scale": { "type": "array", "description": "Typography scale with sizes" }, "lineHeights": { "type": "object", "description": "Optimal line heights for each size" }, "fluidSizes": { "type": "object", "description": "CSS clamp values for fluid typography" }, "verticalRhythm": { "type": "object", "description": "Vertical rhythm calculations" }, "tokens": { "type": "object", "description": "Typography design tokens" } } }
javascriptconst result = await skill.execute({ baseSize: 16, scaleRatio: 'perfect-fourth', steps: 6, fluidTypography: true, minViewport: 320, maxViewport: 1440 });
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 41,653 | 40,208 | -3% | 1 | 1 | 0% | 8,258 | 8,969 | +9% | 0 | 0 | — |
case-02 | fail→fail | 38,854 | 39,272 | +1% | 1 | 1 | 0% | 8,258 | 7,734 | -6% | 0 | 0 | — |
case-03 | fail→pass | 41,313 | 34,195 | -17% | 1 | 1 | 0% | 8,303 | 7,101 | -14% | 0 | 0 | — |
case-04 | pass→pass | 18,842 | 23,541 | +25% | 1 | 1 | 0% | 2,708 | 5,974 | +121% | 0 | 0 | — |
case-05 | pass→pass | 19,713 | 21,510 | +9% | 1 | 1 | 0% | 2,361 | 3,723 | +58% | 0 | 0 | — |
case-06 | pass→pass | 13,040 | 13,539 | +4% | 1 | 1 | 0% | 1,388 | 2,344 | +69% | 0 | 0 | — |
case-07 | fail→fail | 38,761 | 29,577 | -24% | 1 | 1 | 0% | 8,252 | 7,642 | -7% | 0 | 0 | — |
case-08 | pass→pass | 19,632 | 20,612 | +5% | 1 | 1 | 0% | 4,699 | 5,124 | +9% | 0 | 0 | — |
case-09 | fail→pass | 11,373 | 23,716 | +109% | 1 | 1 | 0% | 2,246 | 6,541 | +191% | 0 | 0 | — |
case-10 | pass→fail | 21,613 | 19,286 | -11% | 1 | 1 | 0% | 4,738 | 4,929 | +4% | 0 | 0 | — |
case-11 | pass→pass | 10,564 | 14,611 | +38% | 1 | 1 | 0% | 2,167 | 4,188 | +93% | 0 | 0 | — |
case-12 | fail→pass | 118,897 | 22,304 | -81% | 1 | 1 | 0% | 8,216 | 6,328 | -23% | 0 | 0 | — |
case-13 | fail→pass | 29,793 | 24,292 | -18% | 1 | 1 | 0% | 6,667 | 6,175 | -7% | 0 | 0 | — |
case-14 | fail→fail | 18,004 | 13,837 | -23% | 1 | 1 | 0% | 3,588 | 3,954 | +10% | 0 | 0 | — |
case-15 | pass→pass | 25,421 | 16,928 | -33% | 1 | 1 | 0% | 6,127 | 4,497 | -27% | 0 | 0 | — |
case-16 | fail→fail | 34,604 | 27,525 | -20% | 1 | 1 | 0% | 8,239 | 7,320 | -11% | 0 | 0 | — |
case-17 | pass→fail | 16,313 | 22,760 | +40% | 1 | 1 | 0% | 4,473 | 4,292 | -4% | 0 | 0 | — |
case-18 | fail→pass | 19,689 | 23,982 | +22% | 1 | 1 | 0% | 4,649 | 6,972 | +50% | 0 | 0 | — |
case-19 | fail→pass | 37,839 | 32,065 | -15% | 1 | 1 | 0% | 8,228 | 8,789 | +7% | 0 | 0 | — |
case-20 | fail→pass | 24,140 | 14,861 | -38% | 1 | 1 | 0% | 5,030 | 4,133 | -18% | 0 | 0 | — |
case-21 | fail→pass | 19,305 | 26,958 | +40% | 1 | 1 | 0% | 4,376 | 6,591 | +51% | 0 | 0 | — |
case-22 | pass→fail | 17,245 | 9,185 | -47% | 1 | 1 | 0% | 3,827 | 2,800 | -27% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +23 percentage points is the difference between those two pass rates over the 22 comparable cases. 4 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.