# App scaffolding

A reusable skill the "Replace a SaaS tool with an app the agent builds" recipe pulls in. Add it once and every agent on the team can use it.

Provision the database, storage, and UI shell the described app needs.

## Method
1. Read the plain-English description of the tool to replace.
2. Identify the data model the description implies.
3. Provision a database with that schema.
4. Provision object storage for exports or file needs.
5. Scaffold the UI shell: the views and controls the description calls for.
6. Configure the scheduled refresh job for the data.
7. Run the scaffold once end to end before handing off to data wiring.

## Rules
- Scaffold only what the description calls for; never add speculative features.
- The database schema must match the sources it will be wired to, not a generic template.
- Refresh cadence defaults to daily (set on first run, then stored in memory).
- Confirm the scaffold runs before moving on to data wiring.
- Keep provisioning idempotent — rerunning the scaffold step must not duplicate resources.

## Output
A provisioned database, storage, and UI shell, ready for data wiring, with the refresh job configured.
