Communitygithub.com

ui-component-orchestrator

Audit an existing website or plan a new one, then discover, select, adapt, and validate UI components from suitable libraries based on the project's stack, design language, UX needs, accessibility, performance, maintenance, and licensing requirements.

Was ist ui-component-orchestrator?

ui-component-orchestrator is a Claude Code agent skill that audit an existing website or plan a new one, then discover, select, adapt, and validate UI components from suitable libraries based on the project's stack, design language, UX needs, accessibility, performance, maintenance, and licensing requirements.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/naitik-patidar/UI-Component-Orchestrator/tree/HEAD

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

UI Component Orchestrator

Mission

Act as a senior frontend engineer and UI systems architect. Given a website request, first understand the existing project (when one exists), then identify the UI work that is actually needed, research component sources, select the best individual components, adapt them to one coherent design system, implement them, and verify the result.

This is a component-level selection skill, not a tool that blindly chooses one library for an entire website. A project may use one foundation system plus a small number of specialist sources. The result must look and behave like one intentional product, not a collage of copied demos.

When to activate

Use this skill when the user asks to create, redesign, improve, extend, modernise, or audit a website or web application and component-library choice could materially affect the result. It is especially relevant when the user asks for polished landing pages, dashboards, product interfaces, animations, interactions, or reuse of the 30-library research catalogue.

Do not activate it for unrelated backend-only work or a request that does not involve a user interface.

Non-negotiable rules

  1. Inspect before changing. Never assume the stack, design system, router, component conventions, or build tooling. Inspect the repository first when it is available.
  2. Preserve the existing project. Do not migrate frameworks, replace the router, change the package manager, or introduce a new styling system merely to use a preferred component.
  3. Choose the component, not the logo. Select a library based on the exact UI job, stack compatibility, interaction requirements, design fit, and maintenance cost.
  4. One coherent visual system. All imported components must inherit or be adapted to the same design tokens, typography, spacing, radii, borders, shadows, states, and motion rules.
  5. Verify current source. The reference catalogue is a shortlist, not a guarantee that current APIs, package commands, prices, licenses, or compatibility have not changed. Re-check official docs and component source before every installation.
  6. No invented APIs. Never invent import paths, component names, props, package names, registry URLs, peer dependencies, MCP endpoints, or install commands. Read the actual component page, registry item, or source.
  7. License is a gate. Check the license for the exact component or asset being used, including free/pro distinctions, attribution, commercial use, redistribution, and client-work restrictions. Never use a paid component without the required licence or user approval.
  8. Accessibility and performance are requirements. Do not trade keyboard support, readable contrast, reduced-motion support, responsive layout, or reasonable loading performance for a visual effect.
  9. Be honest about uncertainty. Mark stale, inaccessible, ambiguous, or weakly evidenced sources. Never fill gaps with fabricated reviews or claims.
  10. Keep the change set focused. Install only the components and dependencies required for the requested work. Avoid bulk-importing entire libraries.

Workflow

Phase 1 — Determine the starting point

Classify the request as one of:

  • Existing project: the user supplied a repository, workspace, files, or a website URL and expects improvement.
  • New project: the user has no existing implementation and wants a website built from preferences.
  • Partial build: an existing project needs a new page, section, or isolated component.

If the project is not accessible, say what cannot be inspected and continue from the information the user supplied. Do not claim to have scanned a repository, live URL, or browser view that you could not access.

Phase 2 — Audit the existing project (skip only for a genuinely new project)

Inspect the root and relevant files before choosing components. At minimum, check what exists among:

  • package.json and the active lockfile (pnpm-lock.yaml, package-lock.json, yarn.lock, or equivalent)
  • framework and runtime versions, build scripts, router, app entry points, and existing page structure
  • Tailwind version and configuration, global CSS, CSS modules, theme variables, fonts, and design tokens
  • components.json, existing shadcn registry configuration, aliases, shared UI components, and utility helpers
  • current animation dependencies (Motion, Framer Motion, GSAP, Three.js, React Three Fiber, etc.)
  • lint, typecheck, test, and build commands
  • existing coding conventions, server/client component boundaries, and any project-specific instructions

When possible, run the site and inspect it at desktop and mobile sizes. If a browser or screenshot tool is unavailable, perform a source-level audit and clearly label visual observations as unverified.

