Repository navigation
Add a shadcn starter add-on - #27
Merged
Merged
Conversation
jiwon-oai
marked this pull request as ready for review
August 21, 2026 04:59
jiwon-oai
marked this pull request as draft
August 21, 2026 04:59
jiwon-oai
marked this pull request as ready for review
August 21, 2026 05:20
papayo-oai
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Add shadcn/ui as an optional
create-sitesadd-on so Sites can start new projects with a complete, locally owned component set.Changes
shadcnto thecreate-sitesadd-on catalogcomponents/uisource files (formis a fileless compatibility entry)use-mobilesupport hook, neutral CSS-variable theme, Geist fonts, and Lucide iconsui:addwrapper because the complete component set is already installedHow I tested
Repository checks
pnpm checkcreate-sitestests and 8sites-vite-plugintestsui:add, and deterministic outputBranch-local generated-project smoke test
@openai/create-sites@0.2.2--add-ons shadcn --installcomponents.json,lib/utils.ts,hooks/use-mobile.ts, the expected dependencies, and noui:addscriptnpm run buildnpx tsc --noEmitCodex plugin verification
Existing bundled skill / no add-on
codex execthat loaded the unchanged bundledsites:sites-buildingskillnpm create --yes @openai/sites@0.2.0 ... -- --yescommand; a test-only npm wrapper substituted the freshly packed branch0.2.2package without editing the skillAdd-ons: nonecomponents.json,components/ui,lib/utils.ts, shadcn dependencies, orui:addscriptnpm run buildnpx tsc --noEmitUpdated branch-test skill / shadcn add-on
codex execthat loaded the installed Sites Branch Test skillnpm create --yes @openai/sites@0.2.2 ... -- --yes --add-ons shadcn --installagainst the freshly packed branch packageAdd-ons: shadcncomponents/ui, the support hook and configuration files, the expected dependencies, and noui:addscript@/components/ui/...npm run buildnpx tsc --noEmit