Add health check

From brabos-ai/code-addiction · View interactive version

Add health check is an AI agent skill from the GitHub repository brabos-ai/code-addiction. Tech health check: documentation, security, architecture, data analysis. Use when user requests project audit, tech debt review, or health check.

How to use this skill

Skill file

Health Check

<!-- uses:

-->

Suite of skills for complete technical analysis of the project. Always consult AGENTS.md for general project standards.

When NOT to Use


Architecture

/tech-health-check
├── PHASE 1 - DISCOVERY (parallel)
│   ├── context-discovery     → architecture, multi-tenancy, modules
│   ├── documentation-analyzer → AGENTS.md, patterns
│   └── infrastructure-check   → MCP, env vars, deps
│
├── PHASE 2 - ANALYSIS (parallel, depends on Phase 1)
│   ├── security-analyzer      → RLS, secrets, boundaries
│   ├── architecture-analyzer  → clean arch, imports, CQRS
│   └── data-analyzer          → migrations, indexes, N+1
│
└── PHASE 3 - CONSOLIDATION
    └── HEALTH-REPORT.md        → scorecard + roadmap

Criticality

| Pillar | Level | Reason |

|--------|-------|--------|

| Documentation | 🔴 Critical | impacts AI dev quality |

| Security | 🔴 Critical | data leaks, privacy |

| Architecture | 🟠 High | accumulating tech debt |

| Data | 🟡 Medium | performance, consistency |

| Infrastructure | 🔵 Info | prerequisite for analysis |


Skills

Phase 1: context-discovery → context-discovery.md; documentation-analyzer → documentation-report.md; infrastructure-check → infrastructure-report.md.

Phase 2: security-analyzer (deps: context, infrastructure) → security-report.md; architecture-analyzer (deps: context) → architecture-report.md; data-analyzer (deps: context, infrastructure) → data-report.md.


Usage & Output

/tech-health-check

Process:

  1. Create folder .codeadd/docs/health-checks/YYYY-MM-DD/ with current date
  2. Run Phase 1 agents in parallel; wait completion
  3. Run Phase 2 agents in parallel (with Phase 1 context); wait completion
  4. Consolidate in HEALTH-REPORT.md
  5. Close with the Docs Branch end-of-command rule — {{skill:add--doc-schemas/SKILL.md}} → Docs Branch — before the final report

Every report file opens with the frontmatter type: health-check and schema: {{doc-schema}} (each analyzer's template carries it; HEALTH-REPORT.md opens with the same two lines).

Output files: context-discovery.md, documentation-report.md, infrastructure-report.md, security-report.md, architecture-report.md, data-report.md, HEALTH-REPORT.md.


Language

Reports written for entrepreneurs who may not be technical — accessible style, prioritized critical → desirable. Language follows the conversation (default English); technical terms stay in EN; glossary included in HEALTH-REPORT.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.