lawkeeper

Audit an entire repository against documented engineering rules with file-line findings.

3|Updated May 11, 2026
One-click install
npx skills add https://github.com/nadyshalaby/hackify --skill lawkeeper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lawkeeper
Source: https://github.com/nadyshalaby/hackify/tree/main/skills/lawkeeper
Command: npx skills add https://github.com/nadyshalaby/hackify --skill lawkeeper

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill audits an entire codebase against the engineering rules it is supposed to follow, helping teams catch violations of caps, bans, architecture boundaries, and cleanup standards before they spread.

Core Features & Use Cases

  • Full-repo compliance auditing: Scans a project against its own harness and any global doctrine, then reports findings with exact file and line references.
  • Deterministic rule enforcement: Detects hard caps and zero-tolerance bans such as file length limits, suppressions, empty catches, bare throws, non-null assertions, and hardcoded secrets.
  • Semantic judgment review: Checks broader code quality concerns like DRY, layering, naming, SRP, SOLID, security, performance, testing, and dead code using structured analysis.
  • Carve-out aware reporting: Respects test, generated, migration, and other documented exemptions so known exceptions are not flagged as defects.
  • Remediation workflow: Presents findings first, then fixes them one at a time only after approval.

Quick Start

Ask the skill to audit this repository against its engineering rules and report every violation with file and line details.

Frequently Asked Questions about lawkeeper

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

FAQPage Schema
How do I audit an entire repository for architectural compliance and technical debt?

Full-repo compliance auditing scans your codebase against documented engineering rules, reporting architectural violations with exact file and line references. It evaluates hard caps, bans, and boundary rules across code-style, security, and folder-structure concerns.

Can static analysis detect hardcoded secrets, bare throws, and non-null assertions?

Deterministic rule enforcement detects zero-tolerance bans like hardcoded secrets, bare throws, empty catches, suppressions, and non-null assertions. It scans the entire codebase to flag these specific violations with exact file and line details.

How do I enforce file length limits and folder structure rules across a full codebase?

You can enforce file length caps and folder structure rules by running a full-codebase compliance check against your documented engineering doctrine. The scan reports exact file and line findings for any violations detected.

Does code auditing respect carve-outs for generated files, migrations, and test directories?

Yes, carve-out aware reporting respects documented exemptions for generated files, migrations, and test directories. Known exceptions defined in your engineering rules are intentionally not flagged as defects during the compliance audit.

What is the best way to check SOLID, DRY, and layering principles during a code audit?

Semantic judgment review evaluates broader code quality concerns like SOLID, DRY, layering, and SRP using structured analysis. This complements deterministic scanning to assess architectural boundaries and dead code across the full repository.

How do I fix violations found during a codebase compliance audit?

The remediation workflow presents all audit findings first, then fixes them one at a time only after explicit approval. This ensures you review every architectural violation and technical debt issue before any code changes are applied.