Add a second template
Add another template to the workspace.
Add another template to the workspace.
The delta
Section titled “The delta”template-kit new <name>new creates templates/<name>/ as a working starter template — the same
starter shape a fresh workspace ships (a text slot, an image slot, a
fact-bound slot, an option, fixtures, a fill spec, a components/ folder, a
"use client" island, theme.ts/theme.css, manifest.json) — and it
already passes check as-is. Edit its sections from there.
A template is a plain folder under templates/. Adding one does not
duplicate anything: every template in the workspace shares the same kit
version, the same root package.json/lockfile, and the same
tsconfig.json/ESLint config. There is nothing per-template to configure
beyond the folder itself.
new refuses to overwrite an existing templates/<name>/ folder.
Commands
Section titled “Commands”template-kit new <name>template-kit check <name>Verify
Section titled “Verify”Verify with the author loop — a freshly created template is check-clean before you change a line.
See also
Section titled “See also”- Adding templates and sections — the full command, including
new-sectionfor adding a section within a template. - Check — the gate every template (new or edited) must pass.