Explain pREST config
When to use
- User pastes
prest.toml, env dump, or Compose config - User asks what a setting means or whether something is safe
- User wants a migration-oriented summary (v1 → v2)
Instructions
Read the provided config carefully. Ask for missing related files only if needed (
.env,queries/, Compose).Summarize in this order:
- Runtime — HTTP host/port, debug mode
- Database — single vs multi (
pg.single,[[databases]]aliases), SSL, connection source (TOML vsDATABASE_URL) - Queries —
queries.locationand notable SQL routes if present - Auth — JWT (
jwt.default, keys/JWKS),/authtable login - Authorization —
access.restrict, table permissions, user-level rules - Exposure —
/databases|/schemas|/tableslisting controls - Cache / other — only if present
Call out risks and suggested improvements (secrets in plaintext, public write, debug enabled).
Do not invent fields that are not in the file; say when something is using defaults.
Prefer accurate docs language; link https://docs.prestd.com/get-started/configuring-prest when recommending changes.
Output format
- Short overview (what this deployment is for)
- Sectioned explanation
- Risks & improvements (bullets)
- Optional next steps (skills:
review-security,generate-sql-route,setup-mcp)