Skip to content

feat: modernize templates and integrate project-local skills - #52

Merged
caorushizi merged 7 commits into
masterfrom
codex/templates-shadcn-base-ui
Oct 2, 2026
Merged

caorushizi merged 7 commits into
masterfrom
codex/templates-shadcn-base-ui

Conversation

@caorushizi

@caorushizi caorushizi commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Generated projects keep their framework foundations while leaving authentication, user CRUD, and database selection to the application. One also installs project-local development guidance when creating workspaces and adding built-in templates.

  • Standardize React, Next.js, and Electron UI on shadcn's Base UI components and Base UI toast. Replace Astro/Starlight starters with a Next.js static website and localized Fumadocs documentation.
  • Split Electron into name-prefixed renderer, main, and preload projects under apps, services, and packages. Use Awilix function factories and guide Ubuntu sandbox configuration and desktop detection.
  • Simplify the API, web, Expo, and library starters by removing bundled authentication, user features, database defaults, and excess demos. Retain Drizzle/Gorm and the relevant SWR, Zustand, and MMKV foundations; Expo uses native styles.
  • Add one skills forwarding to the upstream Skills CLI, concise installation progress, common workspace skills, and template-scoped development skills. Maintain seven One adaptation skills alongside upstream guidance in the project's .agents/skills with portable lock sources and protection for user-managed files.
  • Update generated workspace guidance and bilingual CLI, Dashboard, and documentation content. Empty templates leave stack selection to the user, and business skills remain external and manually installed.

Validation: Linux static checks, tests, race coverage, template build verification, and documentation deployment passed on the current PR revision. Native Windows/macOS checks need to run again after the path assertion fixes are pushed.

Generate named renderer, main, and preload projects at the workspace root with group task aliases and shared dependency management. Update CLI creation, Dashboard previews, bilingual documentation, and tests.

Check sandbox permissions only on Ubuntu, generate reviewable AppArmor installation guidance, and detect the current user desktop before launching Electron.
Replace astro-site and starlight-docs with Next.js static website and
Fumadocs Base UI documentation templates, including bilingual pages and
static search. Update CLI, Dashboard, documentation, and retired-ID guidance.

Replace Sonner with Base UI Toast in React, Next.js, and Electron starters.
Remove Prometheus from API starters and replace Expo ahooks with useCallback.
Exclude generated Next.js agent metadata from the new template sources.

Validation: mise run check, mise run check:templates, new-template dev and
preview smoke checks, bilingual static search, and Expo authentication checks.
Add transparent skills command forwarding and template-scoped local installation with concise progress, portable sources, and seven One adaptation skills.

Simplify starters by removing bundled authentication, user features, database defaults, and excess demos while retaining the selected framework foundations.

Update workspace guidance, bilingual documentation, and validation coverage.
Copilot AI balanced review requested due to automatic review settings October 2, 2026 17:34
@vercel

vercel Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
one-cli-docs Ready Ready Preview Oct 2, 2026 6:43pm UTC

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Failed bundled-skill registration leaves state that automatic retries incorrectly treat as installed, and the PR scope substantially exceeds its stated migration.

Review effort: Balanced
Findings: 1 High severity · 1 Low severity

Open (2)
What changed in this PR

Modernizes built-in templates around Base UI while also replacing documentation/static-site starters, restructuring Electron, and adding automatic agent-skill installation.

Changes:

  • Migrates React, Next.js, and Electron UI primitives to Base UI.
  • Replaces Astro/Starlight templates with Next.js/Fumadocs static exports.
  • Adds curated skills, one skills, composite project support, and simplified starters.
File(s) Description
.agents/​skills/​** (174 files) Adds repository development skills.
Root configuration/​docs (5 files) Updates README, release/tooling configuration, ignores, and skill lock.
apps/​docs/​** (23 files) Documents templates and skills bilingually.
apps/​dashboard/​** (6 files) Supports composite project creation results.
packages/​agent-skills/​** (18 files) Adds One-specific stack guidance.
packages/​cli/​** (60 files) Implements skills installation, template groups, composite creation, tests, and resource synchronization.
packages/​templates/​electron-app/​** (98 files) Rebuilds Electron as renderer/main/preload projects.
packages/​templates/​nestjs-api/​** (70 files) Simplifies the NestJS starter.
packages/​templates/​expo-mobile/​** (57 files) Modernizes the Expo starter.
packages/​templates/​react-spa/​** (41 files) Migrates the SPA starter to Base UI.
packages/​templates/​fumadocs-docs/​** (37 files) Adds localized static Fumadocs documentation.
packages/​templates/​nextjs-app/​** (32 files) Migrates the Next.js application starter.
packages/​templates/​nextjs-site/​** (29 files) Adds a statically exported website starter.
packages/​templates/​go-api/​** (29 files) Simplifies Go API initialization and configuration.
packages/​templates/​astro-site/​** (21 files) Removes the retired Astro starter.
packages/​templates/​starlight-docs/​** (12 files) Removes the retired Starlight starter.
Other template files (8 files) Updates registry metadata and Go/TypeScript library examples.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/cli/internal/modules/skills/install.go
Comment thread README.md
@caorushizi caorushizi changed the title feat(templates): migrate shadcn components to Base UI feat: modernize templates and integrate project-local skills Oct 2, 2026
Retry unregistered development skills when their files still match the bundled sources, while preserving team modifications and completed registrations.

Compare directory identity in Runner and Electron tests and cover directory aliases and partial registration failures.
@caorushizi
caorushizi merged commit aaea704 into master Oct 2, 2026
8 checks passed
@caorushizi
caorushizi deleted the codex/templates-shadcn-base-ui branch October 2, 2026 18:53

This branch was successfully deployed

1 active deployment
Preview — 3444cd36 Deployed Oct 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants