Langsung ke konten
Skillpedia
Antarmuka (UI/UX)48k Β· #6048

ui-tokens

Fungsinya

Alat ini membantu mengelola 'token' desain, yaitu seperti balok penyusun untuk tampilan website atau aplikasi. Anda bisa melihat, menambah, atau mengubah balok-balok tersebut.

Kapan dipakai

  • βœ“Ketika Anda ingin melihat semua balok warna yang tersedia.
  • βœ“Ketika Anda perlu menambahkan ukuran spasi baru.
  • βœ“Ketika Anda ingin mengubah warna sebuah tombol.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-tokens/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-tokens/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTampilkan semua token warna.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Alat ini memperbarui file khusus (JSON) yang berisi definisinya, serta kode yang dipakai website (CSS) agar perubahannya langsung terlihat.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Design Token Manager

When to Use

Use this skill when you need view, add, or modify design tokens in the StyleSeed design system.

When NOT to use

  • For applying tokens in components β†’ use /ss-component or /ss-pattern
  • For finding token violations in existing code β†’ use /ss-lint
  • For brand-wide color/font choices that don't exist yet β€” define a skin first, then add tokens
  • For non-CSS token systems (Figma, native iOS/Android) β€” Tailwind v4 / CSS variables only

Action: $0 | Token type: $1 Arguments: $ARGUMENTS

Token File Locations

Type JSON Source CSS Implementation
Colors tokens/colors.json css/theme.css :root + @theme inline
Typography tokens/typography.json css/fonts.css + css/base.css
Spacing tokens/spacing.json Tailwind utilities (no custom CSS needed)
Radius tokens/radii.json css/theme.css @theme inline
Shadows tokens/shadows.json css/theme.css :root

Instructions

list β€” Show current tokens

Read and display the requested token file in a formatted table.

add β€” Add new token

  1. Add the token to the JSON source file (tokens/*.json)
  2. Add the CSS custom property to css/theme.css under :root
  3. If it needs a Tailwind utility, add to the @theme inline block
  4. If it has a dark mode variant, add to the .dark block

update β€” Modify existing token

  1. Update the value in the JSON source file
  2. Update the CSS custom property in theme.css
  3. Check all components for direct usage that might need updating

Rules

  • Always keep JSON and CSS in sync
  • Use semantic names, not descriptive names (--success not --green-500)
  • Colors should support both light and dark modes
  • New tokens must be added to BOTH the JSON source AND the CSS implementation

Example

User request:

Review this interface with @ui-tokens, identify the highest-impact design problems, and propose an implementation-ready improvement.

Limitations

  • Use this skill only when the task clearly matches its upstream source and local project context.
  • Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
  • Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
Pertanyaan umum

Apa itu design token?

Design token adalah nilai yang dapat dipakai ulang, seperti warna, font, dan spasi, yang mendefinisikan identitas visual sebuah proyek.

Bisakah saya memakai alat ini untuk mengubah font?

Bisa. Anda bisa mengelola token tipografi (font).

Apa maksud 'keep JSON and CSS in sync'?

Artinya definisi di file data (JSON) dan implementasinya di kode website (CSS) harus selalu sama.

Detail

Deskripsi asli dari pembuat

View, add, or modify design tokens in the StyleSeed design system

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#6048
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa