dj-tomgebauer

Dj Design Tools — Design skill for Claude Code

Design community

CLI tools and Claude Code skills for Dow Jones design and engineering teams.

How to install Dj Design Tools

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dj-tomgebauer/dj-design-tools and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Dj Design Tools does

CLI tools and Claude Code skills for Dow Jones design and engineering teams.

Alternatives in Design

  • CloudCLI — 8,400+ Free open-source web/mobile UI for Claude Code, Cursor CLI, and Codex 8.7k ★
  • Interface Design — Design engineering for Claude Code 4.3k ★
  • Extract — Design System & Product Reverse-Engineering - Extract tokens, components, architecture, and PRDs from codebase 2.8k ★

README

DJ Design Tools

A collection of CLI tools and Claude Code skills for Dow Jones design and engineering teams.


adjust-font-metrics

Creates metrics-adjusted, date-stamped copies of any font file (.otf or .ttf) to correct excess line height caused by inflated hhea table values. Common in fonts that render with unwanted whitespace on iOS.

Why this exists

iOS uses a font's `hhea` table (ascent, descent, lineGap) to calculate natural line height. Fonts with excess baked into the ascender or lineGap render with whitespace above and between lines that no token or CSS override can remove. The only reliable fix is correcting the font file itself. This tool does that without modifying the original.

Requirements

  • Python 3.10+
  • fonttools: pip3 install fonttools

Usage

# Single variant at default 1.05x ratio
python3 adjust-font-metrics.py path/to/Font.otf

# Generate three variants for comparison
python3 adjust-font-metrics.py path/to/Font.otf --ratios 1.00 1.05 1.10

# Explicit metric values (for foundry spec work)
python3 adjust-font-metrics.py path/to/Font.otf --ascent 800 --descent -200 --linegap 200

Output

For each variant:

  • A new font file: {original-stem}-{YYYY-MM-DD}-{ratio-label}.otf
  • PostScript name: {OriginalPSName}-{YYYYMMDD}-{ratiolabel}

Plus one JSON sidecar: `{original-stem}-{YYYY-MM-DD}-metrics.json`

The sidecar contains the original and adjusted metrics for every variant — useful for engineering handoff and foundry communication.

Install as a Claude Code skill

Copy two files to your home directory:

cp adjust-font-metrics.py ~/.claude/scripts/adjust-font-metrics.py
cp claude-commands/adjust-font.md ~/.claude/commands/adjust-font.md

Then use `/adjust-font` in any Claude Code session.


Contributing

Add new tools as standalone scripts in the root of this repo. If the tool has a Claude Code skill companion, add the `.md` file to `claude-commands/`.