apply-ds

Migrate SvelteKit demos to Archetype DS tokens, components, and patterns.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/archetypeai/newton-earthquake-demo --skill apply-ds
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apply-ds
Source: https://github.com/archetypeai/newton-earthquake-demo/tree/main/.claude/skills/apply-ds
Command: npx skills add https://github.com/archetypeai/newton-earthquake-demo --skill apply-ds

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires eslint, prettier, eslint-plugin-svelte, eslint-config-prettier, prettier-plugin-svelte, prettier-plugin-tailwindcss, globals, and includes scripts (resource) components.

What problem does it solve?

Migrate an existing SvelteKit demo to Archetype DS tokens, components, and patterns to achieve a cohesive, scalable UI.

Core Features & Use Cases

  • Audit non-DS patterns in a ds-cli initialized demo
  • Replace raw Tailwind colors with semantic tokens
  • Swap native HTML elements for DS components
  • Apply layout and pattern migrations
  • Set up linting and formatting for DS-enabled projects

Quick Start

Run the audit and migration steps from this skill directory to begin converting your demo to DS primitives.

Frequently Asked Questions about apply-ds

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a SvelteKit demo to a design system?

To migrate a SvelteKit demo, audit non-DS patterns, replace raw Tailwind colors with semantic tokens, swap native HTML elements for DS components, and apply layout pattern migrations. This achieves a cohesive UI using Archetype DS primitives.

What do I need to set up before migrating to Archetype DS tokens?

Before migrating to Archetype DS tokens, you need a ds-cli initialized SvelteKit project with DS tooling installed, including design tokens, Tailwind v4, shadcn-svelte, and DS components. This environment is required to support the migration process.

How do I replace raw Tailwind colors with semantic design tokens?

Replace raw Tailwind colors with semantic design tokens by auditing your SvelteKit project for non-DS patterns and substituting hardcoded color values with Archetype DS tokens. This ensures visual consistency and scalability across your UI.

Can I configure ESLint and Prettier for a SvelteKit design system project?

Yes, you can configure ESLint and Prettier for a SvelteKit design system project using dependencies like eslint-plugin-svelte, eslint-config-prettier, and prettier-plugin-tailwindcss. This sets up linting and formatting rules tailored for DS-enabled projects.

What is the best way to swap native HTML elements for shadcn-svelte components?

The best way to swap native HTML elements for shadcn-svelte components is to audit your existing SvelteKit demo for raw elements and replace them with DS components. This ensures adherence to Archetype DS patterns and layout migrations.

Why does my SvelteKit design system migration require Tailwind v4?

Your SvelteKit design system migration requires Tailwind v4 because it provides the underlying styling framework needed to support DS tokens and prettier-plugin-tailwindcss. This integration ensures proper semantic token application and formatting.