Fortress System

Zero-dependency quality gate for JavaScript & TypeScript projects. One command to set up. One command to check your code.

$ npx fortress-system setup
fortress quick
Fortress Quick Validation Running enabled checks... [PASS] Lint (0.3s) [PASS] Tests (0.1s) 4/4 tests passed [PASS] Secrets Detection (0.1s) [PASS] Content (0.2s) ────────────────────────────────────────────────── Score: 100/100 (0.7s) All checks passed.

Why Fortress?

Quality checks that work with your stack, not against it.

0 Zero Dependencies

Built entirely on Node.js built-ins. Nothing in your supply chain to compromise. No dependency updates to chase.

>_ One Command Setup

npx fortress-system setup handles everything — package.json, git init, install, interactive wizard, pre-commit hook.

Adaptive Scoring

Only using 3 of 7 checks? Your score adapts. Disabled checks don't penalize you. A perfect 100 is always reachable.

# Secrets Detection

19 built-in patterns catch AWS keys, GitHub tokens, Stripe secrets, JWTs, private keys, and more — before they hit version control.

</> Claude Code Integration

Auto-configures CLAUDE.md, permissions, statusline, and two specialized AI agents for security audit and code review.

CI CI/CD Ready

JSON output, exit codes, --ci flag. Drop fortress validate into any pipeline as a quality gate.

7 Quality Checks

Each check is auto-detected and independently configurable.

Check What it does Weight
TypeScript Runs tsc --noEmit to catch type errors 20
Lint Runs your linter (ESLint, Biome, Next.js) 15
Tests Runs your test suite with proportional scoring 25
Content Scans for TODOs, FIXMEs, forbidden patterns 20
Secrets Detects hardcoded credentials (19 patterns) 10
Security Runs npm audit for vulnerable dependencies 10
Build Verifies your project builds successfully 10

How It Works

1

Install & detect

Run npx fortress-system setup in any JS/TS project. Fortress detects your framework, linter, test runner, and package manager automatically.

2

Code with confidence

Run fortress quick as you work. The pre-commit hook catches issues before they reach your repo.

3

Validate before deploy

Run fortress deploy for a full quality gate. Score 95+ means deploy-ready. Track your trend with fortress trend.

4

AI-powered review

Run fortress review to invoke security audit and code review agents via Claude Code. Optional but powerful.

Works With Your Stack

Auto-detects and configures for your tools.

Frameworks

Next.js, React, Vue, Nuxt, Svelte, SvelteKit, Angular, Express, Fastify, Koa

Test Runners

Vitest, Jest, Mocha, Node.js built-in test runner

Tooling

TypeScript, ESLint, Biome, npm, yarn, pnpm, bun

Ship better code, starting now.

Takes 30 seconds to set up. Zero config required.

npx fortress-system setup