audit-defense-standards

Audit codebases against defense standards and report violations by severity.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/Trecek/useful-claude-skills --skill audit-defense-standards-trecek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-defense-standards
Source: https://github.com/Trecek/useful-claude-skills/tree/main/.claude/skills/audit-defense-standards
Command: npx skills add https://github.com/Trecek/useful-claude-skills --skill audit-defense-standards-trecek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Defense Standards Audit helps the codebase stay guarded by verifying it aligns with historically derived defense standards. It captures lessons learned from real bugs and codifies them into enforceable guards.

Core Features & Use Cases

  • Parallel subagents audit each standard or group to surface violations and maintain performance.
  • Generates a timestamped, structured report under temp/audit-defense-standards/ with file paths and line numbers for any violations.
  • Supports iterative improvement by adding new standards via the /design-guards workflow and validating them against code changes.

Quick Start

Run an audit pass against your repository to produce a new defense audit report.

Frequently Asked Questions about audit-defense-standards

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

FAQPage Schema
How do I audit my codebase for defense standards violations?

Run an audit pass against your repository to verify codebase alignment with historically derived defense standards. The Skill deploys parallel subagents per standard to identify violations, capturing lessons learned from real bugs and codifying them into enforceable guards.

When do I need to run a codebase security and architecture audit?

Run a codebase audit when applying evolving defense standards, completing major refactors, or performing routine code quality checks. It captures lessons learned from real bugs and verifies your codebase aligns with historically derived, enforceable architectural guards.

How are defense standard audit findings reported and organized?

Audit findings are generated as a timestamped, structured report under temp/audit-defense-standards/. Violations include specific file paths and line numbers, organized by severity to help you prioritize iterative code quality improvements.

Can I add custom bug patterns to the defense standards audit?

Yes, you can add custom bug patterns via the /design-guards workflow. This supports iterative improvement by defining new defense standards and validating them against code changes during subsequent audit passes.

What is the best way to catch bug patterns after a major codebase refactor?

The best way to catch bug patterns after a major refactor is running a defense standards audit with parallel subagents. It surfaces violations across evolving standards and outputs a structured timestamped report organized by severity with exact file paths and line numbers.

Does the defense standards audit require external dependencies or components?

No, the defense standards audit requires no external dependencies or components. It operates natively by deploying parallel subagents to audit each standard or group directly against your codebase to surface violations efficiently.