Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ui Build?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/qdevmahesh-ui-build)
---
name: ui-build
description: Compile Next.js frontend into static production assets and synchronize with internal/ui/dist for Go binary embedding.
---
# UI Build Skill
Use this skill whenever modifying frontend code in `web/` to ensure the embedded Go server distributes the latest compiled dashboard.
## Procedure
1. **Navigate to web directory:**
```bash
cd web
```
2. **Verify TypeScript Compilation:**
```bash
npx tsc --noEmit
```
3. **Compile Static Export and Sync Assets:**
```bash
npm run build
```
This command executes Next.js static build to `web/out/` and copies production assets to `../internal/ui/dist/`.
4. **Verify Embedded Server:**
```bash
cd ..
go test -v ./internal/ui
```