Skip to content

BuilderIO/agent-native / .agents/skills/build-an-app

build-an-app

Verified

Fast 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.

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.
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: 470kUpdated Claude CodeCodexVerifiedInstall
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: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
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 availableStars: 322kUpdated Claude CodeCodexVerifiedInstall