# Doc Architect Bundle

> Two skills designed to work in synergy: Doc Architect generates production-ready docs sites with a fixed design system and verifier gates, and Doc Reviewer audits an existing site against the same standard. One feeds the other.

Doc Architect Bundle is a free AI agent skill pack (several skills in one listing) on Agensi by rADICor RNA, in Frontend & Web Apps. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [rADICor RNA](https://www.agensi.io/creators/radicor-rna)
- Category: [Frontend & Web Apps](https://www.agensi.io/skills/frontend-web-apps)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/doc-architect-bundle
- Tags: documentation, ai-agents, web-design, nextjs, accessibility, mdx

## About this skill

### Doc Architect Bundle — two skills, asset-driven + verifier-gated

Two skills designed to work in synergy — one generates documentation, the other grades it. They share the same standard, the same design system, and the same 10-element page template, so one feeds the other: build with Doc Architect, audit with Doc Reviewer, fix what the audit finds, re-verify with the build gate.

This bundle replaces a single prose-heavy skill with files and checks. The goal is consistency across models: weaker models diverged because the old skill asked them to re-derive an entire design system and an unbounded extraction from adjectives. Here, they copy files and run validators.

#### The two skills

##### Doc Architect — BUILD (generate a docs site)

Generates a production-ready documentation site with a fixed, accessible design system. Works by constraint, not by taste: the design system, the seven components, and the page template ship as files the model copies — it does not design or re-implement them.

One ordered pipeline, each phase gating the next:

1. Extract — read the project and enumerate every capability into docs/inventory.json. Over-enumerate.
2. Plan IA — design the navigation and create a _meta.js for every directory.
3. Scaffold — copy assets/scaffold/ verbatim: the design tokens, all seven components, config files, validator scripts, and the accessibility smoke test.
4. Author — one MDX page at a time from the 10-element page template, filled from the inventory. Real values only.
5. Verify — run pnpm test and iterate until it passes. Definition of done: pnpm test exits 0. The coverage check proves every capability has a page; the accessibility test proves zero WCAG 2.1 AA violations.

##### Doc Reviewer — AUDIT (grade an existing site)

Grades an existing documentation site for information architecture, page-structure compliance, technical-writing quality, component and design-system consistency, WCAG 2.1 AA accessibility, and production/CI readiness. Produces a precise, prioritized report a team can act on — every finding with a severity (Critical / High / Medium / Low) and a precise location.

Auditing only requires recognizing quality, which models do reliably. Generating quality deterministically requires shipped assets and validators — that is Doc Architect's job. Keeping them apart is what made the audit consistent across models while generation diverged.

#### How they feed each other

- Build a site with Doc Architect, then run Doc Reviewer over it: the audit catches editorial quality the validators can't see, and the fix list feeds straight back into the build.
- Already have a site? Run Doc Reviewer first to get the prioritized fix list, then use Doc Architect to rebuild the failing parts against the same standard.
- The shared standard means a site built by one skill passes the other's checks by construction.

#### Why this fixes the three complaints

- Models don't extract full capabilities: Phase 1 requires docs/inventory.json; check-coverage.mjs fails the build until every capability has a page. Shallow docs can't pass.
- Minimal documentation: same coverage gate + check-pages.mjs enforcing the 10-element structure on every page (not just quickstart).
- Models invent their own UI/UX: the design system and 7 components are shipped files copied verbatim. There is nothing to re-design.
- Inconsistency across models: "Done" = pnpm test exits 0. The verifier is deterministic even when the generator isn't.

#### What's inside

- README.md (this file) and EVALUATION.md (the section-by-section critique of the original skill — the thinking behind this rebuild).
- doc-architect/ — BUILD skill: SKILL.md, README.md, assets/templates/ (10-element page template, sidebar template, inventory schema), assets/scaffold/ (globals.css design system, 7 token-driven accessible components, check-coverage.mjs, check-pages.mjs, a11y smoke test, package.json, next.config.mjs, theme.config.tsx, netlify.toml, lychee.toml, pages/_meta.js), references/ (extraction recipe, writing standards).
- doc-reviewer/ — AUDIT skill: SKILL.md, README.md, references/audit-rubric.md.

#### How to install

Drop doc-architect/ and doc-reviewer/ into your skills directory (e.g. ~/.config/opencode/PAI/USER/SKILLS/ or your Claude Code skills path). They are self-contained. The assets/ and references/ folders travel with each skill.

#### How a build run goes

1. Extract — model reads the project per extraction-recipe.md, writes docs/inventory.json.
2. Plan IA — model designs nav + _meta.js for every directory.
3. Scaffold — model copies assets/scaffold/ verbatim, installs deps.
4. Author — model fills page.mdx per page from the inventory + source.
5. Verify — model runs pnpm test and iterates until green.

If you ever want to change the look, edit assets/scaffold/styles/globals.css or a component once — every future site inherits it. That's the difference between shipping a design system and describing one.

#### Adapting to your preferred stack

Both skills ship with Nextra/Next.js as the reference stack. If your stack is not Nextra, ask your agent to adapt the bundle to your preferred stack (Docusaurus, MkDocs, VitePress, Astro Starlight, or any other). The adaptation keeps the same pipeline, the same rubric, and the same quality bar — only the shipped scaffold changes (port the tokens, the seven component contracts, and the validator logic to your framework; map the Nextra file references in the rubric to your stack's equivalents). Each skill's SKILL.md has a full adaptation section with the steps.

## Known limitations

Optimized for Nextra/Next.js. Requires pnpm for validation scripts. Non-Nextra stacks require asset porting. Accuracy relies on source code accessibility.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Doc Architect Bundle skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What exactly is included in the Doc Architect Bundle?

The bundle includes two specialized skills: `doc-architect` for structured site building and `doc-reviewer` for quality auditing, along with a pre-configured Nextra/Next.js scaffold, MDX templates, and automated validation scripts.

### How does this approach differ from just asking a standard AI agent to write my docs?

Unlike general-purpose prompts, this skill uses a gated, asset-driven pipeline that forces the agent to inventory your code before writing, ensuring no technical features are missed or hallucinated.

### Which technical frameworks and tools are required to use these skills?

The bundle is optimized for Nextra and Next.js projects using Tailwind CSS and PNPM; while the logic can be adapted, it provides the most value for teams using these specific frameworks.

### Can I use this on a documentation site that is already built?

Yes, the `doc-reviewer` skill is specifically designed to audit existing documentation for accessibility (WCAG 2.1 AA), broken links, and structural gaps, providing a prioritized list of fixes.

### What does the initial setup process look like for a new project?

Setup involves importing the skills into your AI agent environment and providing access to your project's codebase; the agent will then automatically generate the necessary `inventory.json` to begin the build.

### Does the bundle handle accessibility standards automatically?

The skill includes a suite of automated validators that check for WCAG 2.1 AA compliance, ensuring your documentation meets modern accessibility standards right out of the box.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
