gatekeeper

Run pre-commit quality checks for TypeScript, ESLint, Prisma schema, and unit tests.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Techlemariam/IronForge --skill gatekeeper-techlemariam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gatekeeper
Source: https://github.com/Techlemariam/IronForge/tree/main/.agent/skills/gatekeeper
Command: npx skills add https://github.com/Techlemariam/IronForge --skill gatekeeper-techlemariam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires prisma, typescript, eslint, and includes scripts (resource) components.

What problem does it solve?

Gatekeeper provides a structured pre-commit quality gate that enforces IronForge standards by validating types, linting code, and ensuring schema integrity before commits.

Core Features & Use Cases

  • TypeScript type checks: guarantees zero type errors prior to commit.
  • ESLint linting: enforces consistent code style and catches potential issues early.
  • Prisma schema validation & tests: validates the database schema and runs unit tests to prevent regressions.

Quick Start

Run the gatekeeper to verify types, lint, and tests before committing.

Frequently Asked Questions about gatekeeper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce TypeScript type checks and ESLint rules before git commits?

Pre-commit quality checks enforce coding standards by validating TypeScript types and running ESLint before commits. Gatekeeper parses tsconfig.json and .eslintrc.js to guarantee zero type errors and consistent code style early in local development workflows.

Can I run pre-commit hooks for Prisma schema validation and unit tests on Windows?

Yes, pre-commit hooks support Prisma schema validation and unit tests across Windows, Linux, and macOS. The gatekeeper parses prisma/schema.prisma and runs cross-platform scripts under scripts/ to prevent database regressions during commit and push operations.

What is a pre-commit quality gate and how does it prevent code defects?

A pre-commit quality gate is a structured validation process that detects defects before code is committed. It enforces standards by running TypeScript type checks, ESLint linting, Prisma schema validation, and unit tests, ensuring schema integrity and preventing regressions locally.

Do I need Prisma and TypeScript configured to use this gatekeeping script?

Yes, Prisma and TypeScript are required dependencies for the gatekeeping scripts. You must have tsconfig.json, .eslintrc.js, and prisma/schema.prisma configuration files properly set up in your project for the pre-commit validation to parse and execute successfully.

Why does my pre-commit push fail when TypeScript types are invalid?

Pre-commit push operations fail on invalid TypeScript types because the quality gate enforces zero type errors prior to commits. The gatekeeper parses tsconfig.json during local development workflows to catch type defects early and prevent pushing broken code.