Arckit gcloud clarify

From tractorjuice/arckit-codex · View interactive version

Arckit gcloud clarify is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Analyze G-Cloud service gaps and generate supplier clarification questions

How to use this skill

Skill file

You are helping an enterprise architect validate G-Cloud services and generate clarification questions for suppliers.

User Input

$ARGUMENTS

Context

After using $arckit-gcloud-search to find G-Cloud services, you have a shortlist but face challenges:

This command analyzes gaps between requirements and service descriptions, then generates structured clarification questions to send to suppliers.

Instructions

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

1. Read existing artifacts from the project context

MANDATORY (warn if missing):

RECOMMENDED (read if available, note if missing):

OPTIONAL (read if available, skip silently if missing):

3. Gap Analysis

For each shortlisted service, perform systematic gap analysis:

A. MUST Requirements Analysis

For each MUST requirement (BR-xxx, FR-xxx, NFR-xxx, INT-xxx with MUST priority):

Check Coverage:

Examples:

B. Ambiguous Claims Detection

Identify vague marketing language that needs clarification:

C. Compliance Gaps

For compliance requirements (NFR-C-xxx):

D. Integration Gaps

For integration requirements (INT-xxx):

E. Performance Gaps

For performance requirements (NFR-P-xxx):

F. Pricing Gaps

3b. Read the Template

Read the template (user override takes precedence):

The template owns the document structure and the per-question, per-service and risk-matrix block shapes. The steps below decide what goes in them; the template decides the shape.

4. Generate Clarification Questions

For each gap or ambiguity, generate a structured question:

Question format: use the template's #### Q[N]: block — requirement ID and text, the gap, the question with its sub-questions, the evidence needed, and a priority. Group questions under the template's Critical / High Priority / Medium Priority / Low Priority headings rather than numbering them in one flat run.

Question Priority Levels

🔴 CRITICAL (Blocking):

🟠 HIGH (Affects Scoring):

🔵 MEDIUM (Due Diligence):

🟢 LOW (Nice to Know):

5. Generate Risk Assessment

Carry each service's Integrity Findings over from the GCLD, with any you found yourself, or write None found.

Fill the template's Service Risk Assessment block for each service. It ships the six requirement-category rows, the overall risk, the risk calculation and both the recommendation and the alternative — complete every row rather than adding a matrix of your own.

Risk Levels:


CRITICAL - Auto-Populate Document Control Fields:

Before completing the document, populate ALL document control fields in the header:

Construct Document ID:

Populate Required Fields:

Auto-populated fields (populate these automatically):

User-provided fields (extract from project metadata or user input):

Calculated fields:

Pending fields (leave as [PENDING] until manually updated):

Populate Revision History:

| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-gcloud-clarify` command | [PENDING] | [PENDING] |

Populate Generation Metadata Footer:

The footer should be populated with:

**Generated by**: ArcKit `$arckit-gcloud-clarify` command
**Generated on**: {DATE} {TIME} GMT
**ArcKit Version**: {ARCKIT_VERSION}
**Project**: {PROJECT_NAME} (Project {PROJECT_ID})
**AI Model**: [Use actual model name, e.g., "Claude Sonnet 5 (session default)"]
**Generation Context**: [Brief note about source documents used]

6. Write the Document

Populate the template read in Step 3b:

CRITICAL: Use the Write tool to save the completed document to

projects/[project]/procurement/ARC-{PROJECT_ID}-GCLC-v{VERSION}.md. Writing it inline

risks the 32K output-token limit; the Write tool also creates parent directories.

Before writing, read .arckit/references/quality-checklist.md and verify all Common Checks plus the GCLC per-type checks pass. Fix any failures before proceeding.

7. Quality Validation

Before finalizing, validate output:

8. Report Completion

Output to user:

✅ Generated G-Cloud clarification questions for [PROJECT_NAME]

Services Analyzed: [N]
Document: projects/[project]/procurement/ARC-{PROJECT_ID}-GCLC-v{VERSION}.md

Gap Analysis Summary:
- [Service 1]: [Risk Level] - [N] critical gaps, [N] high gaps, [N] integrity findings
- [Service 2]: [Risk Level] - [N] critical gaps, [N] high gaps, [N] integrity findings
- [Service 3]: [Risk Level] - [N] critical gaps, [N] high gaps, [N] integrity findings

Recommendations:
- 🔴 [N] services have CRITICAL gaps (do not proceed without clarification)
- 🟠 [N] services have HIGH gaps (clarify before proceeding)
- 🟢 [N] services are LOW risk (proceed to technical demo)

Next Steps:
1. Review generated questions in ARC-{PROJECT_ID}-GCLC-v{VERSION}.md
2. Send email to suppliers using provided templates
3. Set response deadline: [DATE + 1 week]
4. Schedule follow-up to review responses
5. Use $arckit-evaluate after receiving responses to score and compare

Important: Do not award contracts to services with CRITICAL gaps until gaps are resolved.

Key Principles

  1. Systematic Analysis: Check every MUST requirement against every service
  2. Clear Prioritization: Critical gaps block procurement, high gaps affect scoring
  3. Specific Questions: Every question links to a specific requirement ID
  4. Evidence-Based: Specify what proof is needed to satisfy requirements
  5. Actionable Output: Email templates and next steps make it easy to act
  6. Risk-Driven: Risk assessment guides procurement decisions
  7. Traceability: Link questions back to requirements for audit trail

Gap Detection Examples

Example 1: Explicit Gap

Example 2: Ambiguous Gap

Example 3: Compliance Gap

Error Handling

Integration with Workflow

Complete G-Cloud Procurement Workflow:

  1. $arckit-requirements → Define service needs
  2. $arckit-gcloud-search → Find services on Digital Marketplace
  3. $arckit-gcloud-clarify → Identify gaps, generate questions
  4. Supplier engagement → Send questions, receive responses
  5. $arckit-evaluate → Score suppliers based on responses
  6. Technical demo → Validate critical requirements
  7. Contract award → Select winning service

This command is the critical validation step between finding services and evaluating them.

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.