font-loading-wasp-drone — Claude Code subagent: setup and features
font-loading-wasp-drone audits font loading pipelines, eliminates CLS shifts from font swaps, and configures Next.js font delivery.
AGPL-3.0-or-later ★ 96 updated 2026-10-18
/plugin marketplace add legioncodeinc/vibe-coding-tools
/plugin install web-development-tools@wasp-nestWhat font-loading-wasp-drone does
This subagent handles in-browser font loading mechanics. It audits @font-face definitions, selects matching font-display values, and configures metric-adjusted fallbacks using properties like size-adjust and ascent-override. That prevents layout shifts during late swaps.
When configuring preload links, the agent verifies crossorigin="anonymous" to avoid duplicate font downloads. It also restricts preload tags to 2-3 key assets so image discovery remains unblocked. For Next.js codebases, it targets app/fonts.ts while enforcing strict separation between App Router and Pages Router conventions.
The subagent halts immediately instead of guessing if you use a commercial font without an explicit subsetting license.
What it helps with
- remove layout shifts caused by font swapping
- configure
next/fontfor Next.js App Router setups - subset variable fonts using CLI tools like pyftsubset
- fix missing crossorigin attributes on font preload tags
Example prompts for the agent
- Audit font loading in this repository and fix CLS from font swap
- Generate a
next/fontconfiguration for App Router inapp/fonts.ts - Give me the subsetting command for our self-hosted variable font
How to install font-loading-wasp-drone
1Plugin marketplace
/plugin marketplace add legioncodeinc/vibe-coding-tools/plugin install web-development-tools@wasp-nest2Manually: put the files in place
.claude/agents/font-loading-wasp-drone.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/font-loading-wasp-drone.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/font-loading-wasp-drone.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about font-loading-wasp-drone
How to install font-loading-wasp-drone in Claude Code?
Register the marketplace via /plugin marketplace add legioncodeinc/vibe-coding-tools, then run /plugin install web-development-tools@wasp-nest.
What does font-loading-wasp-drone do?
It reviews font loading sequences, audits @font-face blocks, eliminates FOIT, and generates metric-matched fallbacks for layout stability.
How does it differ from typography-font-wasp-drone?
It focuses solely on network delivery, rendering mechanics, and layout shifts rather than typeface selection or visual type scales.