production-code-audit

πŸ” Production Code Audit (Master Skill)

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "production-code-audit" with this command: npx skills add dokhacgiakhoa/antigravity-ide/dokhacgiakhoa-antigravity-ide-production-code-audit

πŸ” 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
  • Patterns: Verify adherence to SOLID, DRY, and KISS principles.

  • Layers: Check for proper separation of concerns (Logic vs. UI vs. Data).

  • Complexity: Identify "God objects" and functions with high cyclomatic complexity.

  1. Code Quality & Cleanliness
  • Naming: Ensure self-documenting variables and function names.

  • Deduplication: Find and merge repeated logic blocks.

  • Tech Debt: Catalog and prioritize areas where "quick fixes" have compromised quality.

  1. Security & Dependency Audit
  • Vulnerabilities: Scan for OWASP Top 10 risks (XSS, Injection, Broken Auth).

  • Dependencies:

  • Audit package.json for outdated or insecure packages.

  • Check for unused or redundant libraries.

  • Secrets: Ensure no API keys or passwords are hardcoded.

  1. Performance & Reliability
  • Bottlenecks: Identify N+1 queries, heavy loops, or unoptimized data fetching.

  • Error Handling: Verify robust try/catch usage and graceful fallbacks.

πŸ› οΈ Execution Protocol

  • Expert Audit: Run a deep scan for enterprise code quality. python .agent/skills/production-code-audit/scripts/expert_audit.py .

  • Refactor Logic: Transform messy patterns into clean, SOLID code.

  • Optimize Performance: Apply micro-optimizations found during audit.

  • Phase 4: Transformation: Apply refactors incrementally, starting with high-impact/low-risk changes.

  • Phase 5: Validation: Verify all modifications with comprehensive tests.

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

codebase-cleanup-deps-audit

No summary provided by upstream source.

Repository SourceNeeds Review
Security

backend-security-coder

No summary provided by upstream source.

Repository SourceNeeds Review
General

ui-ux-pro-max-skill

No summary provided by upstream source.

Repository SourceNeeds Review
General

notion-mcp

No summary provided by upstream source.

Repository SourceNeeds Review