project_info
Run 6-category diagnostics on a BackGen-generated project to verify Node.js, npm, .env, database connection, dependency integrity, file ownership, and manifest data. Use before or after changes to ensure valid state.
Instructions
Runs 6-category diagnostics on a BackGen-generated project and returns a structured report covering Node.js version, npm availability, .env configuration, database connection (Prisma/Drizzle/Mongoose), dependency integrity, file ownership classification, and manifest data from .backgenrc.json. Use this BEFORE or AFTER making changes to verify the project is in a valid state. Read-only — never modifies any files. For a focused health check with auto-fix capability, use doctor instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Absolute or relative path to the BackGen-generated project directory. Defaults to the current working directory. Must contain a valid .backgenrc.json file. Example: '/home/user/projects/my-api'. |