spectrum-design-data CLAUDE.md

spectrum-design-data CLAUDE.md is an instructions file for coding agents from adobe/spectrum-design-data. It costs 1,962 tokens per session, scanned A, original, Apache-2.0.

A set of working rules for contributing to Adobe Spectrum Design Data, a shared design-system repository. It explains the repository layout, required tools, testing, version changes, and commit format.

In plain words
What is it for?
Use it when changing JavaScript, TypeScript, or Rust code, running tests, preparing a release, or committing changes in this monorepo—a repository containing several related packages.
Why use it?
It gives a coding agent the project-specific rules it needs to make changes that pass automated checks and fit the repository. It also reduces mistakes such as using the wrong package manager or editing versions directly.

Instructions file

About the project

adobe/spectrum-design-data is a monorepo containing the design tokens, component schemas, specifications, and related datasets that define Adobe's Spectrum design system; a monorepo keeps these related packages in one repository. It is for Adobe Spectrum SDK and tooling developers who need canonical design-system data and validation artifacts. The catalogue add-ons provide workflows and integrations for working with this design data.

adobe/spectrum-design-data · 151 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/adobe/spectrum-design-data/claude-md
Clone the repo
git clone --depth 1 https://github.com/adobe/spectrum-design-data

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spectrum-design-data CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/adobe/spectrum-design-data/claude-md.svg)](https://agentmods.dev/instructions/adobe/spectrum-design-data/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/adobe/spectrum-design-data/claude-md"><img src="https://agentmods.dev/badge/instructions/adobe/spectrum-design-data/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,962 This file is loaded in full into every session.
When invoked 1,962 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01962 $0.01962
Opus 5 $0.00981 $0.00981
Sonnet 5 $0.00392 $0.00392
Haiku 4.5 $0.00196 $0.00196

Measured yesterday against content hash 3096c49f9500, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spectrum-design-data CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spectrum Tokens — Claude Code Rules

Tooling Invariants

  • [email protected] — never use npm or yarn; use pnpm for installs and scripts
  • moonmoon run <task> for all defined tasks; moon query projects to survey the graph
  • AVA — all JS/TS tests (test/**/*.test.js); each package has its own ava.config.js
  • changesetspnpm changeset for every user-facing version bump; never edit versions manually
  • commitlint — conventional commits enforced; format: type(scope): description
    • Types: feat fix docs style refactor test chore
    • Breaking: append ! or add BREAKING CHANGE: footer
  • Node.js ~20.12 · ESM throughout ("type": "module")

Monorepo Layout

packages/   — core libraries (tokens, design-data, design-data-spec, component-schemas, …)
tools/      — internal dev tooling (~20 packages)
docs/       — documentation sites and explorers
sdk/        — Rust workspace (crates: core, cli, tui, wasm)

Per-package build commands, test commands, and layout details live in each package's own CLAUDE.md — they load on demand, not at session start.

Changeset Rules (CI-enforced)

  • Bump level: patch = bug fix; minor = additive or validation-behavior change; major = breaking
  • Body ≤ 20 lines (CI linter enforces). Verify before committing:
    node tools/changeset-linter/src/cli.js check --fail-on-warnings
    
  • One intro sentence + one bullet per changed artifact. Rationale → PR description, not changeset.
  • Format:
    Short summary (closes #NNN).
    
    - **path/to/file**: what changed and why it matters.
    

Every new file gets: Copyright YYYY Adobe. All rights reserved. with the current year. Comment style matches language: // (Rust/JS/TS), # (YAML/moon.yml), block comment (C-style). License: Apache-2.0.

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 133 lines · 1,962 tokens per session scan A 3096c49f9500

Subscribe to this mod's changes

spectrum-design-data CLAUDE.md is an instructions file published in the GitHub repository adobe/spectrum-design-data (151 stars, last pushed today), licensed Apache-2.0. It adds 1,962 tokens to every session, about $0.0098 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.