shipping-artifacts

The durable documentation set that makes an AI-built (vibe-coded) app reviewable before shipping. A small core every app needs — architecture, user/permission flows, permissions, variables/secrets, and a test-coverage map — plus conditional docs added only when they apply: emails, scheduled work, SEO, and embedded agents/automation. Defines what each doc must capture and how a reviewer or auditor uses it. Use when documenting a codebase for handoff, mapping user journeys and trust-boundary crossings, planning test coverage, or preparing for a security or performance audit.

Shipping Artifacts: The Docs That Make AI-Built Code Reviewable

Purpose

AI agents write code fast, but they leave no durable record of intent — what the system is supposed to do, who is allowed to do what, where the secrets live, which rules are actually verified. Without that record, no human (and no auditing agent) can tell whether the code is safe to ship. This skill defines the small set of documents that restore reviewability.

These docs live in documentation/ at the repo root and are written for two readers: a human reviewer and the next AI coding agent. They are the intended-state half of every later audit — a security or performance review is only as good as the intent it can compare the code against.

How the set is organized

The set is not a fixed list — it is a small core plus conditional docs you add only when the capability exists.

Be brutally honest about the current state without being paranoid. The job is an accurate map, not a clean bill of health. Each doc is short, table-and-bullet heavy, and skips generic theory.

Core documents

Each entry: file · one-line purpose · what it must capture · how a reviewer uses it.

  1. architecture.md — what the system is and how it hangs together.
  1. flows.md — the journeys where permissions and side effects are actually exercised.
  1. permissions.md — who is allowed to do what.
  1. variables.md — configuration and secrets, mapped to risk.
  1. tests.md — the verification map: which documented rules are actually checked, which are only proposed, and which are checked by nothing.

Conditional documents (include only when the capability exists)

  1. emails.md — every notification the system sends. Include only if the app sends transactional or automated email.
  1. cron.md — all scheduled work and how to operate it safely. Include only if scheduled or background jobs exist.
  1. seo.md — how a single-page app handles SEO and social previews. Include only if there are public/indexable or bot-facing routes.
  1. automation.md — embedded agents and other automation paths. Include only if the app embeds AI agents, LLM workflows, tool-calling, webhooks, or external automation.

Notes