spectrum-design-data: Skill for Claude Code

.ai/skills/enhance-sync-pr/SKILL.md

enhance-sync-pr is a skill for Claude Code, Codex from adobe/spectrum-design-data. It costs 99 tokens per session (1,608 once invoked), scanned A, original, Apache-2.0.

A workflow for improving pull requests that synchronise design tokens, which are shared values such as colours and spacing, between Adobe repositories. It uses the source change and failing checks to prepare the pull request.

In plain words
What is it for?
Use it to trace a sync pull request back to its source, diagnose CI failures, generate a changeset, and update the pull request title and body.
Why use it?
It helps turn automatically generated, incomplete, or failing synchronisation pull requests into reviewable changes with the right description and version-change record.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

This is adobe/spectrum-design-data's own configuration. It tells Claude Code and Codex how to work on spectrum-design-data itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spectrum-design-data configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is GITHUB_TOKEN=... node src/cli.js generate \.

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 · 157 stars · on GitHub · opensource.adobe.com

Reuse

Borrowing it

Nothing to install: this file belongs to adobe/spectrum-design-data. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/adobe/spectrum-design-data/main/.ai/skills/enhance-sync-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/adobe/spectrum-design-data

Made for: Claude Code, Codex.

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 enhance-sync-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/adobe/spectrum-design-data/enhance-sync-pr/github.svg)](https://agentmods.dev/skills/adobe/spectrum-design-data/enhance-sync-pr)
Your own site
<a href="https://agentmods.dev/skills/adobe/spectrum-design-data/enhance-sync-pr"><img src="https://agentmods.dev/badge/skills/adobe/spectrum-design-data/enhance-sync-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for enhance-sync-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/adobe/spectrum-design-data/enhance-sync-pr"><img src="https://agentmods.dev/badge/skills/adobe/spectrum-design-data/enhance-sync-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,608 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 14 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Memory Poisoning · line 61
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 64
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 66
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 67
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Memory Poisoning · line 68
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Prompt Injection · line 61
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 61
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 63
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 64
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 66
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 66
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 67
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 68
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 68
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.1 $0.00099 $0.01608
Opus 5.5 $0.00040 $0.00643
Sonnet 5.5 $0.00020 $0.00322
Haiku 4.5 $0.00010 $0.00161

Measured 20d ago against content hash 35133781e400, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

enhance-sync-pr 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 20d ago.

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.

.ai/skills/enhance-sync-pr/SKILL.md · 136 lines

How it starts

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

Enhance sync PR (Tokens Studio → spectrum-design-data)

When this applies

  • PR opened by mrcjhicks from tokens-sync/patch-spectrum2-from-main (or similar sync branch).
  • Body links to github.com/adobe/spectrum-tokens-studio-data/actions/runs/….
  • CI red after sync (validation, snapshot, component props, wireframe, etc.).
  • Changeset missing; title still feat: updates from spectrum-tokens-studio-data or duplicated feat: Feat:.

Repo and tools

1. Resolve source PR

From the design-data PR body, take the spectrum-tokens-studio-data Actions run URL or the Tokens Studio PR link.

gh pr view <N> --repo adobe/spectrum-design-data --json body,title,headRefName,url

If only the run URL exists, resolve merged PR from that run (same logic as extract-source-pr-info).

Record:

  • Source PR URL (e.g. https://github.com/adobe/spectrum-tokens-studio-data/pull/297)
  • Source author (user.login from that PR) for attribution
gh api repos/adobe/spectrum-tokens-studio-data/pulls/<num> --jq '{title, author: .user.login, body}'

2. Diagnose CI (suggest fixes; user approves edits)

Check out the PR branch with full history (fetch-depth: 0) so tdiff can compare to main.

Run in order:

moon run tokens:validateDesignData
moon run tokens:verifyDesignDataSnapshot
cd packages/tokens && pnpm ava

Or full graph: moon ci (same as GitHub Actions).

Failure map (what to suggest)

Symptom Likely cause Suggestion
checkComponentProps lists token names Missing or wrong component on entries in color-component.json, layout-component.json, or icons.json Set component to match token name prefix (see packages/tokens/test/checkComponentProps.js).
Schema / color-set errors sets missing light, dark, or wireframe Align with schemas/token-types/color-set.json.
verifyDesignDataSnapshot / snapshot mismatch Validation report changed vs golden file Paths in the snapshot are relative to packages/tokens/. After moon run sdk:build, run migrate snapshot from packages/tokens/ so paths match moon run tokens:verifyDesignDataSnapshot: cd packages/tokens && ../../sdk/target/debug/design-data migrate snapshot ./src --output ./snapshots/validation-snapshot.json --schema-path ./schemas --exceptions-path ../design-data/naming-exceptions.json.
Token file / $schema / uuid Invalid token shape Fix per token-file.json and failing AVA tests.
Alias / renamed / manifest Broken refs or manifest drift Fix aliases; run moon run tokens:buildManifest.
Changeset lint on PR Bad frontmatter Valid --- / "@adobe/spectrum-tokens": patch | minor | major / body.

Read the full file on GitHub · 136 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. 20d ago Changed 35133781e400
  2. 2mo ago First seen · 136 lines · 99 tokens per session scan A 1c29b912734d

Subscribe to this mod's changes

enhance-sync-pr is a skill published in the GitHub repository adobe/spectrum-design-data (157 stars, last pushed today), licensed Apache-2.0. It adds 99 tokens to every session and 1,608 once invoked, about $0.0004 per session on Opus 5.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.

Related

enhance-sync-pr compared with skills from other repositories

enhance-sync-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
enhance-sync-pradobe/spectrum-design-dataSkill157todayApache-2.0A99Claude Code, Codex
design-tokens-versioningalmasumdev/awesome-mobile-design-system-agent-skillsSkill26mo agononeA34Claude Code, Codex
extract-designManavarya09/design-extractSkill4.8kyesterdayMITA140Claude Code
designlang-tokensManavarya09/design-extractSkill4.8kyesterdayMITA30Claude Code
ss-learnbitjaru/styleseedSkill1.0kyesterdayMITA73Claude Code, Codex
omd-applykwakseongjae/oh-my-designSkill567yesterdayMITA129Claude Code, Codex
design-dnazanwei/design-dnaSkill2.1k2mo agoMITA192Claude Code, Codex