/gcloud-kit:health
Run a comprehensive health check across all services to identify missing documents, placeholder content, and compliance issues.
Overview
Scans your entire G-Cloud service portfolio and produces a health report with per-service status, placeholder detection, character limit validation, certificate expiry warnings, and cross-document consistency checks. Outputs a console summary and a structured JSON file for CI/CD integration.
Usage
/gcloud-kit:health
Arguments: None required. Scans all services in the services/ directory.
Prerequisites
None. This command scans whatever exists and reports on gaps.
Output
- Console health report with per-service table and recommendations
docs/health.json— structured health data
What it does
- Scans all service directories under
services/ - Checks supplier-level documents (supplier profile, declaration)
- Per-service checks:
- Missing documents — flags absent service-design, sdd, pricing, security
- Placeholder detection — finds
[TODO],[TBD],[PLACEHOLDER],[ENTER,[YOUR,[INSERTpatterns - Character limit violations — validates service name (100 chars), summary (500 chars / 50 words), features and benefits (100 chars each, 10 max)
- Certificate expiry — scans for dates near expiry/renewal keywords and flags certificates expiring within 6 months
- Lot consistency — checks lot matches across service-design and sdd
- Calculates a portfolio health score (0-100) weighted across completeness, placeholders, limits, certificates, and consistency
- Classifies issues by severity (critical, high, medium, low)
- Generates actionable recommendations mapped to specific
/gcloud-kit:commands - Writes
docs/health.jsonwith structured results
Health score thresholds
| Score | Status | Meaning |
|---|---|---|
| 90-100 | HEALTHY | Ready for submission review |
| 70-89 | NEEDS ATTENTION | Fix issues before submission |
| 50-69 | AT RISK | Significant work remaining |
| 0-49 | CRITICAL | Major gaps, not submission-ready |
Related commands
- /gcloud-kit:review — detailed per-service review (single service)
- /gcloud-kit:submission-pack — bundle documents when health score is 90+