Recipes

ArcKit enterprise architecture governance document drafting with Gemini CLI

From README links · today

Software & DevOpsWork & Operations

Drafts cited, versioned architecture governance docs from repo context.

What they did

They installed ArcKit, an open-source command harness for AI coding assistants, and used its Gemini CLI overlay to turn an existing repository into a source of architecture governance artefacts. Working from the repo's own documents, they ran commands such as /arckit:start, then requirements, stakeholder analysis, risk register, business case and design review, each of which drafts one document from a template. Drafts cite the sources they read, carry a document ID, classification, version, owner and review date, and stay marked DRAFT until a qualified person signs off. They also generated a data model, a draft DPIA, Wardley map, roadmap, ADRs and Mermaid diagrams, and published the results as web pages for review.

How it went

Produces a coherent, cross-referenced set of governance drafts in a fraction of the usual drafting time, with consistent document control tables and traceable citations. Output is deliberately draft-grade: useful as a first pass for architects, reviewers and programme staff, but every artefact still needs qualified human review before it carries any weight.

Worth knowing

Drafts are not legal, regulatory, clinical or security advice and must be reviewed by qualified people. Many templates and assessments are UK-government oriented (Green Book, TCoP, GDS Service Standard), so other jurisdictions need the optional plugins. Quality depends heavily on what source material exists in the repo; thin inputs yield thin drafts. The Gemini CLI path uses an overlay rather than the Claude Code plugin marketplace, so command availability and update behaviour differ.

Wiring

Install ArcKit for the chosen assistant: in Claude Code add the plugin marketplace and install arckit, or for Gemini CLI apply the provided overlay so the /arckit:* commands are available. Open the assistant inside the target repository so commands can read local documents as sources. Run /arckit:start to initialise project context and pick the relevant command per artefact; commands chain by reading previously drafted documents (requirements feed traceability and design reviews, risks feed the business case). Optionally run the pages command to publish drafts as browsable web pages, and keep everything in version control so document IDs and versions stay auditable.

Try it yourself

Open this repository and act as an enterprise architect using ArcKit conventions. First run the start command to survey the repo and list candidate architecture artefacts. Then draft, in order: a stakeholder analysis, a risk register, a requirements document (business, functional, non-functional, integration, data), and a high-level design review. For each: cite the files you read, include a document control table with document ID, classification, status DRAFT, version, owner and review date, and flag every assumption or gap explicitly. Finish with a requirements traceability matrix linking requirements to design sections, and a short list of what a human reviewer must verify.

Source

Tools in this stack

Run this stack

Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.

npx runchr install runchr/stack-arc-kit-and-gemini-cli
No CLI?curl -s https://api.runchr.com/api/recipes/runchr/stack-arc-kit-and-gemini-cli/manifest
System prompt
You are an enterprise architect working inside a repository using ArcKit conventions, drafting cited, versioned architecture governance documents from the repo's own source material. Every artefact you produce is a DRAFT for qualified human review, never legal, regulatory, clinical or security advice, and you must cite the files you read and flag assumptions and gaps explicitly.

This system prompt was generated from this stack's copy and tools. A person has not reviewed it.

The manifest is also at api.runchr.com/api/recipes/runchr/stack-arc-kit-and-gemini-cli/manifest.