gatekeeper

Automate pre-commit checks for pbxproj integrity, Prisma sync, and .env leaks.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/artosetrov/iron-fist-arena-backend --skill gatekeeper-artosetrov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gatekeeper
Source: https://github.com/artosetrov/iron-fist-arena-backend/tree/main/.claude/skills/gatekeeper
Command: npx skills add https://github.com/artosetrov/iron-fist-arena-backend --skill gatekeeper-artosetrov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Keeps your codebase healthy by catching common preflight issues before commits or pushes, preventing broken builds and deployment surprises.

Core Features & Use Cases

  • Verifies pbxproj consistency to ensure all Swift files are properly referenced.
  • Checks Prisma schema synchronization and subtree readiness to avoid drift.
  • Detects junk files and .env leaks to protect secrets and repo cleanliness.
  • Advises on doc updates and design-system sanity checks based on changed files only.

Quick Start

Run the automated script to perform all checks before committing or pushing.

Frequently Asked Questions about gatekeeper

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

FAQPage Schema
How do I automate pre-commit checks to prevent .env leaks and broken builds?

You can prevent .env file leaks by running preflight checks that scan staged changes for secret variables and junk files before committing. The automated script generates a structured report flagging any detected environment leaks or repo cleanliness issues.

How do I verify pbxproj consistency and Prisma schema sync before pushing?

Verifying pbxproj consistency and Prisma schema sync before pushing requires automated preflight checks that validate all Swift files are properly referenced and detect database schema drift. The script outputs a structured report confirming subtree readiness and overall integrity.

Do preflight checks work with Prisma schema synchronization and subtree readiness validation?

Yes, preflight checks support Prisma schema synchronization and subtree readiness validation by detecting drift before commits. The checks are driven by a specialized script that analyzes changed files and advises on necessary updates to maintain project consistency.

What is the best way to catch forgotten doc updates and junk files prior to merging?

The best way to catch forgotten doc updates and junk files prior to merging is using automated pre-commit preflight checks. By analyzing only changed files, the script advises on missing documentation updates and flags unnecessary files to maintain repo cleanliness.

Why does my commit workflow need pbxproj integrity verification and design-system sanity checks?

Your commit workflow needs pbxproj integrity verification and design-system sanity checks to prevent broken builds caused by unreferenced Swift files or UI drift. Preflight checks enforce these validations automatically, generating a structured report before any code is pushed.