speccraft.plan-foundationlisted
Install: claude install-skill RishabhSoftwarePrivateLimited/spec-craft
Read `spec/commands/speccraft.plan-foundation.md`, `spec/AGENTS.md`, and `spec/architecture/README.md` in full, then bootstrap this greenfield project's architecture foundation from the input.
Input: read the arguments the user supplied after invoking this skill as an optional leading `auto` token, then the business spec file path, then the quoted tech stack description (e.g. `spec/business/checkout/STORY-042.md "React + Vite frontend, Node/Express backend, Postgres via Prisma, REST API"` or `auto spec/business/checkout/STORY-042.md "..."`). `auto` present -> auto mode; absent -> interactive mode (default).
Rules before starting (interactive mode):
- confirm no real application code already exists for the layer(s) this BRD likely touches — if it does, stop and point to `/speccraft.onboard [path]` instead
- confirm `spec/architecture/ARCH-DECISIONS.md` does not already have real `AD-FRONTEND-*`/`AD-BACKEND-*` content — if it does, stop and point to a manual edit; this command does not re-lock an already-populated file
- confirm both arguments are present — do not draft from the BRD alone if the stack description is missing
- read the business spec and draft a Layer Scope recommendation (`frontend`/`backend`/`both`) with one line of rationale — never silently apply it, present for confirmation
- draft Tier 1 rows (`AD-FRONTEND-*`/`AD-BACKEND-*`/`AD-X-*`) with a `Source` column (`BRD` / `stated-stack` / `stack-convention`), Tier 2 `rules`/`skills` seed content staged under `sp