install-sections - Build pages with shadcnblocks sections and i18n
Installs shadcnblocks sections in order, creates page files, extracts hardcoded text to translation files, and implements i18n with useTranslations.
Tags
Updated: 2026-09-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Install new shadcnblocks sections
- Create or update page files
- Import installed section components
- Arrange section components in order
- Extract hardcoded text from sections
- Add text to translation files
- Implement useTranslations in components
- Reuse existing section components
Inputs
- Page route
- List of sections to install
- Existing component files
- Translation JSON files
Outputs
- Installed components in components/
- Page file in app/[locale]/[route]/page.tsx
- Updated text in messages/de.json
- Updated text in messages/en.json
- Components configured with useTranslations
Requirements
- pnpm package manager
- shadcn CLI
- Next.js App Router
- next-intl package
