Slice · AI prompt
Lays the OS out as a guided path of stages — reads the LIVE app catalog (drift-proof), every tile opens the real app.
# Install `start-here` — Start Here — guided OS onboarding tour
> Lays the OS out as a guided path of stages — reads the LIVE app catalog (drift-proof), every tile opens the real app.
📚 Knowledge base : https://resource.rahmanef.com/llms.txt
📦 Slice detail : https://resource.rahmanef.com/slices/start-here
🧠 JSON catalog : https://resource.rahmanef.com/api/knowledge?slice=start-here
🔗 Source : https://github.com/rahmanef63/resource-site/tree/main/frontend/slices/start-here
## 1. Install
```bash
npx rahman-resources add start-here
# alias: npx rr add start-here
```
The CLI copies `frontend/slices/start-here/` into your project + augments `.env.example` + installs npm deps automatically. Run it from your project root.
## 2. What it ships
- npm: `lucide-react`
- shadcn primitives: `button`, `scroll-area`
## 3. Wire it up
Stack: Next 16 + React 19 + Tailwind 4 + shadcn/ui. A guided onboarding tour that renders your live app catalog as a path of stages. Fully client-side; the catalog is injected.
STEP 1 — Install. `npx rr add start-here`. Ensure `@/features/start-here` resolves and Tailwind scans the slice folder.
STEP 2 — Deps. npm: `lucide-react`. shadcn: `npx shadcn@latest add button scroll-area`.
STEP 3 — Mount. `<StartHere />` in a height-bearing box — unwired it reads an in-memory mock catalog (generic apps + 3 stages) so the tour is fully alive. Or register `startHereApp` in an appshell manifest.
STEP 4 — Real catalog. `configureStartHere({ mode:"live", apps, open, stages })` — apps is your live registry as [{ id, title, icon, description? }]; open(id) launches the real app/window; stages is [{ title, blurb, appIds }] (apps not placed fall into a final "Everything else" stage). Drift-proof: read the registry, never hardcode the list.
## Rules of engagement
- shadcn-only UI primitives. No raw `<button>` / `<dialog>` / native date or file inputs.
- 200-line hard cap per source file (extract neighbours when over).
- All Convex queries hit an index (`.withIndex(...)`); never bare `.collect()`.
- Public mutations/queries declare `args:` validators + authz.
- Full ruleset: https://resource.rahmanef.com/best-practice
The agent will fetch /llms.txt for the full ruleset and use /api/knowledge for the JSON catalog.