Back to Guides

Command Dependency Matrix

Complete dependency map for all 28 G-Cloud Kit workflow commands (30 total including init and pages), showing what each command reads, writes, and requires. The kit targets G-Cloud 15 (RM1557.15).

Project Files Read by Each Command

R = Required (command will error, or report a blocking finding, without it) | o = Optional (reads if present, proceeds without)

lot-questions is the file for the service's lot group: lot-questions-1.md (Lots 1a/1b), lot-questions-2.md (2a/2b) or lot-questions-3.md (Lot 3).

Commandsupplier-profilesocial-valuelot-questionsdeclarationservice-designsddpricingsecuritytender-inteltemplate
supplier-profilesupplier-profile-template
social-valueRsocial-value-template
lot-questionsRooooolot-questions-template
declarationRooodeclaration-template
service-designRservice-design-template
sdd-lot1aRoRsdd-lot1-template
sdd-lot1bRoRsdd-lot1-template
sdd-lot2aRoRsdd-lot2-template
sdd-lot2bRoRsdd-lot2-template
sdd-lot3RoRsdd-lot3-template
pricingRRooopricing-template
securityRoRosecurity-template
reviewRRRRRRRRreview-template
compareRooo
tendersoRotenders-template
submission-packRRRRRRRR
storyRooooooostory-template
salessales-analysis-template
marketplace-data
customer
targetso
marketingRRomarketing-template
customize
planooooooooplan-template
healthoooooooo
diagramoRo
dpiaRRRodpia-template
presentationRoRoopresentation-template

Notes on the table:

  • Every command that writes a document also reads its own previous version on a re-run (an SDD command its sdd.md, pricing its pricing.md, and so on). Those self-reads are not marked.
  • pricing also reads the pricing.md of the supplier's other services in the same lot, so lot-wide figures (the Lot 1a/1b framework discount, the Lot 2a/2b discount bands) stay the same across services. For Lot 3 it owns the supplier's one rate card, services/supplier/rate-card.md, and reads the role levels every Lot 3 service's design and SDD need. sdd-lot3 reads the card (optional) to mark which of its role levels are on it, but never copies rates, so the two don't depend on each other in a circle; review and submission-pack require the card for a Lot 3 service.
  • lot-questions reads every service's design, SDD, security and pricing documents to find the lots bid for and the evidence for its answers.
  • service-design checks whether social-value.md, the lot questions and the declaration exist, only to list the next steps; it doesn't read them.
  • tender-intel = services/{NNN}-{name}/tender-intel.md, produced by /gcloud-kit:tenders. Every consumer reads it as a soft dependency — it enriches the output when present and is silently skipped when absent.

Reference Data Read by Each Command

Commandframework-questionslot-3-rate-cardbenchmarkscompliance-fwspend-dataurnsmerges
social-valueR
lot-questionsR
declarationR
service-designRo
sdd-lot1a, sdd-lot1b, sdd-lot2a, sdd-lot2bR
sdd-lot3RRR
pricingRR
securityRR
reviewRR
compareo
marketplace-datao
salesR
customerRR
targetsRRo
dpiaR
  • framework-questions = skills/gcloud-framework/references/framework-questions.md (the G-Cloud 15 overview) and the per-lot files in references/g-cloud-15/. Each command reads only the files it needs: the SDD commands their lot's service questions and categories.md; lot-questions the lot questions for the lot group; social-value social-value-model.md and declaration.md; declaration declaration.md; service-design categories.md; security the lot's service questions and lot questions; review the overview plus the service's lot files.
  • lot-3-rate-card = skills/ddat-rate-card/references/lot-3-rate-card.md: the DDaT job families, roles and role levels for Lot 3 rate cards (Lot 3 services only for service-design and review). It replaces the SFIA reference the Lot 3 SDD used to read; sfia-skills.md is kept only as a secondary role-to-skills mapping.
  • benchmarks = data/gcloud15-rate-benchmarks.csv.gz, data/gcloud15-discount-benchmarks.csv.gz, data/gcloud15-category-benchmarks.csv.gz and data/benchmarks-metadata.json, built from the G-Cloud 15 listings. sdd-lot3 reads only the rate benchmarks. compare reads the category benchmarks to rank the service's categories; marketplace-data reads them and the metadata's market summary when there's no local scrape run.
  • compliance-fw = skills/cloud-security/references/compliance-frameworks.md.
  • spend-data, urns and merges = data/gcloud-spend-data.csv.gz, data/ccs-customer-urns.csv.gz and data/ccs-customer-merges.csv.gz: historical spend published by CCS (now GCA), and GCA's current Customer URN List and its merges.

Files Written by Each Command

