production-code-audit
Autonomously deep-scan entire codebase line-by-line, understand architecture and patterns, then systematically transform it to production-grade…
от Dokhacgiakhoa★ 513 звёзд на GitHub
Установить production-code-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
🔍 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.
2. 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.
3. Security & Dependency Audit
- Vulnerabilities: Scan for OWASP Top 10 risks (XSS, Injection, Broken Auth).
- Dependencies:
- Audit
package.jsonfor outdated or insecure packages. - Check for unused or redundant libraries.
- Audit
- Secrets: Ensure no API keys or passwords are hardcoded.
4. Performance & Reliability
- Bottlenecks: Identify N+1 queries, heavy loops, or unoptimized data fetching.
- Error Handling: Verify robust
try/catchusage 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.
🧠 Knowledge Modules (Fractal Skills)
1. solid_principles_cheat_sheet
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- resources/solid_principles_cheat_sheet.md
- scripts/expert_audit.js
- scripts/expert_audit.py
- sub-skills/solid_principles_cheat_sheet.md
FAQ
Что делает скилл production-code-audit?
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
Как установить скилл production-code-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл production-code-audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…