create-next-imagicma 0.1.14 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template-hono/AGENTS.md +8 -0
package/package.json
CHANGED
package/template-hono/AGENTS.md
CHANGED
|
@@ -40,6 +40,14 @@ All design artifacts are stored under `docs/designer/`:
|
|
|
40
40
|
|
|
41
41
|
**Critical**: The homepage must never ship blank. `client/src/pages/home.tsx` should render visible, meaningful content on first load, not hidden placeholders or empty shells.
|
|
42
42
|
|
|
43
|
+
## Development Preparation
|
|
44
|
+
|
|
45
|
+
Before starting development, agents must confirm the database connection with the user by using `question`. Ask for the PostgreSQL connection string that should be used locally, for example:
|
|
46
|
+
|
|
47
|
+
- `DATABASE_URL="postgresql://postgres:password@127.0.0.1:5432/hono_app"`
|
|
48
|
+
|
|
49
|
+
Do not assume the database host, port, username, password, or database name. After the user confirms the value, place it in `.env.local` (or ensure it is already available in the environment) before running database-related work such as `pnpm db:push`, server development, or any feature that depends on persistence.
|
|
50
|
+
|
|
43
51
|
## Build, Test, and Development Commands
|
|
44
52
|
|
|
45
53
|
- `restart_workflow`: required agent entrypoint for restarting dev services; do not call `pnpm dev` directly
|