Add a Template

Add a Template

Folder structure

Templates follow this structure:

templates/
  <language>/
    <category>/
      <library>/
        <template-id>/
          tempora.json
          README.md
          ... starter files

Example:

templates/typescript/frontend/nextjs/next-tailwind/

tempora.json

Every template needs a tempora.json:

{
  "id": "next-tailwind",
  "name": "Next.js + Tailwind",
  "language": "typescript",
  "category": "frontend",
  "library": "nextjs",
  "description": "Next.js 14 app router with Tailwind CSS preconfigured.",
  "tags": ["nextjs", "tailwind", "typescript"],
  "version": "1.0.0",
  "nextSteps": ["pnpm install", "pnpm dev"]
}
FieldRequiredDescription
idUnique kebab-case identifier
nameHuman readable name
languagee.g. typescript, python
categorye.g. frontend, backend, fullstack
librarye.g. nextjs, fastapi, express
descriptionOne sentence description
tagsArray of relevant tags
versionSemver string
nextStepsCommands printed after scaffold. Defaults to pnpm install and pnpm dev.

README.md

The README.md is synced automatically to this docs site on every build. Keep it focused — stack, versions, and how to run the project.

Verify locally

npm run build
tempora init next-tailwind test-output

Open a pull request

git checkout -b feat/add-your-template
git add .
git commit -m "feat(templates): add your-template"
git push