AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Architecture Doc Builder

skill-zazzcode-zazz-skills-architecture-doc-builder · by zazzcode

>-

No reviews yet
0 installs
40 views
0.0% view→install

Install

$ agentstack add skill-zazzcode-zazz-skills-architecture-doc-builder

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-zazzcode-zazz-skills-architecture-doc-builder)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Architecture Doc Builder? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Architecture Doc Builder Skill

Startup Sequence

Before starting the dialogue:

  1. Use AGENTS.md as the source of truth for repo-specific settings such as docs root, tracking system, project-code

conventions, and documentation workflow rules. Read it if that context is not already available.

  1. Determine whether the architecture document is project-level or feature-level. For a feature-level architecture

document, locate the paired feature requirements document; if no feature requirements document exists yet, stop and recommend feature-doc-builder first.

  1. Identify whether you are creating a new architecture document, evolving an existing one, or converting a proposal

or transcript into a draft.

  1. Find the standards index and any existing architecture documents that should shape the discussion.
  2. Then begin the dialogue and keep the conversation at architecture scope rather than implementation-task scope.

Mission

Create or evolve an architecture document that explains the system design of a feature or subsystem at the technical level — module layout, per-roadmap-increment system and sequence diagrams, data model vision, cross-cutting concerns (permissions, errors, OpenAPI, settings, deployment), and technical open questions.

The architecture document should help answer:

  • how is this feature shaped inside the codebase
  • where does each piece of new code live and why
  • what does the system look like at each roadmap increment
  • which sequence of components participates in each use case
  • which technical decisions still need to be made

This skill is for architecture definition and evolution. It is not a deliverable-specification skill and it does not replace deliverable specification authoring or feature-level product definition.

It should help the lead developer or architect articulate technical decisions and per-roadmap-increment system shape that later inform deliverable design and acceptance.

Primary Audience

Work primarily with:

  • lead developer or architect
  • senior engineer driving the feature
  • technical stakeholders with system context

Secondary audiences for the resulting architecture document:

  • developers onboarding to the project
  • the development team designing deliverables
  • future agents that need technical context before creating deliverable specifications

Docs Root Convention

Use the repo docs root declared in AGENTS.md, the standards index, or another repo-local orientation document as the base for Zazz methodology artifacts. Example paths in this skill may use /... as shorthand.

Important: do not infer that a directory literally named docs/ is the docs root. Some repos use a Zazz root such as .zazz/, with .zazz/docs/ reserved for imported reference guides. In that layout, architecture documents belong under .zazz/architecture/, not under .zazz/docs/architecture/.

What This Skill Produces

Primary artifact:

  • Project-level architecture: /architecture/project-architecture.md
  • Feature-level architecture: /architecture/{feature-key}-architecture.md

Supporting discovery artifact:

  • create or update /architecture/index.yaml when the architecture document is created or materially revised

Boundaries

This skill does

  • define the technical shape of a feature inside the codebase
  • specify module placement, package layout, and code organization rationale
  • produce system diagrams scoped per roadmap increment
  • produce sequence diagrams scoped per roadmap increment, one per significant use case
  • define cross-cutting concerns (permissions, errors, OpenAPI, settings, deployment, IAM)
  • capture data model vision for future roadmap increments
  • record technical open questions and trade-offs
  • ingest proposals or design transcripts and turn them into an architecture document draft
  • produce handoff guidance for later deliverable specifications

This skill does not

  • write deliverable-level acceptance criteria or implementation tasks
  • replace feature-doc-builder (which owns product purpose, value, feature roadmap increments, user flows, permission

catalog at concept level)

  • replace proposal-builder when the team is still deciding whether or how to proceed
  • implement the feature
  • restate content already in the project or feature requirements document

Artifact boundaries:

  • proposal-builder helps decide whether or how to proceed
  • feature-doc-builder defines the long-lived feature, feature roadmap increments, and user-facing purpose
  • architecture-doc-builder defines the technical system shape and per-increment diagrams
  • spec-builder defines one deliverable's execution contract

Pairing With the Feature Document

Feature-level architecture documents and feature requirements documents are paired by name. If the feature requirements document is /features/reporting.md, the feature-level architecture document is /architecture/reporting-architecture.md. They cross-reference each other.

