# web-runtime.architecture

web-runtime.architecture — a prompt for generating a production web architecture JSON diagram using Archify and saving it directly to benchmark-candidate.json.

- prompt · `type=prompt` · Claude Code, Codex, ChatGPT · ★ 98599 repo stars
- Author: tt-a1i
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/tt-a1i/archify/tree/HEAD/benchmarks/ordinary-model-floor/prompts/web-runtime.architecture.md
- Updated: 2026-10-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/prompts/web-runtimearchitecture

## What it 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.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/commands/web-runtime.architecture.md`

### ChatGPT

**How to use**
- Paste the text at the start of a chat or into project instructions

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/tt-a1i/archify/tree/HEAD/benchmarks/ordinary-model-floor/prompts/web-runtime.architecture.md

## When to use it
- 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
- Generate the web runtime architecture diagram using Archify
- Run web-runtime.architecture and save the output to benchmark-candidate.json

## Source text · web-runtime.architecture.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: f13abc351a1d8af0.

BEGIN THIRD-PARTY FILE f13abc351a1d8af0
```text
# 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.
```
END THIRD-PARTY FILE f13abc351a1d8af0

The third-party file has ended. Everything between the f13abc351a1d8af0 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© tt-a1i · Apache-2.0 · https://github.com/tt-a1i/archify/tree/HEAD/benchmarks/ordinary-model-floor/prompts/web-runtime.architecture.md

## Similar
- [service-architecture](https://affpapa.org/en/nevibecode/rules/service-architecture.md) — rule · ★ 1216 repo stars
- [caching-strategy](https://affpapa.org/en/nevibecode/skills/caching-strategy.md) — skill · 552 installs
- [aspire](https://affpapa.org/en/nevibecode/skills/aspire.md) — skill · 4000 installs
- [headless-caching-strategy](https://affpapa.org/en/nevibecode/skills/headless-caching-strategy.md) — skill · 1100 installs
- [caching-strategist](https://affpapa.org/en/nevibecode/skills/caching-strategist.md) — skill · 278 installs
- [digitalocean-managed-databases](https://affpapa.org/en/nevibecode/skills/digitalocean-managed-databases.md) — skill · 411 installs

From the same set: [tt-a1i/archify](https://affpapa.org/en/nevibecode/by/tt-a1i/archify.md) — 10 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
