- Home
- Skills
- Frontend & Web Apps
- Doc Architect Bundle
Doc Architect Bundle
by rADICor RNA
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.
Free
Doc Architect Bundle
Example session with this skill installed
Use doc-architect to build a Nextra site for my React component library in the current folder. Follow the extraction and scaffold phases first.
- Read your context and instructions
- Compiled the doc architect bundle
- Generated the app files
I have initiated the Doc Architect pipeline for your React component library.
Phase 1 (EXTRACT) and Phase 2 (PLAN IA) are complete. I have enumerated 12 core capabilities from your /src directory and mapped the information architecture.
Phase 1 & 2: Inventory and IA Report
| Metric | Value |
|---|---|
| Total Capabilities | 12 |
| Source Files Scanned | 8 (Button.tsx, Modal.tsx, Hooks.ts, etc.) |
| Planned Pages | 6 (Quickstart, Components, Hooks, API, Theming, Troubleshooting) |
| IA Depth | 2 Levels |
Capability Inventory Summary (docs/inventory.json)
- Theme Provider: Detected in
src/theme/index.tsx:14. - Button Variants: Primary, Secondary, Ghost detected in
src/components/Button.tsx:42. - Portal Hook: UsePortal implementation detected in
src/hooks/usePortal.ts:5. - Accessibility: ARIA-label support found in all UI primitives.
Information Architecture (_meta.js)
- Introduction:
index.mdx - Getting Started:
installation.mdx - Components: Directory with
_meta.js(Button, Modal, Input) - Hooks: Directory with
_meta.js(usePortal, useTheme)
Scaffold Status
- Assets:
assets/scaffold/copied to root. - Components: 7 premium components (
Hero,CodeTabs, etc.) initialized. - Styles:
globals.csswith design tokens deployed. - Typecheck:
pnpm typecheckpassed for scaffold.
Next steps
- Review the
docs/inventory.jsonto ensure no components were missed. - I will begin Phase 4: Authoring the
installation.mdxandButton.mdxpages using the 10-element template. - Run
pnpm testonce authoring is complete to verify coverage and a11y.
Button.tsx
ZIP · project files
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
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:
- Extract — read the project and enumerate every capability into docs/inventory.json. Over-enumerate.
- Plan IA — design the navigation and create a _meta.js for every directory.
- Scaffold — copy assets/scaffold/ verbatim: the design tokens, all seven components, config files, validator scripts, and the accessibility smoke test.
- Author — one MDX page at a time from the 10-element page template, filled from the inventory. Real values only.
- 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
- Extract — model reads the project per extraction-recipe.md, writes docs/inventory.json.
- Plan IA — model designs nav + _meta.js for every directory.
- Scaffold — model copies assets/scaffold/ verbatim, installs deps.
- Author — model fills page.mdx per page from the inventory + source.
- 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.
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
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 4 days ago
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in Frontend & Web Apps
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.