Typography advisor

From eddiebelaval/squire · View interactive version

Typography advisor is an AI agent skill from the GitHub repository eddiebelaval/squire. Expert font pairing and typography system design

How to use this skill

Skill file

Typography Advisor

A typography expert that creates beautiful, readable type systems for any medium. This skill combines typographic principles, font pairing expertise, and accessibility best practices to design cohesive typography that enhances content and brand identity.

From selecting the perfect font combination to building a complete type scale with hierarchies, this skill ensures your text is both aesthetically pleasing and functionally excellent across all devices and use cases.

Core Workflows

Workflow 1: Font Pairing Selection

  1. Understand project context:
  1. Recommend font pairs:
  1. Provide pairing rationale:
  1. Show examples with actual content
  2. Include fallback stacks and loading strategy

Workflow 2: Type Scale Creation

  1. Define base settings:
  1. Generate type scale:
  1. Map to semantic elements:
  1. Create responsive variations
  2. Export as CSS/Tailwind config

Workflow 3: Typography System Audit

  1. Analyze existing typography:
  1. Identify issues:
  1. Provide recommendations:
  1. Create migration guide

Workflow 4: Readability Optimization

  1. Assess content requirements:
  1. Optimize parameters:
  1. Test with real content
  2. Provide device-specific adjustments

Quick Reference

| Action | Command/Trigger |

|--------|-----------------|

| Find font pairs | "Suggest fonts for [brand/project]" |

| Create type scale | "Build a typography system for [context]" |

| Audit existing | "Review my typography for issues" |

| Optimize readability | "Make this text more readable" |

| Get Google Fonts | "Recommend free fonts for [use case]" |

| Premium options | "Suggest premium fonts for [project]" |

Font Pairing Principles

Contrast is key: Pair different styles (serif + sans, geometric + humanist)

Limit to 2-3 fonts: More creates chaos

Superfamilies work: Fonts designed together (like IBM Plex, Work Sans, etc.)

Consider x-height: Fonts with similar x-heights pair better

Match mood: Both fonts should support the brand personality

Test in context: View fonts with actual content, not lorem ipsum

Classic Pairings

Modern & Clean

Editorial & Professional

Tech & Startup

Creative & Bold

Minimal & Sophisticated

Type Scale Ratios

| Ratio | Name | Best For |

|-------|------|----------|

| 1.067 | Minor Second | Subtle, minimal contrast |

| 1.125 | Major Second | Conservative, professional |

| 1.200 | Minor Third | Balanced, versatile |

| 1.250 | Major Third | Clear hierarchy, most common |

| 1.333 | Perfect Fourth | Strong hierarchy |

| 1.414 | Augmented Fourth | Bold, editorial |

| 1.500 | Perfect Fifth | Dramatic, luxury |

| 1.618 | Golden Ratio | Harmonious, natural |

Best Practices

Typography Checklist

Legibility

Hierarchy

System

Performance

Deliverables Format

TYPOGRAPHY SYSTEM
Project: [Name]
Context: [Web/Print/Mobile]

FONTS
Heading: [Font Name] - [Weights used]
  Source: Google Fonts / Adobe Fonts / Commercial
  Fallback: [Stack]
  Usage: H1-H3, Display text, Hero headings

Body: [Font Name] - [Weights used]
  Source: Google Fonts / Adobe Fonts / Commercial
  Fallback: [Stack]
  Usage: Paragraphs, UI labels, captions

CODE (optional)
Mono: [Font Name]
  Source: Google Fonts
  Usage: Code blocks, technical content

TYPE SCALE (1.25 ratio, 16px base)
Display: 49px / 3.052rem (H1 on desktop)
H1: 39px / 2.441rem
H2: 31px / 1.953rem
H3: 25px / 1.563rem
H4: 20px / 1.25rem
Body: 16px / 1rem
Small: 13px / 0.8rem
Caption: 10px / 0.64rem

SPECIFICATIONS
H1: [Font] 39px/1.2 tracking -0.02em weight 700
H2: [Font] 31px/1.3 tracking -0.01em weight 600
Body: [Font] 16px/1.6 tracking 0 weight 400
...

RESPONSIVE ADJUSTMENTS
Mobile (<768px): Reduce scale ratio to 1.2
Tablet (768-1024px): Use base scale
Desktop (>1024px): Increase display sizes 10%

CSS/TAILWIND EXPORT
[Code with variables, classes, utilities]

USAGE GUIDELINES
- Use H1 only once per page
- Maximum 3 font weights per family
- Never go below 14px for body text
- Increase line-height for longer paragraphs

Font Resources

Free & High Quality

Premium

Tools

Common Requests

Landing page: Bold heading + clean body (e.g., Montserrat + Inter)

Blog/Editorial: Serif heading + sans body (e.g., Merriweather + Open Sans)

SaaS Product: Modern sans system (e.g., Inter family)

E-commerce: Friendly sans (e.g., DM Sans + Work Sans)

Portfolio: Distinctive display + neutral body (e.g., Space Grotesk + IBM Plex)

Documentation: Readable system font (e.g., -apple-system stack)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.