web-runtime.architecture — Claude Code prompt: how to use
web-runtime.architecture — a prompt for generating a production web architecture JSON diagram using Archify and saving it directly to benchmark-candidate.json.
Apache-2.0 ★ 98,599 updated 2026-10-25
.claude/commands/web-runtime.architecture.mdWhat web-runtime.architecture does
This prompt directs the assistant to generate a typed JSON diagram specification matching the showcase quality profile. The system layout covers HTTPS traffic entering via a CDN, routed through a load balancer to an API service. In turn, the backend connects to an auth provider, a Redis cache layer, a primary PostgreSQL instance, a task worker queue, and object storage for assets.
When shell execution is permitted, the agent runs the bundled Archify CLI to validate and repair the structure. The prompt strictly limits file output: the assistant must write only to benchmark-candidate.json in the project root. Modifying any other file or copying existing examples invalidates the benchmark test.
What it helps with
- generate a typed JSON architecture specification for Archify
- map connections across CDN, API, Redis, and PostgreSQL
- produce a clean benchmark artifact in
benchmark-candidate.json
Example prompts for the agent
- Generate the web runtime architecture diagram using Archify
- Run web-runtime.architecture and save the output to benchmark-candidate.json
How to install web-runtime.architecture
Manually: put the files in place
.claude/commands/web-runtime.architecture.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about web-runtime.architecture
How to install web-runtime.architecture in Claude Code?
Place the prompt file at .claude/commands/web-runtime.architecture.md.
What infrastructure does web-runtime.architecture model?
It models a production web app with a CDN, load balancer, API, authentication provider, Redis cache, PostgreSQL primary database, worker, and object storage.
Where does the assistant save the final output?
Output must be written exclusively to benchmark-candidate.json in the root of the repository.
Source text
web-runtime.architecture.md · Apache-2.0
# Web runtime architecture Use the Archify skill in this repository to create an architecture diagram for a production web application. Browser users enter through a CDN over HTTPS, then traffic reaches a load balancer and an application API. The API verifies identity with an auth provider, reads through a Redis cache, queries a PostgreSQL primary database, and enqueues background work for a worker. Static assets are served from object storage. Author a fresh typed JSON diagram specification targeting the `showcase` quality profile. Choose your own stable internal IDs and layout. Preserve the system roles and labelled technical relationships. Use the bundled Archify CLI to validate and repair the candidate when shell access is available. The external harness will independently validate the frozen candidate. Write the final candidate to exactly `benchmark-candidate.json` in the repository root. Do not edit any other file. The candidate file, not the prose response, is the attempt 1 artifact. Do not copy a checked-in example. Do not claim that validation passed.
© tt-a1i · Apache-2.0 · tt-a1i/archify