scaffoldlisted
Install: claude install-skill samuel-stidham/smithy
# /foundry:scaffold
Generate a complete, real, working Clean Architecture project in the
current directory, or a new subdirectory the user confirms when the
directory is non-empty. Every file must compile, run, and pass as
written. No placeholder comments standing in for logic.
Follow the `forge:clean-architecture` skill for layering, naming, and
the fitness test. Follow the `forge:clean-code` skill inside layers.
This plugin requires forge.
## Arguments
`$ARGUMENTS` is `{language} {project-type}` plus optional flags. Ask
when either is missing or ambiguous. Never guess.
Project types and their shapes live in
[project-types.md](project-types.md). Read it before generating.
Language is unrestricted: use the named language's real idioms,
package manager, test framework, and conventional layout.
## Infrastructure with --infra
Opt-in only. `--infra opentofu` follows the
`infrastructure-as-code` skill as the source of truth for the
`infra/` layout, modules, providers, state, and secrets. `--provider`
is then required: `aws`, `gcp`, or `digitalocean`. The only accepted
`--infra` value is `opentofu`. If the user passes `terraform`, explain
that the foundry uses OpenTofu and continue.
Generate the minimum the project needs. Wire `infra/` to the generated
Dockerfile. Add a deploy stage to the CI pipeline.
## Every project includes
1. Layered structure per `forge:clean-architecture`, in the
language's idiomatic directory names. The `web-app` type follows
its framework i