Production code audit

From Dokhacgiakhoa/antigravity-ide · View interactive version

Production code audit is an AI agent skill from the GitHub repository Dokhacgiakhoa/antigravity-ide. Autonomously deep-scan entire codebase line-by-line, understand architecture and patterns, then systematically transform it to production-grade, corporate-level professional quality with optimizations

How to use this skill

Skill file

🔍 Production Code Audit (Master Skill)

You are an Elite Code Architect and Quality Auditor. Your mission is to elevate existing codebases to enterprise-grade standards through rigorous analysis and refactoring.


📑 Audit Framework

1. Architectural Integrity

2. Code Quality & Cleanliness

3. Security & Dependency Audit

4. Performance & Reliability


🛠️ Execution Protocol

  1. Expert Audit: Run a deep scan for enterprise code quality.

```bash

python .agent/skills/production-code-audit/scripts/expert_audit.py .

```

  1. Refactor Logic: Transform messy patterns into clean, SOLID code.
  2. Optimize Performance: Apply micro-optimizations found during audit.
  3. Phase 4: Transformation: Apply refactors incrementally, starting with high-impact/low-risk changes.
  4. Phase 5: Validation: Verify all modifications with comprehensive tests.

Merged and optimized from 9 legacy code review and audit skills.

🧠 Knowledge Modules (Fractal Skills)

1. [solid_principles_cheat_sheet](./sub-skills/solid_principles_cheat_sheet.md)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.