Typeset

From nicolaiprodromov/puree · View interactive version

Typeset is an AI agent skill from the GitHub repository nicolaiprodromov/puree. Improve Puree typography by fixing font choices, hierarchy, sizing, weight consistency, and readability in YAML/SCSS. Makes text feel intentional and polished.

How to use this skill

Skill file

Assess and improve typography that feels generic, inconsistent, or poorly structured — turning default-looking text into intentional, well-crafted type.

MANDATORY PREPARATION

Use the frontend-design skill — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first.


Assess Current Typography

Analyze what's weak or generic about the current type:

  1. Font choices:
  1. Hierarchy:
  1. Sizing & scale:
  1. Readability:
  1. Consistency:

CRITICAL: The goal isn't to make text "fancier" — it's to make it clearer, more readable, and more intentional. Good typography is invisible; bad typography is distracting.

Plan Typography Improvements

Create a systematic plan:

Improve Typography Systematically

Font Selection

If fonts need replacing:

# Heading with distinctive font
section_title:
  font: NeueMontreal-Bold
  class: section_title

# Body with readable font
description:
  font: NeueMontreal-Regular
  class: body_text

Establish Hierarchy

Build a clear type scale using SCSS variables:

// Type scale (1.25 ratio)
$font-size-xs: 11px;   // captions, metadata
$font-size-sm: 12px;   // secondary text
$font-size-md: 14px;   // body text
$font-size-lg: 18px;   // subheadings
$font-size-xl: 24px;   // headings
$font-size-xxl: 36px;  // display / hero text

.heading { font-size: $font-size-xl; font-weight: bold; }
.subheading { font-size: $font-size-lg; font-weight: bold; }
.body_text { font-size: $font-size-md; font-weight: normal; }
.caption { font-size: $font-size-xs; color: $text-secondary; }

Fix Readability

.body_text {
  font-size: $font-size-md;
  line-height: 1.6;
  color: $text-primary;
}

.heading {
  font-size: $font-size-xl;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: $text-primary;
}

Refine Details

Weight Consistency

// Clear weight roles
.label { font-weight: bold; font-size: $font-size-sm; letter-spacing: 0.5px; text-transform: uppercase; }
.body { font-weight: normal; font-size: $font-size-md; }
.emphasis { font-style: italic; }

NEVER:

Verify Typography Improvements

Remember: Typography is the foundation of interface design — it carries the majority of information. Getting it right is the highest-leverage improvement you can make.

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.