agentleFS
yuvrajangadsinghyuvrajangadsingh/brandmd/examples/claude.md

brandmd / examples

CLAUDE.md74 starsChanged 16 days agoMITView on GitHub

Bright, high contrast

  • In this repositoryOne other file it gives its agents.

The file

We split this claude.md into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do use a 4px grid for spacing

    line 184
  2. Very specific:

    Do use #141413 for primary actions and CTAs

    line 185
  3. Distinctive:

    Do stick to 3 font weights: 400, 500, 600

    line 186
  4. Very specific:

    Do use anthropicSerif as the primary typeface

    line 187
  5. Distinctive:

    Don't introduce colors outside the palette above

    line 188
  6. Distinctive:

    Don't mix fonts beyond anthropicSerif and anthropicSans

    line 189
  7. Distinctive:

    Don't use border-radius values outside: 4px, 8px, 9.5px, 12px, 12px 12px 0px 0px, 16px, 24px, 32px

    line 190

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
claude.md

This is a real DESIGN.md example generated from https://claude.com with npx brandmd.

Drop a DESIGN.md like this in your project root so Claude Code, Cursor, Gemini CLI, Codex, or Google Stitch can use the colors, typography, spacing, and UI patterns when generating UI.

Generate one for your site: npx brandmd https://yoursite.com (npm · repo)

Design System: Claude by Anthropic | The AI for problem solvers

Extracted from https://claude.com by brandmd

Overview

Visual character: Bright, high contrast; cream background dominates with black text and orange accents

Density: spacious. The layout uses a varied spacing scale.

Colors

Palette extracted from the live page. Token names below map to the machine-readable colors block above.

  • Cream (#faf9f5): Page background (dominant)
  • Light gray (#d1cfc5): Divider / border (dominant)
  • Gray (#87867f): Secondary text (accent)
  • Black (#141413): Dark background / footer (accent)
  • Dark gray (#30302e): Divider / border (accent)
  • Orange (#c6613f): Accent background (accent)

Incidental (low usage, do not lead with these): #5e5d59

Typography

Primary font: anthropicSerif Secondary font: anthropicSans

Fonts by role:

  • Headings: anthropicSans, anthropicSerif
  • Body: anthropicSans

All detected fonts: anthropicSans (935), anthropicSerif (14), Segoe UI (1)

Type scale:

  • Headings: 24px, 32px, 52px, 56px
  • Body / UI: 15px, 16px, 17px, 18px, 19px
  • Captions / Small: 11px, 11.5px, 12px

Weights in use: 400, 500, 600

Line heights: 22.5px, 19px, 24px, 12px, 18px, 25.5px, 17.5px, 27px, 62.5px, 17px

Letter spacing: 0.12px

Layout

Spacing scale: 4px, 8px, 12px, 16px, 20px, 24px, 32px, 64px

Base unit: 4px grid — 99% of all weighted spacing values are multiples of 4.

Elevation & Depth

Uses 5 shadow styles for layering and elevation:

  • Level 1: rgb(250, 249, 245) 0px 0px 0px 0px, rgb(209, 207, 197) 0px 0px 0px 1px
  • Level 2: rgba(0, 0, 0, 0.1) 0px 4px 16px 0px
  • Level 3: rgb(20, 20, 19) 0px 0px 0px 0px
  • Level 4: rgba(0, 0, 0, 0.016) 0px 4px 24px 0px, rgba(0, 0, 0, 0.016) 0px 4px 32px 0px, rgba(0, 0, 0, 0.01) 0px 2px 64px 0px, rgba(0, 0, 0, 0.01) 0px 16px 32px 0px
  • Level 5: rgba(98, 158, 218, 0.16) 0px 4px 20px 0px

Shapes

Shape language: Rounded, friendly aesthetic with generous corner radii.

Border radii: 4px, 8px, 9.5px, 12px, 12px 12px 0px 0px, 16px, 24px, 32px

Asymmetric / percentage radii observed (12px 12px 0px 0px); kept out of the ordinal rounded scale since they don't fit a magnitude order.

Components

Observed from the live DOM. Machine-readable component tokens are in the components block above.

Buttons

  • Background: #141413
  • Text color: #faf9f5
  • Corner radius: 8px
  • Height: 36px
  • Padding: 8px 16px 8px 16px
  • Font: 15px, weight 500
  • Sampled from: <a> labelled Try Claude

Cards

  • Corner radius: 0px
  • Padding: 0px 0px 0px 0px

Inputs

  • Border: 0px none rgb(250, 249, 245)
  • Corner radius: 0px
  • Padding: 4px 0px 4px 0px
  • Font size: 12px

Do's and Don'ts

  • Do use a 4px grid for spacing
  • Do use #141413 for primary actions and CTAs
  • Do stick to 3 font weights: 400, 500, 600
  • Do use anthropicSerif as the primary typeface
  • Don't introduce colors outside the palette above
  • Don't mix fonts beyond anthropicSerif and anthropicSans
  • Don't use border-radius values outside: 4px, 8px, 9.5px, 12px, 12px 12px 0px 0px, 16px, 24px, 32px

This DESIGN.md was generated by brandmd and validates against the official @google/design.md linter. Drop it into your project root and AI coding agents (Claude Code, Cursor, Gemini CLI) will use it to generate on-brand UI.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.