CommandOutput
supplier-profileservices/supplier/supplier-profile.md
social-valueservices/supplier/social-value.md
lot-questionsservices/supplier/lot-questions-{1,2,3}.md, one per lot group bid for
declarationservices/supplier/declaration.md
service-designservices/{NNN}-{name}/service-design.md (records the lot: 1a, 1b, 2a, 2b or 3)
sdd-lot1aservices/{name}/sdd.md
sdd-lot1bservices/{name}/sdd.md
sdd-lot2aservices/{name}/sdd.md
sdd-lot2bservices/{name}/sdd.md
sdd-lot3services/{name}/sdd.md
pricingservices/{name}/pricing.md; for Lot 3 also services/supplier/rate-card.md, one card for every Lot 3 service
securityservices/{name}/security.md
reviewservices/{name}/review-report.md
compareservices/{name}/competitor-analysis.md
tendersservices/{name}/tender-intel.md
submission-packservices/{name}/submission/{checklist,submission-guide,answers-export}.md, and once per bid services/supplier/submission/bid-answers.md
storySUBMISSION-STORY.md
sales.gcloud/market-analysis/sales-analysis.md
marketplace-data.gcloud/market-analysis/marketplace-stats.md, services/{name}/market-analysis/{competitors,keywords}.md
customerConsole output only
targetsConsole/file output
marketingservices/{name}/marketing/{press-release,social-media,blog-post,email-templates,content-calendar}.md
customize.gcloud/templates/{name}-template.md
planSUBMISSION-PLAN.md
healthConsole + docs/health.json
diagramservices/{name}/diagrams.md
dpiaservices/{name}/dpia.md
presentationPRESENTATION.md (portfolio) or services/{name}/presentation.md (per-service)

Command Dependency Chain

supplier-profile ──┬──→ social-value                                       (supplier level, once per bid)
                   │
                   └──→ service-design ──┬──→ sdd-lot1a / 1b / 2a / 2b / 3 ──┬──→ pricing
                                         │                                     ├──→ security
                                         │                                     ├──→ compare (optional SDD + tender-intel)
                                         │                                     ├──→ tenders (optional SDD) ┄┄→ feeds pricing/compare/targets
                                         │                                     ├──→ marketing (optional SDD)
                                         │                                     ├──→ dpia (requires SDD + security optional)
                                         │                                     └──→ presentation (requires SDD)
                                         │
                                         ├──→ diagram (requires design, optional SDD)
                                         │
                                         │   sdd-lot* + security + pricing ──→ lot-questions ──→ declaration
                                         │   (every service in the lot group)  (once per lot     (records the
                                         │                                       group)            lots bid for)
                                         │
                                         └──→ review ──→ submission-pack
                                              (reads all,  (requires all, including social-value,
                                               supplier       lot-questions and declaration)
                                               level too)

  story ─────────── scans all artifacts after the profile exists

Scans existing (no hard requirements):
  plan ──────────── scans all artifacts, generates timeline
  health ────────── scans all artifacts, checks completeness

Independent (no project file dependencies):
  customize ─────── copies plugin templates to .gcloud/templates/
  sales ─────────── uses spend-data CSV only
  marketplace-data ─ uses external marketplace dataset
  customer ───────── uses URN + merge CSVs only
  targets ────────── uses URN + spend-data CSVs (optionally enriched by tender-intel)

The recommended order is supplier-profile → social-value → service-design → sdd-lot* → pricing and security → lot-questions → declaration → review → submission-pack. The lot questions come after the services: their award criteria (user support, data location, penetration testing, data sanitisation, staff security) repeat each service's SDD and security answers and must agree with every service in the lot, and the Lot 1a/1b quality answers draw on the same documents. The declaration follows, because it records the lots bid for.

Key Observations

  1. supplier-profile is the root dependency — 21 of 28 workflow commands read it, and 17 require it.
  2. service-design is the second gate — all per-service commands require it, and it records the lot that picks the SDD command and the lot questions file.
  3. submission-pack is the strictest — it requires all 8 documents (profile, social value, the lot's lot questions, declaration, design, SDD, pricing, security).
  4. Five commands are fully independent (customize, sales, marketplace-data, customer, targets) and two are scan-only (plan, health) — they can run at any time.
  5. social-value, lot-questions and declaration are supplier-level: each is written once per bid and shared by every service. Lot questions are written once per lot group (1a/1b, 2a/2b, 3).
  6. sdd-lot3 and pricing read the Lot 3 DDaT rate card reference (lot-3-rate-card.md) and the bundled day-rate benchmarks; pricing also reads the discount benchmarks for Lots 2a/2b.
  7. framework-questions.md and its g-cloud-15/ files are read by review, the five SDD commands, lot-questions, social-value, declaration, security and service-design.
  8. dpia is the most context-rich per-service command after review — it reads 4 artifacts plus the compliance-frameworks reference.
  9. presentation works at both portfolio and per-service level.
  10. tenders is a producer whose tender-intel.md artefact is a soft input to pricing (awarded-value price anchor), compare (real competitor award evidence), and targets (live award-active buyers) — each degrades gracefully when it is absent.