/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 15 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, social value, declaration, and a lot questions file (
lot-questions-1.md,-2or-3) for every lot group the services use - Per-service checks:
- Missing documents — flags absent service-design, sdd, pricing, security
- Placeholder detection — finds
[PENDING]in every form the kit writes ([PENDING: …],[PENDING — …]), older markers such as[TODO],[TBC],[CONFIRM]and*[TO BE ADDED]*, and template fields never filled in. It runs the same scan as/gcloud-kit:reviewand/gcloud-kit:submission-pack - Character limit violations — validates service name (100 chars), description (500 chars), features and benefits (10 words each, 10 max), and for Lots 1a/1b the scored answers (250 words per part)
- Certificate expiry — scans for dates near expiry/renewal keywords and flags certificates expiring within 6 months
- Lot consistency — checks the lot is a G-Cloud 15 lot (1a, 1b, 2a, 2b or 3) and matches across service-design, sdd and pricing
- 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+