strictkit
v0.2.0
Published
The Security & Architecture Baseline for Next.js
Maintainers
Readme
StrictKit
The Architecture & Security Baseline for Next.js Projects.
StrictKit is not a linter. It is an opinionated execution engine designed to enforce a non-negotiable technical baseline. If your project doesn't meet the standard, it shouldn't deploy.
Quick Start
Run the audit directly in your project root. No installation required.
npx strictkit auditStrictKit exits with:
0 → PASS (Baseline met)
1 → FAIL (Pipeline stops)Doctrine
StrictKit evaluates your project against three core pillars:
- INTEGRITY [SK-INT-001]
- Philosophy: The
anytype is a silent virus that disables the compiler. - Enforcement: Scans for explicit
anyusage in TypeScript files.
- SECURITY [SK-SEC-001]
- Philosophy: Hardcoded secrets are a liability, even in "test" files.
- Enforcement: Detects patterns of API keys and credentials in the codebase.
- INFRA [SK-INF-001]
- Philosophy: Unpinned Docker images create non-deterministic builds.
- Enforcement: Ensures Dockerfile bases are strictly pinned (e.g.,
node:18-alpineinstead of:latest).
CI/CD Enforcement
StrictKit is designed for automation. It returns exit code 1 on failure, making it natively compatible with any pipeline.
GitHub Actions
Add this step to your .github/workflows/ci.yml to enforce the baseline on every push:
- name: 🛡️ StrictKit Architecture Audit
run: npx strictkit auditMachine Readable Output
For custom reporting or integration with third-party tools (JSON contract):
npx strictkit audit --jsonDesign Principles
- No plugins: It works or it doesn't.
- No config files: Standards are not negotiable.
- No dashboards: The CLI is the only interface.
- No vendor lock-in: Just an npm package.
- Only execution.
MIT License | strictkit.dev
