BuilderIO/agent-native / .agents/skills/build-an-app
build-an-app
VerifiedFast end-to-end workflow for turning this starter into a working domain app from a short or vague request. Use when asked to build, make, create, or prototype an app, tool, tracker, dashboard, booking, inventory, or CRM system with Agent-Native. Read before the first edit.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.6 KB |
| references/data-and-access.md | markdown | 6.9 KB |
| references/edit-points-chat.md | markdown | 2.7 KB |
| references/edit-points-default.md | markdown | 2.5 KB |
| references/rooms-example.md | markdown | 32.8 KB |
| references/verification.md | markdown | 8.2 KB |
references/edit-points-chat.md
View on GitHub# Chat starter edit points
Use only when `package.json["agent-native"].scaffold.template` is `chat`.
The Chat starter keeps `/home` and `/chat/*` as its full-page chat surface.
| File | Change |
| -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `server/db/schema.ts` (new) | PostgreSQL tables built with `drizzle-orm/pg-core`; import sharing helpers from `@agent-native/core/db/schema` |
| `server/db/index.ts` (new) | Export `getDb = createGetDb(schema)` and register each shareable resource |
| `server/plugins/db.ts` (new) | Add named, additive migrations with `runMigrations` |
| `actions/<verb>-<noun>.ts` | One default-exported `defineAction` per file; the filename becomes the tool name |
| `app/routes/<domain>.tsx`, `<domain>._index.tsx`, `<domain>.$id.tsx` | Add a nested route layout with `<Outlet />`, index, and detail routes |
| `app/components/layout/Sidebar.tsx` | Add a static `<Link>` inside `<nav>` before `<ChatThreadsSection />` |
| `app/hooks/use-navigation-state.ts` | Add domain route and selected URL ids while preserving the `chat` view fallback |
| `server/plugins/agent-chat.ts` | Add primary actions to `INITIAL_TOOL_NAMES`; make the system prompt's first sentence domain-specific and keep `appId` |
| `server/plugins/agent-native-email-branding.ts` | Set `app.homePath` to the domain route; if absent, add a server plugin using `defineAppConfig` from `@agent-native/core/server` |
| `AGENTS.md` | Add a concise domain section with the new routes, invariants, state, and primary actions |
Do not replace or restyle `app/routes/home.tsx`,
`app/routes/chat.$threadId.tsx`, `Layout.tsx`, or `root.tsx` to make room for
the domain. Keep the Chat sidebar, header, and AgentInspector.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 470k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |