get-design-references

Search and retrieve highly curated frontend design references. Use this skill when creating or refactoring components, pages, or design systems.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "get-design-references" with this command: npx skills add colicit/get-design-references/colicit-get-design-references-get-design-references

Get Design References (GDR)

Semantically search Colicit's curated database of frontend design references. Returns React + Tailwind code snippets and labelled images.

Artifact Types

  • Primitives — Atomic components (buttons, inputs, toggles, date pickers).
  • Patterns — Compositions of primitives (card, sidebar, navbar).
  • Views — Complete layouts (hero section, pricing page, analytics dashboard).
  • Design Systems — Cohesive token sets (color palettes, font pairings, spacing scales).

Artifacts from the same source share a collection_id.

Search Modes

  1. Semantic search — Describe what you need by function and style. Returns the closest matches ranked by similarity.
  2. ID lookup — Fetch a specific artifact by its UUID.

Setup

Use the GDR CLI:

# Install once (fastest repeated usage)
npm install -g @colicit/gdr-cli@latest

# Or run ad-hoc without global install
npx -y -p @colicit/gdr-cli@latest gdr --help

Authentication

The CLI reads API keys in this order:

  1. GET_DESIGN_REFERENCES_API_KEY in environment
  2. .env.local in the project directory
  3. .env in the project directory

For local projects, users typically store the key in .env.local:

GET_DESIGN_REFERENCES_API_KEY=<your-key>

Before any search/get command, verify auth:

gdr auth doctor --json
gdr auth status --json

If auth is unresolved, stop and ask the user to set GET_DESIGN_REFERENCES_API_KEY in environment or add it to .env.local/.env. They can go to https://www.colicit.com to get their API key. Do not extract secrets with grep/cut or print them to logs.

Ephemeral Reference Workspace

Use a temporary .references directory in the project root for each retrieval run.

  • Start each run with rm -rf .references && mkdir -p .references to clear stale artifacts.
  • Store raw CLI responses as JSON in .references (for example .references/results.json).
  • Extract reusable reference code snippets as .references/ref-<n>.txt (use .txt, not .tsx).
  • Add trap 'rm -rf .references' EXIT INT TERM HUP so cleanup runs automatically.
  • Before finishing the task, ensure .references is removed.

Workflow

  1. Ensure gdr CLI is available (gdr --help or use npx -y -p @colicit/gdr-cli@latest gdr ...).
  2. Run from the project root (or pass --project-dir <path>), then run gdr auth status --json.
  3. Read reference.md for command examples.
  4. Initialize ephemeral workspace: rm -rf .references && mkdir -p .references and trap 'rm -rf .references' EXIT INT TERM HUP.
  5. Identify the artifact type that matches the need (primitive, pattern, view, or design system).
  6. Craft a concise functional_description (what it is / what it does) and style_description (how it looks).
  7. Run the relevant gdr ... --json command and save output to .references/results.json.
  8. Extract each returned .code field into .references/ref-<n>.txt for repeated reference as you work on the task.
  9. Read interpretation.md and apply its fidelity-first approach to reference usage.
  10. Optionally, use gdr collections get --collection-id <uuid> --json to discover related artifacts from the same collection.
  11. Remove .references before finishing the task (trap should also handle this automatically).

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated
General

asr

Transcribe audio files to text using local speech recognition. Triggers on: "转录", "transcribe", "语音转文字", "ASR", "识别音频", "把这段音频转成文字".

Archived SourceRecently Updated
General

axure-prototype-generator

Axure 原型代码生成器 - 输出 JavaScript 格式 HTML 代码,支持内联框架直接加载可交互原型

Archived SourceRecently Updated