skills/analysis-skills/production-system-audit/SKILL.md
Comprehensive system audit methodology for production web applications. Use when auditing systems before launch, identifying technical debt, troubleshooting systematic issues, preparing for security reviews, or creating improvement roadmaps. Systematically audits database schema, API endpoints, external integrations, performance, security, and monitoring across all layers.
npx skillsauth add abcnuts/manus-skills production-system-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Systematically audit production systems to identify weaknesses, single points of failure, and troubleshooting spots before they become problems.
Systematic, not symptomatic: Audit all layers methodically, don't just fix visible bugs.
Severity-based prioritization: Categorize findings as Critical/High/Medium/Low to guide action.
Actionable recommendations: Every finding includes specific fix guidance, not just problem description.
Comprehensive coverage: Database → APIs → Integrations → Performance → Security → Monitoring.
Audit the foundational layers: database schema, API endpoints, and core architecture.
1.1 Database Schema Audit
Read /home/ubuntu/skills/production-system-audit/references/database-audit-checklist.md and systematically check:
1.2 API Endpoint Audit
Read /home/ubuntu/skills/production-system-audit/references/api-audit-checklist.md and systematically check:
Output: Document all findings with severity, impact, examples, and recommendations.
Audit external service integrations for reliability and security.
Read /home/ubuntu/skills/production-system-audit/references/integration-audit-checklist.md and check each integration:
Common Integrations to Audit:
For each integration, check:
Output: Document integration-specific issues with recommendations.
Identify performance bottlenecks and scalability issues.
3.1 Database Query Performance
Identify slow queries:
3.2 API Response Times
Measure baseline performance:
3.3 Concurrent Usage
Identify untested scenarios:
Output: List performance bottlenecks with optimization recommendations.
Identify gaps in logging, error tracking, and health checks.
4.1 Logging Gaps
Check for missing logging:
4.2 Error Tracking
Assess current error tracking:
4.3 Health Checks
Identify missing health checks:
/api/health endpoint with dependency checksOutput: Monitoring and observability improvement plan.
Identify security vulnerabilities and compliance gaps.
5.1 Input Validation
Check for missing validation:
5.2 Data Sanitization
Check for XSS and injection risks:
5.3 API Security
Check for security gaps:
Output: Security findings with remediation steps.
Use the template at /home/ubuntu/skills/production-system-audit/templates/audit-report-template.md.
Structure:
Week 1: Critical and high-priority issues
Week 2: Medium-priority issues (performance, monitoring)
Week 3: Medium-priority issues (security, reliability)
Week 4: Low-priority issues (nice-to-haves, cleanup)
Document common failure scenarios with:
Use consistent severity levels across all findings:
🔴 CRITICAL - System broken, data loss possible, security breach
Fix immediately (same day)
🔴 HIGH - Data integrity risk, major functionality broken, significant security gap
Fix within 1 week
🟡 MEDIUM - Performance degradation, poor UX, moderate security risk
Fix within 1 month
🟢 LOW - Minor issues, nice-to-haves, limited impact
Fix when convenient
Start broad, then deep: Audit all areas at high level first, then dive deep into problem areas.
Use checklists systematically: Don't skip items—systematic coverage catches hidden issues.
Provide examples: Every finding should include code snippet or scenario showing the problem.
Be specific in recommendations: "Add foreign key constraints" is better than "improve data integrity."
Test your findings: Verify issues exist before documenting (run queries, test endpoints).
Consider the audience: Technical findings for engineers, executive summary for leadership.
Don't just audit code: Also check deployment config, environment variables, DNS, SSL certs.
Don't ignore "working" systems: Just because it works doesn't mean it's correct (e.g., missing FK constraints).
Don't assume test coverage: Verify tests exist and pass for critical paths.
Don't skip documentation: Undocumented systems are harder to maintain and debug.
Don't forget cleanup: Temporary resources, expired codes, old configs—all accumulate over time.
tools
Generate comprehensive demonstrations showing how to access projects and work across different environments (Manus terminals, personal computers, team collaboration). Use when users ask "how do I access this from another terminal/computer", "how do I share this with my team", "how do I get this on my Mac", or need clarification on Manus persistence vs GitHub usage.
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
development
Use when implementing any feature or bugfix, before writing implementation code