Production-grade project scaffolding for TypeScript, optimized for AI agents and human engineers.
ForgeTS provides a deterministic, secure, and best-practice baseline for new projects. It enforces strict quality gates (no any, strict linting) and generates AI-readable metadata (AGENTS.md) by default.
npm install -g @forge-ts/cli
# or
pnpm add -g @forge-ts/cliSimply run the command and follow the prompts:
forgets initPass a JSON or YAML configuration file for reproducible scaffolding:
forgets init --config project.jsonExample project.json:
{
"project": {
"name": "my-app",
"type": "react-vite",
"language": "typescript",
"git": true,
"docker": true
}
}| Template | Description | Stack |
|---|---|---|
ts-backend |
Strict Node.js Service | Node 20+, TypeScript (Strict), Zod, Vitest |
react-vite |
Modern Frontend App | React, Vite, Redux Toolkit, MUI, Tailwind |
- Strict by Default:
noImplicitAny, strict ESLint rules, and Prettier integration out of the box. - AI-First: Generates
AGENTS.mdandCONVENTIONS.mdto help AI agents understand your codebase immediately. - Global Options:
- Git: Auto-init and initial commit.
- Docker: Multi-stage
Dockerfileanddocker-compose.yml.
MIT