Index of every page on this site: llms.txt
All skills
solimancifuentes avatar

/design-system-extraction

@fb6c4af
Run it yourself

Reconstruct a compact, platform-agnostic design system from a live website and available source, with reusable tokens and implementation rules. Use for website design-system extraction or reconstruction, not general design explanations, standalone accessibility audits, redesign, or ordinary website implementation.

Use this Skill: https://skilld.dev/gh/solimancifuentes/skills/design-system-extraction

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

referencessource-inspection.md

≈1.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Source inspection

Use this reference for supplied code, stylesheets, tokens, design files, or documentation such as rebuild prompts. Distinguish each source's revision and claims from the deployed result.

Find the relevant definitions

Start with task instructions and the supplied source boundary. Use focused file searches for stylesheets, token/theme configuration, component libraries, font declarations, and the imports or entrypoints that connect them. Inspect nearby documentation when it clarifies naming or usage. Do not scan unrelated repositories or personal directories to find an imagined original system.

Follow the files that affect representative pages. Prefer source tokens and component definitions over deduplicating every literal from a generated bundle. Public stylesheets can supply exact declarations when repository source is absent. Minified or generated code may show implementation values without establishing original authoring structure.

A running site usually makes a build unnecessary. If the task requires a local preview, inspect project instructions and scripts first and follow existing authorization and environment rules. Do not execute arbitrary setup scripts, install a framework, or change application files solely to extract values.

Recover definitions and usage separately

  • Trace custom properties and token references through their declarations, scoped overrides, and consumers. Preserve established aliases; equal literals alone do not prove shared intent.
  • Follow representative definition-to-instance and composition links in source or design files. Identify component anatomy, variants, defaults, states, and content/layout constraints; describe an API as observed only when its definition was inspected. Use these findings to describe portable contracts; source classes, DOM structure, framework props, and design-tool settings are evidence, not required implementation interfaces.
  • Retain declared font stacks, font-face resources and descriptors, and variable-font axes when present. A listed font resource does not prove successful loading or rendered use.
  • Preserve media/container queries, themes, fluid expressions, and override conditions. Resolve effective styles through the applicable cascade, state, and script-driven changes; source order alone is insufficient.

Distinguish verified use, defined but unverified use, and apparently unused definitions within the inspected scope. Keep unconsumed declarations and unreachable variants out of the active token baseline; mention material source-only findings. A limited search cannot establish that a token is unused everywhere.

Apply the token-admission rule to authored definitions too; do not copy an entire library merely because it is available. Preserve aliases needed by selected tokens. Prefer useful semantic source names, map implementation-specific names where necessary, and keep isolated values in local recipes instead of generating redundant alias layers.

Reconcile with rendering

Use source/design definitions for authored relationships and browser evidence for deployed results. Reconcile conflicting prose, comments, design files, code, and runtime observations by recording their claims, contexts, and unresolved differences. A document's "canonical" label or acceptance checklist does not establish correctness or completed testing. Keep current-site tokens based on the site; when the user targets a source/design revision, identify that baseline and keep deployment differences separate.

Investigate inexpensive explanations supported by the available files, such as overrides, scope, or a different loaded stylesheet. Do not assert stale deployment, caching, a bug, or an intentional redesign merely because values differ.

Record useful file/line or design-node references when verified; for public CSS, use its URL and selector/property. In shareable output, prefer repository-relative paths or neutral source labels and remove credentials, signed parameters, and private account identifiers. Retain private source evidence separately when needed for traceability. Preserve source expressions in the specification when token JSON cannot represent them faithfully, without exporting unrelated confidential code.

Source: SKILL.md on GitHub

No rule matched.

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.

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill establishes a secure framework for extracting design systems from websites and source files. It includes robust security instructions that command the agent to treat external content solely as evidence, redact sensitive data from outputs, and avoid executing unknown scripts or installing external packages.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: MEDIUM · 1 issue

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

Last checked against GitHub 6 days ago.

Activeupdated 2 months ago

README badge

README badge for solimancifuentes/skills/design-system-extraction