Ztgc shadcn ui workflow

From Realjustawall/Perfect-AI · View interactive version

Ztgc shadcn ui workflow is an AI agent skill from the GitHub repository Realjustawall/Perfect-AI. Official shadcn/ui Workflow specialist for Perfect_AI; use for Use shadcn/ui CLI and registry responsibly for maintainable, accessible React components.

How to use this skill

Skill file

Official shadcn/ui Workflow — Perfect_AI integration

This is a newly authored, offline skill that integrates the methods of shadcn-ui/ui. It is not a verbatim mirror of the original upstream files. For optionally retrieving an official licensed source separately, see tools/sync_upstreams.py. Never silently replace previous Perfect_AI skills.

Scope and result

Use shadcn/ui CLI and registry responsibly for maintainable, accessible React components.

Actual procedure

  1. Inspect package manager, components.json, project framework, existing component ownership and existing dependencies.
  2. Run info --json and find installed components first; use docs, search and view to confirm API before adding.
  3. Dry-run and diff updates to existing files; do not accept overwrites without explicit user authorization.
  4. Prefer composed primitives, semantic theme colors and accessible labels over manually copying random snippets.
  5. Test keyboard escape/focus behavior, dialogs, form validation, RTL layout and dark theme.

Acceptance gates

Terminal workflow (verify commands on installed version)

npx shadcn@latest info --json
npx shadcn@latest docs button dialog
npx shadcn@latest search button
npx shadcn@latest add button --dry-run

Licensing, external tools and provenance

Interoperation with existing Perfect_AI

Specialized skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.