Documentation & refactoring · Document

DESIGN GEN

Create a practical design-system and UX reference for the current repository: tokens, components, layouts, interaction states, accessibility, content style, and implementation map.

Vibe Coding 1.3.0 · vibe-docs · English technical instructions

← Back to search

Use this workflow

Use this workflow in Codex or Claude Code with the free Vibe Coding plugin. Choose your assistant and prompt language, then add your task details after the prompt.

Operation

Create or update the requested canonical documentation from current repository evidence. Verify commands and paths; do not create missing product requirements.

Goal

Create a practical design-system and UX reference for the current repository: tokens, components, layouts, interaction states, accessibility, content style, and implementation map.

Inspect

UI source, components, style/theme files, tokens, CSS/Tailwind/config, Storybook/docs if present, design assets, screenshots/public assets, route/page structure, forms/tables/modals, i18n/copy, tests, generated artifacts, and existing docs.

Content rules

  • Prefer current source over stale docs.
  • Do not invent colors, components, layouts, breakpoints, or design principles not evidenced in the repo.
  • Separate direct evidence from inferred conventions; cite important source facts with path:line[-line] plus symbol when possible.
  • Keep guidance actionable for future implementation, not a marketing description.
  • Write in the repository’s dominant documentation language unless the user requests another language.

Markdown structure

Use sections that fit the repo and omit irrelevant ones: overview, design sources inspected, tokens, layout/responsiveness, components and variants, navigation/information architecture, forms and validation UI, tables/lists/data visualization, icons/assets/media, interaction states, accessibility, content style, implementation map, QA checklist, and open questions.

Keep the artifact scannable: one H1, H2/H3 hierarchy, compact lists, small tables for token/component matrices, and no placeholder sections.

Validation

After writing, verify references to files, classes, tokens, and components.

Workflow ID: design-gen · View the versioned source · Shared workflow and authority rules