modelscope.cn

superdesign-prompt-library

Query and retrieve Superdesign prompt-library entries (style prompts, layout prompts, and component prompts) from a local JSONL export. Use when you need reusable UI prompt building blocks or want to extract all prompts for a style/category/slug.

Installation

$ npx skills add https://modelscope.cn

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,891 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Superdesign Prompt Library

Local exported prompt library with 355 entries.

Data Files

  • references/superdesign-prompts.jsonl - normalized prompt entries
  • references/summary.txt - fetch metadata + counts

Query Commands

Find by slug/title/tag

rg -n "mosaic-grid-architecture-style|Mosaic Grid" ~/.agents/skills-db/design-ux/superdesign-prompt-library/references/superdesign-prompts.jsonl
jq -c 'select(.slug=="mosaic-grid-architecture-style")' ~/.agents/skills-db/design-ux/superdesign-prompt-library/references/superdesign-prompts.jsonl

Extract only style prompts

jq -r 'select(.style_prompt!=null) | [.slug,.style_prompt] | @tsv' ~/.agents/skills-db/design-ux/superdesign-prompt-library/references/superdesign-prompts.jsonl

Extract all layout prompts for one entry

jq -r 'select(.slug=="mosaic-grid-architecture-style") | .layout_prompts[]?.prompt' ~/.agents/skills-db/design-ux/superdesign-prompt-library/references/superdesign-prompts.jsonl

Export flat prompt corpus

jq -r '[.summary_prompt,.style_prompt, (.layout_prompts[]?.prompt), (.special_component_prompts[]?.prompt)] | .[] | select(.!=null)' ~/.agents/skills-db/design-ux/superdesign-prompt-library/references/superdesign-prompts.jsonl > /tmp/superdesign-all-prompts.txt

Record Shape

Each JSONL record contains:

  • id, slug, title, description, tags
  • summary_prompt
  • style_prompt
  • layout_prompts[] (part, prompt)
  • specialcomponentprompts[] (component, prompt)
  • rawpromptjson

Technique Map

  • rg + jq for slug/title/tag lookup — Fast local search without loading full corpus; because 355 entries; grep beats parse-all.
  • jq select(.style_prompt!=null) — Extract only style prompts; because layout/component prompts differ in structure.
  • jq for layout_prompts[]?.prompt — Per-entry layout extraction; because nested structure needs explicit path.
  • Flat export to file — summaryprompt, styleprompt, layoutprompts, componentprompts concatenated; because LLM ingestion often needs flat corpus.
  • Record shape awareness — id, slug, title, description, tags, summaryprompt, styleprompt, layoutprompts, specialcomponent_prompts; because query patterns depend on structure.

Technique Notes

Data: references/superdesign-prompts.jsonl, references/summary.txt. Path: ~/.agents/skills-db/design-ux/superdesign-prompt-library/references/. Use jq -c for single record, jq -r for tab/newline output. Triggers: superdesign, design prompt, prompt library, mosaic.


Prompt Architect Overlay

Role Definition: Superdesign prompt library query tool. Retrieves style, layout, and component prompts from local JSONL export. Provides reusable UI prompt building blocks.

Input Contract: Accepts slug, title, tag, or category query. Style/layout/component extraction request. "Extract all prompts for X" or "get prompts for style/category."

Output Contract: JSONL records or extracted prompt text. jq/rg command examples for self-service. Record structure (id, slug, styleprompt, layoutprompts, etc.). Flat export when requested.

Edge Cases & Fallbacks: If slug not found→suggest rg partial match or list available slugs. If structure unclear→show record shape. If path wrong→use ~/.agents/skills-db/design-ux/superdesign-prompt-library/references/.