Skip to main content
prompt CX Codex GP ChatGPT

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/web-runtime.architecture.md
Open on GitHub

What 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.md

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

Similar prompts

All prompts for Backend and APIs →

From the same set10

The whole set →
archify archify creates checked diagrams and one-page explainers as standalone HTML. Use it to show a system’s structure, data flow, or database schema. CX Codex +1 193,400installs cache-miss.sequence cache-miss.sequence drives the Archify skill to build a sequence diagram for a dashboard request that misses cache in Redis and falls through to PostgreSQL. CX Codex GP ChatGPT ★ 98,599repo stars product-analytics.dataflow This prompt guides Archify through a product analytics data-flow diagram, from web and mobile events to dashboards and a model, with a distinct path for consent-gated identity data. CX Codex GP ChatGPT ★ 98,599repo stars agent-tool-call.workflow agent-tool-call.workflow — a prompt for building a workflow diagram where an AI agent calls tools with human approval gates. CX Codex GP ChatGPT ★ 98,599repo stars agent-run.lifecycle agent-run.lifecycle instructs an agent to build a structured lifecycle diagram for an agent run using the Archify workflow. CX Codex GP ChatGPT ★ 98,599repo stars archify-review The archify-review skill weighs issues, pull requests, and code by value, cost, and impact. Use it for triage, change reviews, and maintenance decisions. CX Codex +1 ★ 98,599repo stars simplify-codebase simplify-codebase — a skill that audits a codebase for accidental complexity, then removes dead code, duplicated state or redundant layers once each cut is backed by evidence. CX Codex +1 ★ 98,599repo stars archify-tuning archify-tuning guides tuning and evaluation workflows for Archify diagram generation to improve visual layout and cut down repair cycles. CX Codex +1 ★ 98,599repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open