audit

Audits staged changes against an engineering-principles checklist and reports pass/fail per principle.

145|28|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/transilienceai/shasta --skill audit-transilienceai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit
Source: https://github.com/transilienceai/shasta/tree/main/.claude/skills/audit
Command: npx skills add https://github.com/transilienceai/shasta --skill audit-transilienceai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a guardrail to enforce engineering-principles compliance by auditing staged changes against a formal checklist and reporting pass/fail per principle, catching drift before it ships.

Core Features & Use Cases

  • Walks every applicable rule from ENGINEERING_PRINCIPLES.md against the diff and reports PASS/FAIL/N/A with actionable file:line references.
  • Operates as a pre-commit gate to prevent non-trivial regressions from being committed or pushed.
  • Handles hard failure triggers early to stop problematic changes and guide remediation.

Quick Start

Run /audit before committing or pushing to apply the pre-commit gate.

Frequently Asked Questions about audit

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

FAQPage Schema
How do I check staged changes against engineering principles before committing?

To check staged changes against engineering principles, run a pre-commit audit that loads your principles checklist and evaluates the diff to identify drift, reporting pass or fail per principle before you ship code.

What is a pre-commit code quality audit and how does it work?

A pre-commit code quality audit walks every applicable rule from an engineering principles checklist against your staged diff, reporting PASS, FAIL, or N/A with actionable file and line references to catch regressions before they ship.

Can I enforce compliance checks on my staged git diff without external dependencies?

Yes, you can enforce compliance checks on your staged git diff without external dependencies by invoking an audit tool that loads your principles file directly and evaluates the diff for drift and regression risks.

How do I prevent code regressions from being committed or pushed?

To prevent code regressions from being committed or pushed, use a pre-commit audit gate that fails fast on hard violations, stopping problematic changes and guiding remediation before the commit completes.

What is the best way to automate engineering principles compliance in a pre-commit hook?

The best way to automate engineering principles compliance is to run an audit command before committing that evaluates the diff against a formal checklist and fails fast on hard violations to prevent regressions.

Why does my pre-commit audit fail fast on staged changes?

Your pre-commit audit fails fast on staged changes because it detects hard violations of your engineering principles checklist, intentionally stopping problematic changes early to guide immediate remediation.