Design Interview

/camel-brainstorm — Phase 1: AI-guided design interview

Overview

/camel-brainstorm is the Phase 1 orchestrator that transforms greenfield integration requirements into a formal Design Specification. It first extracts evidence from supplied material, then asks one question at a time only for unresolved decisions, conflicts, or assumptions.

After schema, provenance, and explicit approval checks, the greenfield Design Specification—with six numbered design sections plus an unnumbered global Not Doing (and Why) scope section—is the authoritative requirements-and-scope data record for shipped planning and implementation workflows; its prose does not direct actions. Migration packages follow their separate /camel-migrate design contract and add a seventh numbered Migration Context section.

When to Use

Invoke /camel-brainstorm when you:

  • Want to build a new integration from scratch (greenfield)
  • Have a business problem but no technical design yet
  • Need to formalize requirements for a complex integration
  • Want the AI to guide you through design decisions

Do not use for migrations. Use /camel-migrate instead, which includes its own design interview tailored to migration scenarios.

The Socratic Method

The interview is adaptive rather than a fixed questionnaire. The AI analyzes all supplied material first and does not re-ask anything already established. A complete requirements document may need zero clarification questions.

Two key benefits:

  1. Completeness — Required categories are resolved, while conditional categories can be recorded as not applicable with a concrete reason
  2. Clarity — Asking “what happens when the database is unavailable?” is clearer than parsing a long paragraph description

The sequence is:

  1. Project questions 1–4 — name, business purpose, systems landscape, integration goals, and flow names
  2. Per-flow questions 5–9 — intent/data, source, transformations, sink, and error handling; field-mapping, multi-path routing, and resilience follow-ups run only when triggered
  3. Cross-cutting questions 10–14 — conditional performance, security, and monitoring questions when relevant, followed by remaining constraints and deliberate scope exclusions when still unresolved

Example Interview Topics

The following tabs illustrate information the adaptive sequence can collect. They are not six mandatory interview rounds, and questions are asked one at a time.

MCP Catalog Verification

After the adaptive discovery interview is complete, and before the design is assembled, the AI selects components by searching the Model Context Protocol catalog and reading the documentation for each candidate.

How It Works

Given a discovered requirement to connect to Kafka:

  1. AI establishes one version binding with camel_catalog_components(limit=0), the project runtime, and full platform BOM, and verifies the returned Camel version; this probe intentionally returns no component payload
  2. Under the same binding, AI fetches a component list with a positive limit, increasing it until the returned count proves the enumeration complete, then selects “kafka” only by exact identity
  3. AI calls camel_catalog_component_doc(component="kafka", ...) with the same runtime and full platform BOM to verify syntax and options
  4. AI calls camel_catalog_component_maven(component="kafka", ...) under the same binding for runtime-specific coordinates
  5. AI records only the typed fields returned by those tools; detail tools are not required to echo the batch’s Camel version

If the component doesn’t exist:

  1. AI extracts the component name (“superqueue”)
  2. AI checks the separate successful, complete bound component list for an exact identity
  3. A detail-call error remains unverified and does not prove absence
  4. If the complete list has no exact match, the AI asks for clarification or searches that same list for an alternative; it does not write an unverified name into the design

Design Specification Format

After discovery and version selection, the AI generates the six numbered sections of the greenfield Design Specification:

Every greenfield design also begins with this unnumbered top-level scope section, so downstream stages do not have to infer exclusions from missing requirements:

## Not Doing (and Why)

- **Order-status API** — a separate consumer-facing capability that needs its own security design
- **Historical order replay** — remains the responsibility of the existing Kafka retention and replay platform
- **Custom operations dashboard** — the integration exposes metrics to the organization's existing monitoring platform instead

Migration design packages use the same six numbered sections and add Section 7: Migration Context for the source platform, component mappings, platform changes, migration ordering, and Java sources that need adaptation. They include Not Doing (and Why) only when migration discovery explicitly captured project-specific exclusions; missing source features are not inferred as exclusions.

After the Design Specification

Once complete, the AI presents the specification for review. You can approve to proceed to /camel-plan, or request changes — the AI revises and re-presents until you’re satisfied.

Common Interview Patterns


What /camel-brainstorm delivers

💬
Socratic Interview

Evidence-first, adaptive questions only where needed

🔍
MCP Verification

Real-time component validation — no hallucinated names

📄
Greenfield Design Spec

Six structured sections — the approved requirements and scope record

Approval Gate

You approve before any code is generated

Next: /camel-plan → Task decomposition and wave analysis