malfig

Automate pre-commit gatekeeper checks for IDE integrity and import-layer policy on management-git repos.

1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/DaBigHomie/ugwtf --skill malfig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: malfig
Source: https://github.com/DaBigHomie/ugwtf/tree/main/.cursor/skills/malfig
Command: npx skills add https://github.com/DaBigHomie/ugwtf --skill malfig

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires SKILL_dependencies_here, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates pre-merge policy review, enforces import-layer guidelines, and enforces quality gates, ensuring code integrity and adherence to best practices across all management-git repositories.

Core Features & Use Cases

  • Pre-Merge Policy Review: Automates the review process before code merges to prevent code quality issues.
  • Import-Layer Enforcement: Enforces consistent import layer standards for better maintainability.
  • Quality Gates: Runs quality checks (builds, linters) to ensure code meets project standards.
  • Use Case: When using /malfig, run the pre-commit gatekeeper check for all management-git repos to ensure all standards are met before committing.

Quick Start

Use /malfig to trigger the policy review gatekeeper check on all management-git repositories.

Frequently Asked Questions about malfig

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

FAQPage Schema
How do I automate pre-commit policy compliance checks for my repositories?

To automate pre-commit policy compliance, this Skill enforces comprehensive gatekeeper checks across management-git repositories. It verifies import layer consistency and runs quality gates to ensure code meets project standards before allowing any merge.

What are pre-merge gatekeepers and how do they ensure IDE integrity?

Pre-merge gatekeepers are automated quality assurance checks that validate code state before committing. They ensure IDE integrity by enforcing import-layer guidelines and running build and linter checks to prevent policy violations from entering the repository.

Can I use pre-commit hooks to enforce import layer consistency in git repos?

Yes, you can enforce import layer consistency using pre-commit hooks. This Skill targets management-git repositories to automate import-layer enforcement and run quality checks, ensuring adherence to architectural best practices before merge.

Do I need Cortex sync and gatekeeper agents to run automated code review?

Yes, automated code review requires both gatekeeper agents and Cortex sync to verify state. These dependencies are necessary to execute the comprehensive pre-commit policy checks and validate repository integrity before allowing a merge.

What is the best way to prevent code quality issues before a git merge?

The best way to prevent code quality issues before a merge is automating pre-merge policy review. This approach enforces quality gates, including builds and linters, and checks import-layer consistency to guarantee code meets all project standards.

Why does pre-commit policy review fail when import layer guidelines are violated?

Pre-commit policy review fails on import layer violations because the gatekeeper actively enforces architectural standards. It detects inconsistent imports during the quality check phase and blocks the merge to maintain code integrity and project maintainability.