From ai-gateway
Take the user all the way from discovery to working code that uses an existing
How this command is triggered — by the user, by Claude, or both
Slash command
/ai-gateway:buildThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /ai-gateway:build Take the user all the way from discovery to working code that uses an existing AI Gateway's models and/or MCP tools — in whatever they're building. This command runs the **full** workflow in the bundled skill `skills/use-ai-gateway/SKILL.md` end to end: 1. **Discover & select** the models and MCP tool servers in the gateway (Part 1 of the skill). Use `$ARGUMENTS` for the target gateway (ARM `gatewayResourceId` — required to list assets; a host alone is not enough, so resolve or ask for the id if only a host is given) and, if present, the desired use case. Ask ...
Take the user all the way from discovery to working code that uses an existing
AI Gateway's models and/or MCP tools — in whatever they're building. This command runs
the full workflow in the bundled skill skills/use-ai-gateway/SKILL.md end to end:
$ARGUMENTS for the target gateway (ARM
gatewayResourceId — required to list assets; a host alone is not enough, so resolve
or ask for the id if only a host is given) and, if present, the desired use case. Ask
the user to
confirm the selected assets before continuing.Api-Key header.github-copilot-sdk >= 1.0.0) if the user wants a ready-to-run agent project —
default to Python unless they ask for TypeScript. Produce a complete, self-contained
project: agent code, .env / .env.example, .gitignore (must ignore .env),
requirements.txt (or package.json), and a README.md.
Integrate into the user's existing project when they have one, respecting its language
and conventions.unknown_model, 401/403, missing env var) from benign backend
conditions (429/quota).PUT/PATCH/DELETE calls and never create, provision, or delete gateways, models,
tools, connections, or products. If the user asks to provision anything, tell them
that is an administrator task done in the AI Gateway Portal..env out of source control. Warn the user that the written .env holds a live key
and to rotate it in the portal if it is ever exposed.properties.deployment.modelName (exact dots/casing) as the model identifier —
prefer it over the ARM name or displayName (which some gateways reject with
unknown_model). Runtime calls use the gateway's properties.gatewayUrl host and the
/default/ workspace segment: <host>/default/models/openai/v1/... and
<host>/default/toolservers/<name>/mcp (omitting /default/ returns 404).Api-Key header — not
Authorization: Bearer (bearer-only auth is rejected, typically with a 401 or a
misleading unknown_model)./buildImplements tasks incrementally using test-driven development — build, test, verify, commit per task. Supports auto mode to run the entire plan in one approved pass.
/buildBuilds, compiles, and packages projects with intelligent error handling and optimization. Supports environment-specific builds, targeted components, and optional validation via Playwright.
/buildPackages generated wiki markdown files into a complete VitePress site with a dark theme, dark-mode Mermaid diagrams, and click-to-zoom for diagrams and images.
/buildBulk-builds ArcKit artefacts in parallel waves using subagent orchestration with resumable state. Accepts a project ID and optional flags for planning, resuming, targeting, custom recipes, and commit control.
/buildPlans and executes feature builds against a SPEC.md specification. Accepts task targets (§T.n), --all, or --next. Automatically verifies each task and triggers backpropagation on failure.
/buildBuilds 3D voxel structures in an Enu level using geometric shapes and scripted drawing commands. Accepts a descriptive name for the build.
npx claudepluginhub azure/ai-gateway --plugin ai-gateway