typescript-scaffold

typescript-scaffold is a command for Claude Code from HermeticOrmus/claude-code-game-development. It costs 0 tokens per session (2,317 once invoked), scanned A, a copy of typescript-scaffold, MIT.

A TypeScript project scaffolding command that creates the starting structure and configuration for Node.js, frontend, library, or command-line applications.

In plain words
What is it for?
Use it to start Next.js, React with Vite, Node.js API, library, or CLI projects with pnpm, Git, testing setup, and modern TypeScript tooling.
Why use it?
It helps avoid manually assembling folders, dependencies, type checking, testing, build tools, and project configuration for each new application.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the javascript-typescript plugin — 4 skills, 1 command, 2 agents shipped together

Good fit Use it to start Next.js, React with Vite, Node.js API, library, or CLI projects with pnpm, Git, testing setup, and modern TypeScript tooling.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hermeticormus/claude-code-game-development/typescript-scaffold
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/claude-code-game-development

Made for: Claude Code.

Or install javascript-typescript, the plugin that ships this one along with the rest of its 4 skills, 1 command, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for typescript-scaffold

README.md
[![agentmods](https://agentmods.dev/badge/commands/hermeticormus/claude-code-game-development/typescript-scaffold/github.svg)](https://agentmods.dev/commands/hermeticormus/claude-code-game-development/typescript-scaffold)
Your own site
<a href="https://agentmods.dev/commands/hermeticormus/claude-code-game-development/typescript-scaffold"><img src="https://agentmods.dev/badge/commands/hermeticormus/claude-code-game-development/typescript-scaffold/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for typescript-scaffold

Your own site · 80×15
<a href="https://agentmods.dev/commands/hermeticormus/claude-code-game-development/typescript-scaffold"><img src="https://agentmods.dev/badge/commands/hermeticormus/claude-code-game-development/typescript-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02317
Opus 5.5 $0.00000 $0.00927
Sonnet 5.5 $0.00000 $0.00463
Haiku 4.5 $0.00000 $0.00232

Measured 1mo ago against content hash b6fe21500713, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

typescript-scaffold scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to typescript-scaffold — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/javascript-typescript/commands/typescript-scaffold.md · 347 lines

How it starts

The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TypeScript Project Scaffolding

You are a TypeScript project architecture expert specializing in scaffolding production-ready Node.js and frontend applications. Generate complete project structures with modern tooling (pnpm, Vite, Next.js), type safety, testing setup, and configuration following current best practices.

Context

The user needs automated TypeScript project scaffolding that creates consistent, type-safe applications with proper structure, dependency management, testing, and build tooling. Focus on modern TypeScript patterns and scalable architecture.

Requirements

$ARGUMENTS

Instructions

1. Analyze Project Type

Determine the project type from user requirements:

  • Next.js: Full-stack React applications, SSR/SSG, API routes
  • React + Vite: SPA applications, component libraries
  • Node.js API: Express/Fastify backends, microservices
  • Library: Reusable packages, utilities, tools
  • CLI: Command-line tools, automation scripts

2. Initialize Project with pnpm

# Install pnpm if needed
npm install -g pnpm

# Initialize project
mkdir project-name && cd project-name
pnpm init

# Initialize git
git init
echo "node_modules/" >> .gitignore
echo "dist/" >> .gitignore
echo ".env" >> .gitignore

3. Generate Next.js Project Structure

# Create Next.js project with TypeScript
pnpm create next-app@latest . --typescript --tailwind --app --src-dir --import-alias "@/*"
nextjs-project/
├── package.json
├── tsconfig.json
├── next.config.js
├── .env.example
├── src/
│   ├── app/
│   │   ├── layout.tsx
│   │   ├── page.tsx
│   │   ├── api/
│   │   │   └── health/
│   │   │       └── route.ts
│   │   └── (routes)/
│   │       └── dashboard/
│   │           └── page.tsx
│   ├── components/
│   │   ├── ui/
│   │   │   ├── Button.tsx
│   │   │   └── Card.tsx
│   │   └── layout/
│   │       ├── Header.tsx
│   │       └── Footer.tsx
│   ├── lib/
│   │   ├── api.ts
│   │   ├── utils.ts
│   │   └── types.ts
│   └── hooks/
│       ├── useAuth.ts
│       └── useFetch.ts
└── tests/
    ├── setup.ts
    └── components/
        └── Button.test.tsx

Read the full file on GitHub · 347 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 347 lines · 0 tokens per session scan A b6fe21500713

Subscribe to this mod's changes

typescript-scaffold is a command published in the GitHub repository HermeticOrmus/claude-code-game-development (72 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,317 tokens. A static security scan graded it A with 0 findings. It is 100% identical to typescript-scaffold, differing in 5 lines, and is treated as a copy.