Back to Guides

/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

  1. Scans all service directories under services/
  2. Checks supplier-level documents: supplier profile, social value, declaration, and a lot questions file (lot-questions-1.md, -2 or -3) for every lot group the services use
  3. 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:review and /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
  4. Calculates a portfolio health score (0-100) weighted across completeness, placeholders, limits, certificates, and consistency
  5. Classifies issues by severity (critical, high, medium, low)
  6. Generates actionable recommendations mapped to specific /gcloud-kit: commands
  7. Writes docs/health.json with structured results

Health score thresholds

ScoreStatusMeaning
90-100HEALTHYReady for submission review
70-89NEEDS ATTENTIONFix issues before submission
50-69AT RISKSignificant work remaining
0-49CRITICALMajor gaps, not submission-ready

Related commands