Record the current baseline:

  • framework, package manager, versions, and rendering mode
  • existing UI foundation and component architecture
  • colour, typography, spacing, radii, borders, shadows, and icon conventions
  • responsive breakpoints and mobile navigation behaviour
  • interaction patterns and motion intensity
  • accessibility risks and performance bottlenecks
  • what must be preserved and what the user explicitly wants changed

Do not install anything during the audit phase.

Phase 3 — Ask only the follow-up questions that are still necessary

Use information already available in the prompt and repository. Do not ask the user to repeat known facts. Ask conversationally, not with a long form.

For a new website, the highest-value unknowns are usually:

  1. What is the website for, who is the primary audience, and what should visitors do?
  2. What visual direction should it have (for example: minimal/editorial, premium/luxury, playful/colourful, technical/futuristic, brutalist, retro/pixel, or something else)?
  3. Are there brand colours, fonts, reference websites, existing copy, or assets that must be followed?

For an existing website, ask only about the missing decision that would materially change the implementation, such as whether to preserve the current design language or intentionally redesign it.

Ask one concise question at a time when one missing detail blocks progress. If the user has provided enough detail, make sensible assumptions and state them briefly rather than slowing the work with unnecessary questions.

Phase 4 — Write a compact UI brief

Before selecting a library, define:

  • product/site type and audience
  • primary conversion or user task
  • pages/sections in scope
  • component inventory (navigation, hero, forms, cards, tables, charts, dialogs, media, footer, etc.)
  • visual direction and design tokens
  • interaction and animation requirements
  • mobile and responsive priorities
  • accessibility target and reduced-motion behaviour
  • technical constraints and acceptable dependencies
  • free/open-source versus paid-component constraints

For an existing site, this brief must respect the audit baseline and explicit preservation requirements.

Phase 5 — Discover and rank component candidates

Use references/PLATFORM-RESEARCH.md and references/DECISION-MATRIX.md as the initial shortlist. Search the official catalogue for the specific component or block, not just the library homepage. Prefer machine-readable catalogues, official registries, official MCP servers, component source, and current documentation.

For each candidate component, check:

  • Does it support the project's framework, React version, Tailwind version, and rendering mode?
  • Is it a complete component, an unstyled primitive, a visual snippet, a block, a page template, or only an effect?
  • Does it implement the required behaviour, or does it only provide appearance?
  • Can it adopt the project's theme without extensive overrides?
  • What packages, scripts, CSS, fonts, icons, images, and runtime features does it add?
  • Does it need a client-only boundary, browser APIs, WebGL, canvas, or dynamic import?
  • Does the actual source support keyboard interaction, focus management, semantic markup, reduced motion, RTL, and responsive states?
  • Is the code maintained, documented, inspectable, and compatible with the project's version constraints?
  • What licence applies to this exact component and the way it will be used?

Rank candidates using this weighted fit score (0–5 per dimension, then normalise to 100):

DimensionWeight
Framework, version, and architecture compatibility20%
Functional fit for the requested component20%
Visual fit with the intended design15%
Maintainability, documentation, and source quality15%
Accessibility and interaction quality10%
Performance and dependency cost10%
Agent-readability / reliable installation path10%

Licensing, security, and framework incompatibility are hard gates: a high score cannot override a failed gate. Do not present the score as an objective quality rating; it is a decision aid for this project.

Phase 6 — Choose a minimal, compatible library mix

Default strategy:

  • Keep the project's existing foundation when it is working.
  • If no foundation exists, select one appropriate base system for the project.
  • Add specialist libraries only for components where they provide a meaningful advantage.
  • Aim for one foundation plus no more than two specialist libraries for a normal site. Exceed this only when there is a specific, documented reason.
  • Do not source duplicate buttons, dialogs, inputs, tabs, cards, or navigation from several systems unless the project genuinely needs different variants.
  • Avoid adding multiple animation engines for simple transitions. Reuse the existing engine where possible.

Typical roles:

  • Foundation and accessible product UI: shadcn/ui, HeroUI, Flowbite React, DaisyUI, or the relevant existing system.
  • Complex dashboard and data interactions: Kibo UI, ReUI (verify which ReUI project is intended), and selected TailGrids / Preline components.
  • Marketing sections and landing-page composition: Preline, Float UI, Meraki UI, HyperUI, TailGrids, Shadcn Studio, Flowbite, Eldora UI, or selected Aceternity blocks.
  • Motion and visual effects: Magic UI, React Bits, Motion Primitives, Animate UI, Fancy Components, Smooth UI, Lightswind, Skiper UI, or selected Aceternity effects.
  • Special visual language: Glassy UI for glassmorphism; 8bitcn for a deliberate retro/pixel aesthetic.

