Index of every page on this site: llms.txt
All skills
Run it yourself

Reconcile docs/design/DESIGN.md with the current CSS design implementation after Chrome Inspect or UI changes. Use for design-system updates, token drift, typography changes, spacing changes, component styling changes, or motion changes.

  • 1 file
  • 1.9 KB
  • Updated 4 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/indhuja/skilltopia/sync-design

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈63 tokens for metadata: the name and description. ≈400 when used: this file.

Description uses 3.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈251 characters, or 3.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Sync Design System

Keep docs/design/DESIGN.md as the single agent-facing design source. Never create a second token file or a reference copy.

Workflow

  1. Read docs/design/DESIGN.md, src/theme-variables.css, src/App.css, src/quick-pane.css, and the changed UI files.
  2. Run npm run design:sync to reconcile frontmatter values that can be derived deterministically from the CSS source.
  3. Update the Markdown prose in DESIGN.md when the change affects visual intent, component behavior, spacing, typography, accessibility, responsive behavior, or motion.
  4. Keep the Stitch YAML frontmatter and prose consistent. Frontmatter is the structured design contract; prose explains how to apply it.
  5. Run npm run design:check and git diff --check.

Guardrails

  • Do not overwrite intentional design decisions just because an unrelated CSS value differs; inspect the change and update the design contract deliberately.
  • Use semantic token names and preserve the existing Tailwind/shadcn patterns.
  • Keep runtime values in src/theme-variables.css; do not add a parallel tokens.json or duplicate design document.
  • If the source change is ambiguous, report the mismatch and ask for a design decision instead of guessing.

Useful commands

  • npm run design:check — fail when derivable CSS tokens drift from DESIGN.md.
  • npm run design:sync — update derivable frontmatter tokens and print the remaining semantic pass.
  • npm run design:watch — watch CSS/design files and sync derivable tokens as they change during Chrome Inspect work.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at ddcc324. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 4 months ago
What it can do
Reads files Runs commands Edits files
user-invocable
true
All 4 allowed tools
ReadBashGlobEdit

README badge

README badge for indhuja/skilltopia/sync-design