Skip to content

Deterministic screenshot docs

Deterministic screenshot docs

docsxai

Write a flow once. Replay it forever. docsxai walks your running web app, follows written flows, and emits screenshot-rich user docs that re-render byte-identically in CI - no agent in the execution path.

$ pnpm add -g docsxai

Why it exists

Screenshot docs rot the moment the UI moves. docsxai treats them as a build artifact: a written flow is the source, the rendered doc pack is the output, and a re-run is the refresh.

// execution

Deterministic CI replay

A frozen clock, pinned locale, timezone, and viewport: the same flow against the same target state produces byte-identical screenshots. Baseline the pack, gate CI on pixel-level drift with diff —fail-on warn.

// calibration

Agent calibration, any MCP host

An agent authors the flow-file once, through the Claude Code plugin or the standalone MCP server, with lint, diagnose, and actionability probes at write-time. After that, every run is agent-free: no model in the loop, no token bill per refresh.

// plugins

A plugin runtime with teeth

Publishers, renderers, lint rules, and auth strategies extend the engine through a namespaced, capability-declared, sha256-locked runtime. Confluence and Starlight ship as first-party plugins.

// output

Docs as code, rendered three ways

One doc pack, three deliveries: an interactive viewer with halos and callouts, a production Astro Starlight site, or burned-annotation PNGs pushed to Confluence as ADF. Redactions mask sensitive UI before any pixel hits disk.

Made by Kalebtec · GitHub · Apache-2.0 licensed