/arckit-uk-gcloud:sdd-lot1afrom ArcKit UK G-Cloud Supplier Bid-Authoring Overlay
Generates a G-Cloud 15 Lot 1a Service Definition Document for an existing ArcKit service project, answering all GCA questions in order.
Ships in ArcKit UK G-Cloud Supplier Bid-Authoring Overlay. Installing the plugin adds it to Claude Code.
⚠️ Community-contributed command — part of the
arckit-uk-gcloudoverlay, not the officially-maintained ArcKit baseline. The Service Definition Document produced here is an internal planning aid for a G-Cloud 15 (RM1557.15) Lot 1a (IaaS and PaaS) service on the UK Digital Marketplace; it is not legal or procurement advice. Every assertion in a G-Cloud SDD must be evidenceable — GCA (the Government Commercial Agency, formerly CCS) and buyers may ask for proof — so verify every answer against the underlying evidence (supplier profile, certificates, datacentre specifications) before entering it on GCA's Digital Platform.
You are helping a cloud service supplier write the Service Definition Document (SDD) for a G-Cloud 15 (RM1557.15) Lot 1a: Infrastructure as a Service (IaaS) and Platform as a Service (PaaS) service. The SDD answers every Lot 1a service question that GCA asks, in the order of GCA's question export.
In this overlay each G-Cloud service is its own ArcKit project — projects/{NNN}-service-name/.
This command does not create a new project: the service project was created earlier by
/arckit:service-design. This command resolves the existing service project and writes the SDD
into it.
$ARGUMENTS
The user should identify the service in $ARGUMENTS by service name (or name fragment) or by
project number (e.g. 004 or secure-case-mgmt). List the existing projects as JSON and match
against $ARGUMENTS:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/bash/list-projects.sh" --json
From the JSON projects[] array, each entry has name, number, and path. Resolve the target:
$ARGUMENTS is (or contains) a project number, match on number.name field case-insensitively against the service name / fragment in
$ARGUMENTS.$ARGUMENTS is empty, list the candidate projects, then use the AskUserQuestion tool to ask which, offering them as the choices with none marked as recommended (${CLAUDE_PLUGIN_ROOT}/references/interview-pattern.md, section 5). With no answer, stop: do not pick one.If no matching project is found, tell the user the service project does not exist and that they
must run /arckit:service-design first to create it, then stop (do not create a project here).
From the matched project record extract:
path — the service project directory (e.g. projects/004-secure-case-mgmt) — the destinationnumber — the zero-padded project number (e.g. 004) — use as PROJECT_IDname — the project / service nameUse the Read tool on each of these; where several versions exist, read the highest:
projects/000-global/supplier/ARC-000-SUPP-v*.md. If it is
missing, warn the user that /arckit:supplier-profile should run first, continue, and write every
supplier-wide fact (certifications, locations, clearances, contacts) as [PENDING].{path}/ARC-{PROJECT_ID}-SVCD-v*.md. If it is missing, stop:
tell the user to run /arckit:service-design first, because it records the lot this command checks.{path}/ARC-{PROJECT_ID}-SDD-v*.md. Work out {VERSION} first with ${CLAUDE_PLUGIN_ROOT}/references/version-detection.md: a re-run writes the next version beside the earlier file, never over it.projects/000-global/supplier/ARC-000-LOTQ-v*.md. Only Part 1
(Lots 1a and 1b) matters here: the SDD must agree with it.Check the lot. The service design records it on its **G-Cloud Lot**: line, for example
**G-Cloud Lot**: Lot 1a — Infrastructure as a Service (IaaS) and Platform as a Service (PaaS).
/arckit:sdd-lot1b, /arckit:sdd-lot2a, /arckit:sdd-lot2b or /arckit:sdd-lot3.**G-Cloud Lot** line, or a lot from the previous framework (a G-Cloud 14 design ticks
"Lot 1 - Cloud Hosting" under 1.3 Target Lot): ask with AskUserQuestion whether the service is
Lot 1a (data up to OFFICIAL) or Lot 1b (data above OFFICIAL). For 1b, stop and point to
/arckit:sdd-lot1b. For 1a, continue, and suggest re-running /arckit:service-design so the
design records the G-Cloud 15 lot. Follow ${CLAUDE_PLUGIN_ROOT}/references/interview-pattern.md:
in a non-interactive run, take Lot 1a as the default (the command that was invoked) and list it
under Assumptions in the summary.Re-runs. If an SDD already exists, start from it: keep the answers the supplier has confirmed,
and fill in any [PENDING] items you can now answer. Increment the version and add a Revision
History row saying what changed. Don't silently overwrite the previous version.
An SDD written for the previous framework (it names an earlier G-Cloud framework or "Lot 1 — Cloud Hosting", or it has minimum and maximum price fields) has a different structure. Carry over each confirmed answer that still matches a G-Cloud 15 question, write it into the G-Cloud 15 structure, and list in the summary what had no G-Cloud 15 question to go to.
Use the Read tool on the Lot 1a service questions:
${CLAUDE_PLUGIN_ROOT}/skills/gcloud-framework/references/g-cloud-15/lot-1a-services.mdThen read only the Lot 1a category tree (roots IaaS and PaaS):
sed -n '/^## Lot 1a:/,/^## Lot 2a:/p' "${CLAUDE_PLUGIN_ROOT}/skills/gcloud-framework/references/g-cloud-15/categories.md"
Read only these. The other lots' question files are large and ask different questions.
Where the supplier profile and service design leave a question open, research it with WebFetch and WebSearch:
site:applytosupply.digitalmarketplace.service.gov.uk "[service name]"
or "[service type]" (Lot 1a's search slug is iaas-and-paas).Competitors' listings show how comparable services answer. Never copy their answers: the SDD states only the supplier's own facts.
Citation traceability: When you fetch a supplier page or a G-Cloud listing, or read any document
the user has placed under the project's external/, policies/, or vendors/ directories, follow
the citation instructions in ${CLAUDE_PLUGIN_ROOT}/references/citation-instructions.md. Place
inline citation markers (e.g. [WEB-1-C1]) next to each fact informed by a source, and populate the
External References section (Document Register, Citations, Unreferenced Documents). WebSearch
alone (search without fetch) is exploratory and is not cited — only cite a URL once it has actually
been fetched.
Read the template (user override takes precedence):
.arckit/templates-custom/sdd-lot1-template.md.arckit/templates/sdd-lot1-template.md${CLAUDE_PLUGIN_ROOT}/templates/sdd-lot1-template.md${CLAUDE_PLUGIN_ROOT}/templates/_partials/RENDERING.md and resolve the <!-- DOC-CONTROL-HEADER --> marker in the template before writing. Do not hand-write the Document Control table: the partial RENDERING.md selects is the only source of the 14 standard fields and of the classification ladder. Default the Classification field to ${user_config.default_classification} (fall back to OFFICIAL for UK Gov context if unavailable).The template is shared by Lots 1a and 1b.
Fill in the template for Lot 1a:
**G-Cloud Lot**: Lot 1a — Infrastructure as a Service (IaaS) and Platform as a Service (PaaS);
in the G-Cloud Details table set the Lot row to
1a — Infrastructure as a Service (IaaS) and Platform as a Service (PaaS), the classification row
to Not applicable (Lot 1a), the SDD command to /arckit:sdd-lot1a, and the Listing contact row
to the supplier profile's Listing Contact (name, email and phone), or [PENDING]. Remove the "Lot
1b differs" subsection and the Lot 1b note at 19.2: they don't apply.Lot 1a: Infrastructure as a Service (IaaS) and Platform as a Service (PaaS).Not applicable. If lot-1a-services.md has a question the
template lacks (a customised template, or a reissued export), add it in its section and say so in
the summary./arckit:service-design for
a separate service for the others.**Words:** line (50, 100 or 200 words, inferred from
the live listings because GCA's export states none): write each answer within it and fill in the
count. Rewrite anything over a limit rather than cutting it off, and fill in the template's
counters./arckit:pricing.[PENDING].Answer only from the supplier profile, the service design, the existing SDD and what research
confirms. Where none of these establishes an answer, write [PENDING] rather than assuming one. Never
default a Yes/No question to "No", and never mark a certification as held without evidence.
/arckit:review treats every remaining [PENDING] as blocking, so the supplier sees exactly what's
left to confirm. Where a fact came from a fetched source, attach its inline citation marker (see
Step 4).
SDD is a single-instance doc-type per service project. Generate the document ID and filename
with the ArcKit helper (no --next-num — SDD is not multi-instance):
node "${CLAUDE_PLUGIN_ROOT}/scripts/generate-document-id.mjs" {PROJECT_ID} SDD --filename
This returns ARC-{NNN}-SDD-v{VERSION}.md (using the zero-padded project number from Step 1). Use the
returned filename for a new SDD. On a re-run, use the incremented version instead (e.g.
ARC-{NNN}-SDD-v1.1.md) and add the Revision History row.
Populate the Document Control header (Document ID = ARC-{PROJECT_ID}-SDD-v{VERSION}, Document Type
= Service Definition Document) and Revision History, and finish with the standard ArcKit footer:
---
**Generated by**: ArcKit `/arckit:sdd-lot1a` command
**Generated on**: [DATE]
**ArcKit Version**: [VERSION]
**Project**: [PROJECT_NAME] (Project [PROJECT_ID])
**Model**: [AI_MODEL]
Before writing, read ${CLAUDE_PLUGIN_ROOT}/references/quality-checklist.md and verify all Common Checks plus the SDD per-type checks pass. Then check:
Not applicable or [PENDING]**Words:** line[SERVICE_NAME], [ANSWER], [X]) leftFix any failures, then use the Write tool to save the completed document to {path}/{filename} —
e.g. projects/004-secure-compute/ARC-004-SDD-v1.0.md. Do not echo the full document into your
response — it is large and only the summary below should be printed.
Then recount every free-text answer against the limit on its **Words:** line, correct any counter
the recount disagrees with, and rewrite any answer it marks OVER (then count again). Words are
counted by splitting on spaces, which can differ by a word or two from the Digital Platform's
counter, so leave a small margin:
SDD="{path}/{filename}" # the SDD just written
# word count: keep identical in review.md and the five sdd-lot commands
awk '
FNR == 1 { if (prev != "" && !found) printf "%s: no word counters\n", prev; prev = FILENAME; found = 0; q = ""; inc = 0 }
inc { if (index($0, "-->")) inc = 0; next }
/^[ \t]*<!--/ { if (!index($0, "-->")) inc = 1; next }
/^\*\*[0-9]+\.[0-9]+ / { q = $0; sub(/^\*\*/, "", q); sub(/\*\*.*$/, "", q); n = 0; next }
/^\*\*Words:\*\*/ {
if (q != "") {
found++; s = $0; sub(/^\*\*Words:\*\*[ \t]*/, "", s)
split(s, a, "/"); c = a[1]; gsub(/[ \t]/, "", c); lim = a[2] + 0; note = ""
if (n > lim) { note = ", OVER by " (n - lim); over++ }
else if (c ~ /^[0-9]+$/ && c + 0 != n) note = " (the counter says " c ")"
printf "%s:%s: %d/%d words%s\n", FILENAME, q, n, lim, note
}
q = ""; next
}
/^(#|---)/ { q = ""; next }
q != "" && $0 !~ /^[ \t]*(>|```)/ { n += NF }
END { if (prev != "" && !found) printf "%s: no word counters\n", prev; printf "answers over their limit: %d\n", over + 0 }' "$SDD"
Report what the document contains, counted from what you wrote:
## Service Definition Document Generated
**Service:** [Name]
**Lot:** 1a — Infrastructure as a Service (IaaS) and Platform as a Service (PaaS)
**Saved to:** `{path}/ARC-{PROJECT_ID}-SDD-v[X.Y].md` ([new / updated from vX.Y])
### Questions
- Answered: [N]
- Not applicable (follow-up not triggered): [N]
- Pending: [N] (sections [list])
### Limits
| Field | In the document | Limit |
|-------|-----------------|-------|
| Service name | [X] characters | 100 |
| Description | [X] characters | 500 |
| Features | [N] items, longest [X] words | 10 items, 10 words |
| Benefits | [N] items, longest [X] words | 10 items, 10 words |
| System requirements | [N] items, longest [X] words | 10 items, 10 words |
| What's backed up | [N] items, longest [X] words | 10 items, 10 words |
| Free-text answers | [N] counted, [N] over their limit | 50, 100 or 200 words each (`**Words:**` lines) |
### Key Answers (as recorded)
- Categories: [full paths]
- Deployment model: [ticked options]
- Supplier type: [ticked option, and organisation resold]
- Data stored and processed in: [ticked options]
- Datacentre setup: [ticked options]
- Penetration testing: [frequency; approach]
- Staff security: [screening]; clearance [level]
- ISO 27018 certificate: [Held, per supplier profile / Not needed: private cloud only / Not needed: reselling and relying on the provider's accreditations / Not recorded — needed in the lot questions because the service includes public cloud]
### Items Requiring Attention
- [Each `[PENDING]` item, with its question number and what the supplier needs to confirm — or "None"]
- [Each disagreement with the supplier profile, service design or lot questions — or omit]
### Assumptions
- [Each default taken without asking, e.g. "Lot: 1a (default; legacy design, not asked)" — or omit]
### Next Steps
1. **Review for accuracy:** check every ticked option against what the service really does
2. **Price the service:** `/arckit:pricing [service]` — baseline price, fixed onboarding costs and framework discount
3. **Security evidence:** `/arckit:security [service]`
4. **Lot questions:** `/arckit:lot-questions` — reseller or sole control, ISO 27018 if the service includes public cloud, the scored Quality Cloud Services and Maximising Buyer Value answers, and the other certifications (once per Lot 1a/1b bid, not per service)
5. **Review completeness:** `/arckit:review [service]`
/arckit:service-design.< or > (e.g. < 3 seconds, > 99.9% uptime) to prevent markdown renderers from
interpreting them as HTML tags or emoji.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub tractorjuice/arc-kit --plugin arckit-uk-gcloud15 commands in this plugin
/declarationUser InputPrepare the G-Cloud 15 supplier declaration (Procurement Act 2023) for the supplier to confirm and sign/gcloud-competitorsUser InputBenchmark a G-Cloud 15 service against Digital Marketplace rivals (supplier-side)/lot-questionsUser InputAnswer the G-Cloud 15 lot questions for each lot group bid for (conditions of participation, scored quality answers, award criteria, standards)/pricingUser InputGenerate the G-Cloud 15 pricing document for a service, laid out for its lot/reviewUser InputReview a G-Cloud 15 service submission for completeness before submission to GCA/sdd-lot1bUser InputGenerate the Service Definition Document for a G-Cloud 15 Lot 1b (IaaS and PaaS above OFFICIAL) serviceOther plugins' commands for the same job