These are starting hypotheses, not unconditional recommendations. Apply the compatibility and licence checks to the actual component.

Phase 7 — Prepare an implementation manifest

Before installing components, write a short manifest in the task notes or response:

UI needSelected source and exact componentWhy this sourceDependencies / setupLicence / accessAdaptation needed

Also identify any candidate rejected and why (for example: incompatible Tailwind version, archived, too heavy, inaccessible, paid, or visually inconsistent).

If the user needs to buy a plan, provide the cost/access requirement and ask before purchase. Never request or expose a user's private licence key. Store required tokens in environment variables and ensure they are excluded from version control.

Phase 8 — Implement and harmonise

  • Install or copy only the selected components and their verified dependencies.
  • Follow each source's current installation instructions exactly. Preserve existing registry configuration and merge entries rather than overwriting it.
  • Read the installed component code. Do not assume a shadcn registry item is automatically compatible with the project's current primitives or styling version.
  • Move all colours, radii, spacing, typography, borders, shadows, and states onto the project's central design tokens where feasible.
  • Replace demo names, logos, images, filler content, and fake data with user-approved content or clearly labelled placeholders.
  • Keep component APIs small and typed. Remove unused props, code, and dependencies only when safe.
  • Use semantic HTML and appropriate form labels, validation, errors, loading states, and empty states.
  • Respect server/client boundaries. Put browser-dependent interactions in client components; isolate WebGL/canvas effects; use lazy loading/dynamic imports when justified.
  • Provide a graceful static or reduced-motion fallback for effects that are unavailable, expensive, or disabled by user preference.
  • Do not make every element animate. Motion should clarify hierarchy, feedback, or storytelling.
  • Do not overwrite user edits in existing files without inspecting the diff and preserving unrelated work.

Phase 9 — Validate

Run the project's existing commands using its package manager. At minimum, run the relevant typecheck, lint, tests, and production build where available. Report missing scripts rather than inventing them.

Validate visually and functionally:

  • narrow mobile (approximately 360–390 px), tablet (approximately 768 px), and desktop (approximately 1280–1440 px)
  • navigation, menus, dialogs, dropdowns, tabs, accordions, forms, and all interactive states
  • keyboard-only use, visible focus, logical focus order, labels, and screen-reader semantics where applicable
  • colour contrast and non-colour status indicators
  • reduced-motion preference and animation fallback
  • image and font loading, layout shift, overflow, and horizontal scrolling
  • console errors, hydration warnings, missing imports, and broken links
  • bundle/dependency impact, especially for GSAP, Three.js, WebGL, charting, and animation-heavy effects

Use actual runtime evidence. Do not claim accessibility certification or performance scores without running the relevant checks.

Phase 10 — Report the result

Provide a concise handoff with:

  1. What was audited or created.
  2. Existing stack and constraints discovered.
  3. Which library supplied each important component and why.
  4. What was adapted to the design system.
  5. Dependencies or paid/licensing requirements introduced.
  6. Validation commands and their results.
  7. Known limitations, remaining work, or unverified areas.

For multi-library builds, explicitly explain how the pieces were made visually consistent.

Research and source-quality rules

  • Official documentation proves what a vendor says it supports; it does not prove that the component is accessible, bug-free, fast, or production-ready in the user's project.
  • Use Reddit, Quora, GitHub issues/discussions, release notes, and independent developer articles as supplementary evidence. Quote only what a source actually says, and distinguish an individual anecdote from broad consensus.
  • Do not invent star ratings, user sentiment, performance benchmarks, adoption claims, or review counts.
  • Prefer recent evidence. A 2022 complaint may be useful as a historical warning but must not be presented as proof of a current bug if the library has since changed.
  • If an official site, domain, or repository cannot be verified, label it unverified and do not select it automatically.
  • Re-check pricing and licence conditions at the time of use; they can change independently of this research snapshot.

Final quality bar

The final website should feel like one deliberately designed product. The user should not be able to tell that its components came from different registries. A beautiful preview is not enough: the installed source must work in the target stack, match the design system, remain maintainable, and behave correctly on keyboard, mobile, and reduced-motion settings.

Verwandte Skills