jubscodes/get-shit-pretty/gsp-design-system

Claude Code and agent skill by jubscodes/get-shit-pretty

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Scan and document the existing design system — use when: scan the codebase, document what components exist, what's already built, inventory the design system

Install

npx vskill@latest install jubscodes/get-shit-pretty/gsp-design-system

SKILL.md

<context> Composable skill that scans the workspace codebase and documents the existing design system state. Produces focused documents that downstream skills and agents consume selectively.

Works two ways:

  1. Standalone — user runs /gsp-design-system for a quick workspace audit
  2. Building block — /gsp-start invokes this in the background during project setup

Output is workspace-level (not project-scoped), so it's shared across all projects and only needs to run once per codebase state change. Re-runnable — overwrites previous output. </context>

<objective> Scan the codebase and produce five focused design system documents.

Output: .design/system/{STACK,COMPONENTS,TOKENS,CONVENTIONS,CONCERNS}.md </objective>

<execution_context> @${CLAUDE_SKILL_DIR}/../../templates/system/STACK.md @${CLAUDE_SKILL_DIR}/../../templates/system/COMPONENTS.md @${CLAUDE_SKILL_DIR}/../../templates/system/TOKENS.md @${CLAUDE_SKILL_DIR}/../../templates/system/CONVENTIONS.md @${CLAUDE_SKILL_DIR}/../../templates/system/CONCERNS.md </execution_context>

<rules>

  • Always use AskUserQuestion for user interaction — never prompt via plain text
  • One decision per question — never batch multiple questions in a single message

</rules>

<process>

Step 0: Prepare output directory

bash
mkdir -p .design/system

Step 1: Detect tech stack (→ STACK.md)

  1. Detect package manager & lockfile
  • Look for package.json, bun.lockb, pnpm-lock.yaml, yarn.lock, package-lock.json
  1. Read `package.json`
  • Framework, dependencies, devDependencies, scripts
  1. Detect config files
  • tsconfig.json / jsconfig.json — language, aliases
  • tailwind.config.* — styling, custom theme
  • next.config.* — Next.js
  • vite.config.* — Vite
  • app.json / expo.json — React Native / Expo
  • postcss.config.*, .eslintrc.*, .prettierrc.*
  1. Identify styling approach
  • Tailwind, CSS Modules, styled-components, StyleSheet, vanilla CSS
  1. Identify architecture patterns
  • Component style (functional, forwardRef, compound)
  • State management (Context, Zustand, Redux, Jotai)
  • Data fetching (Server Components, React Query, SWR)
  • Routing (App Router, Pages Router, Expo Router, React Router)
  • File organization (feature-based, type-based, flat)
  1. Classify codebase
  • greenfield: No package.json or empty scaffold with no custom code
  • boilerplate: Scaffolded (create-next-app, create-expo-app, etc.) with minimal customization
  • existing: Real custom code — components, pages, business logic
  1. Write `.design/system/STACK.md` from the STACK template

Step 2: Scan components (→ COMPONENTS.md)

  1. Scan component directories
  • Check: src/components/, components/, app/, pages/, src/app/, src/pages/, src/ui/, lib/
  1. For each component found
  • Name, path, rough props/variants, reusability assessment
  1. Detect UI kit
  • shadcn/ui, RN Reusables, Radix, MUI, Headless UI, etc.
  • Check package.json dependencies + component directory patterns
  1. Cap at 30 components — summarize rest by directory/category
  1. "Where to add" guidance
  • Where new components go, naming pattern, barrel file conventions
  1. Write `.design/system/COMPONENTS.md` from the COMPONENTS template

Step 3: Detect tokens & theming (→ TOKENS.md)

  1. Tailwind `extend` sections — colors, fonts, spacing
  2. CSS custom properties in globals.css / global.css
  3. Theme files — theme.ts, tokens.json, tokens.ts
  4. Dark mode setup — next-themes, class strategy, media query
  5. Prior GSP tokens — scan .design/branding/*/patterns/ for existing brand tokens
  1. Write `.design/system/TOKENS.md` from the TOKENS template

Step 4: Extract conventions (→ CONVENTIONS.md)

  1. Naming patterns — PascalCase, kebab-case, camelCase across files
  2. Export style — named, default, barrel files
  3. Styling approach — cn(), className strings, StyleSheet
  4. Import aliases — @/, ~/ from tsconfig/jsconfig
  5. File organization — feature-based, type-based, flat
  6. "Where to add" for each type — component, page, utility, token
  1. Write `.design/system/CONVENTIONS.md` from the CONVENTIONS template

Step 5: Identify concerns (→ CONCERNS.md)

  1. Design debt — inconsistent spacing, mixed color systems, hardcoded values vs tokens
  2. Component fragility — components with excessive props, no variants, tight coupling
  3. Accessibility gaps — missing aria attributes, color contrast issues, no focus management
  4. Token coverage — which categories are tokenized vs hardcoded
  5. Dark mode gaps — components that don't support theme switching
  6. Responsive gaps — components with fixed widths, missing breakpoints
  7. Naming inconsistencies — mixed conventions across component directories

Each concern includes: file paths, severity (high/medium/low), and fix approach.

  1. Write `.design/system/CONCERNS.md` from the CONCERNS template

Greenfield shortcut: If codebase is classified as greenfield (no package.json or no source code), write minimal versions of STACK.md and skip COMPONENTS, TOKENS, CONVENTIONS, and CONCERNS (write a one-line note in each: "Greenfield codebase — no existing design system to document.").

Step 6: Completion display

Display a summary box:

/gsp- design-system scan complete
┌──────────────────────────────────────────┐
│ type {classification} │
│ framework {framework} │
│ styling {styling approach} │
│ components {N} detected │
│ token coverage {N}/6 categories │
│ concerns {N} high, {N} medium │
└──────────────────────────────────────────┘
output: .design/system/

Use plain text with Unicode box-drawing characters (┌──┐│└──┘) for the summary box. </process>

Security

  • Security scanPassed, 98 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
35
Repository forks
2
Repository npm downloads, 7 days
59
7-day trend score
31

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 17 May 2026, 5 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jubscodes/get-shit-pretty/gsp-design-system/badge)](https://verified-skill.com/skills/jubscodes/get-shit-pretty/gsp-design-system)

Something wrong with this skill or its page? Tell us.