Project-level architecture documents also live under /architecture/, but they are paired with project.md instead of a single feature requirements document. Use a project-level architecture document for cross-cutting system shape: major services, modules, data stores, runtime boundaries, integration patterns, and decisions that affect many features.

Feature-level architecture documents are subservient to the feature requirements document. The feature requirements document is the canonical source of truth for feature roadmap increments, capability statements, and candidate deliverable lists. Project milestone names, dates, and deliverable assignments belong to the declared project planning source of truth, not the feature architecture document.

For feature-level architecture, the feature document owns:

  • purpose and value
  • feature roadmap increments — names, order, capability statements, candidate deliverables
  • permission catalog and concept-level permission model
  • user-facing flows at product level
  • product-level open questions

The architecture document owns:

  • system design and module placement
  • per-increment system diagrams
  • per-increment sequence diagrams for each significant use case
  • data model vision (current + future)
  • cross-cutting concerns (errors, OpenAPI, deployment, IAM)
  • technical open questions

Mirror rule

When drafting or updating a feature-level architecture document:

  1. Read the paired feature requirements document's feature roadmap overview and roadmap increment detail headings first.
  2. Use the same roadmap increment names, in the same order, in the architecture document.
  3. Do not introduce a roadmap increment that does not appear in the feature document.
  4. Do not rename or reorder roadmap increments in the architecture document.
  5. Do not record project milestone dates in the architecture document. Reference the declared project milestone

source of truth when timeline context is needed.

  1. If the architecture work reveals that a roadmap increment needs to be added, split, merged, or renamed, stop and

propose that change in the feature requirements document first. Update the feature requirements document, then mirror the change in the architecture document.

Roadmap increments should be major sections, not interleaved

Each roadmap increment gets its own top-level (##) section in the architecture document when the feature architecture needs staged technical evolution. Within that section, place everything specific to that increment: the system diagram for that increment, technical sequence diagrams for that increment's use cases, increment-specific module additions, and the end-of-increment summary. Do not interleave technical content from multiple increments inside the same section. Cross-cutting material that genuinely applies across all increments (architecture summary, final module placement, cross-cutting concerns, open questions) lives in dedicated sections before or after the per-increment sections. The result is that a reader can read one roadmap increment's section start-to-finish without confusing it with a project milestone.

Avoid duplicating content. Cross-reference the feature requirements document for the "why" and roadmap increment definitions; reference the project milestone source of truth for timeline dates when needed. The architecture document should describe the "how" at each roadmap increment.

For project-level architecture, use project.md and any relevant standards as the durable product/system context. Do not invent feature roadmap increments when the architecture scope is project-wide.

Interaction Modes

Mode A: Live lead-developer dialogue (default)

Use a conversational process with a lead developer or architect to draw out the system shape and per-increment technical evolution. Confirm assumptions by reading the code where assertions can be verified directly.

Mode B: Proposal or transcript ingestion

If the user provides a proposal document or technical-discussion transcript:

  1. summarize the proposed system shape and decisions
  2. infer current state and future roadmap-increment intent
  3. identify open questions and missing technical detail
  4. generate or refresh the architecture document draft

Mode C: Existing architecture-document revision

When the user already has an architecture document:

  1. read the current architecture document
  2. identify what changed after the latest roadmap increment or design discussion
  3. update current-state diagrams, roadmap-increment sections, and open questions
  4. preserve long-lived technical intent while refreshing stale sections

Mode D: Development mode

If the user says "development mode" or equivalent, the focus is on improving this skill itself. In development mode, you may edit .agents/skills/architecture-doc-builder/SKILL.md. Outside development mode, this file is read-only.

Human-Facing Usage Guidance

This is an interactive, back-and-forth skill.

The lead developer does not need to provide a complete architecture document up front. A strong starting prompt plus iterative dialogue is enough. The agent should:

  • ask clarifying questions about system shape, module placement, and per-roadmap-increment evolution
  • read the code to verify module names, existing patterns, and conventions before asserting them in the document
  • distinguish current behavior from planned future behavior in diagrams
  • help define per-roadmap-increment system and sequence diagrams
  • draft the architecture document early enough that the user can react to a concrete document

This skill should feel like a structured system-design conversation, not a deliverable-specification session.

Example starter prompts

Example 1: New architecture document paired with an existing feature document
Use architecture-doc-builder.
We have a feature document at /features/reporting.md.
Help me draft the paired architecture document that defines module placement, per-roadmap-increment system diagrams,
sequence diagrams for each use case, and the data model vision for the final increment.
Example 2: Update an existing architecture document after a roadmap increment
Use architecture-doc-builder.
Roadmap increment 2 of the reporting feature shipped.
Please update the architecture document so increment 2 reflects what is now live in code, and refine the next increment
diagrams based on what we learned.
Example 3: Proposal-first architecture-document drafting
Use architecture-doc-builder.
I have a proposal in /proposals/reports-s3-to-client-architecture.md that we've now committed to.
Please draft the architecture document from that proposal, with per-roadmap-increment system and sequence diagrams, and
ask follow-up questions where the proposal is ambiguous.
Example 4: Project-level architecture document
Use architecture-doc-builder.
Help me draft the project-level architecture document at /architecture/project-architecture.md so it captures
the major services, runtime boundaries, data stores, integration patterns, and cross-cutting technical decisions.

Prompt structure that works well

The best starting prompts usually include:

  • the architecture scope: project-level or feature-level
  • for feature-level architecture, the feature key and a pointer to the paired feature document
  • whether this is a new architecture document, an update, or a proposal-conversion
  • a request for iterative dialogue and drafting

Dialogue Principles

  • For feature-level architecture, always read the paired feature document first. For project-level architecture, read

project.md and the relevant standards first.

  • Verify before asserting. If the document will name a module path, a function, or a route URL, check it in the

codebase rather than guessing.

  • Keep the discussion at architecture level, not implementation-task level.
  • Scope diagrams per roadmap increment. A system diagram shows what the system looks like at that increment; a sequence

diagram shows one use case at that increment.

  • Do not produce cumulative diagrams that try to show every roadmap increment at once unless explicitly used as a top-level

summary.

  • Push back when the conversation collapses into deliverable-task or code-style detail that belongs in standards or

deliverable specifications.

  • Use proposals as evidence, not truth. Surface inferred assumptions and ask for confirmation.

No padding

Every sentence, table row, diagram, and section must justify its presence. Do not:

  • include sequence diagrams for cases that cannot realistically occur (e.g. "unknown report name" when the route

itself only fires for known names, "invalid parameters" when the UI prevents invalid input)

  • include sequence diagrams that describe behavior generic to every RBAC-gated route or every feature rather than

this specific feature

  • repeat the same point across milestones when one cross-cutting section captures it once
  • pad out a section with boilerplate text to give it more apparent substance
  • add sentences that summarize what the next section is about to say

If a diagram, section, or sentence is removed and the document still answers the same questions equally well, it was padding and should have been left out. Prefer a short, dense document over a long, repetitive one.

Required Inputs

Before drafting a serious architecture document, elicit or infer:

  1. architecture scope: project-level or feature-level
  2. for feature-level architecture, feature key and paired feature document path
  3. for feature-level architecture, roadmap increment list from the feature document
  4. current state of the codebase relevant to the architecture scope
  5. module placement plan
  6. per-increment use cases that need sequence diagrams
  7. data model vision if a future roadmap increment introduces persistence
  8. cross-cutting concerns to capture (permissions, errors, OpenAPI, deployment, IAM)

If important inputs are missing, continue the dialogue and mark assumptions explicitly.

Standards and Repo Context Integration

Process:

  1. Read /architecture/index.yaml if it exists to avoid duplicating or overlapping an existing

architecture doc.

  1. For feature-level architecture, read /features/index.yaml and load the paired feature document.
  2. For project-level architecture, read /project.md.
  3. Read /standards/index.yaml only as needed for system-level constraints that materially shape the

technical shape of the feature.

  1. Reference standards where they affect module placement or roadmap-increment decisions, but do not restate detailed

coding rules inside the architecture document.

The architecture document should stay system-oriented. Detailed coding conventions remain in standards. Deliverable-level test and execution detail remains in deliverable specifications.

Architecture Document Content Requirements

Each architecture doc

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.