By sergioazoc
The Context Architecture skill: audit and structure a codebase (greenfield or brownfield) so it is legible to people and AI agents.
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub sergioazoc/context-architectureAudit and structure a codebase so it is legible to people and AI agents. Applies the nine principles of Context Architecture: make structure say what the system does, place AGENTS.md at boundaries, codify conventions in lint and types, find unbound claims, and back every claim the repo makes about itself with a check that fails when it stops being true. Works greenfield (a repo born legible) and brownfield (a repo restructured in steps).
Context Architecture is a software architecture for the age of AI agents: it structures a repository so that everything it claims about itself, its structure, its behavior, and who can change it, is legible to the agent writing the code and to the people who answer for it, and bound to a mechanism that fails when that claim stops being true. This is its canonical specification site. Introduced by Sergio Azócar in October 2025.
This repository is its own first case study. If you arrived here from the manifesto to check whether
the author structures projects the way he argues for, this README and the AGENTS.md files are the
answer. The structure is the argument.
A small, dense, prerendered specification site. Not a product landing page. It reads as an RFC: typography, structure, and almost nothing else.
.md file. The site
demonstrates its own thesis.Context Architecture applies both to a repository born legible from the first commit and to one that already grew without design. To apply it:
npx skills add sergioazoc/context-architecture
(Claude Code, Cursor, Codex, Copilot, and more), or copy
skills/context-architecture/SKILL.md / fetch the raw file at
context-architecture.dev/skill.md. The
skill page has per-tool install and update steps.The top level screams what the project is, not which framework built it:
content/ # the manifesto: source of truth, one file per locale
en/ es/ # /, /comparison, /guide, /glossary, /skill
app/
pages/ # one file per route; queries content, renders it
components/ # layout shell, person/agent toggle, MDC blocks (rule, diagrams)
composables/ # site metadata, structured data (manifesto + glossary schema)
app.config.ts # Nuxt UI theme: palette + prose reading typography
assets/css/ # design tokens + global base (UI strings live in each component's <i18n>)
skills/ # the distributable skill (context-architecture/SKILL.md)
server/ # one prerendered route: /skill.md serves the raw skill
Specs are design-time only (principle 06): written before code, turned into code, tests, and the
relevant AGENTS.md, then removed. The site's own spec was already turned into the files above, so
there is no specs/ directory to keep.
pnpm install
pnpm dev # http://localhost:3000
Conventions are codified, not tribal (principle 07). The CSS conventions are machine-checked by
oxlint with the oxlint-tailwindcss plugin:
pnpm lint # oxlint + oxlint-tailwindcss
pnpm typecheck # vue-tsc
pnpm test # vitest: the repo's claims about itself, bound
pnpm format # oxfmt (formats code; Markdown is excluded, it reflows MDC blocks)
pnpm format:check # oxfmt --check (the CI gate that fails on unformatted code)
Static generation, deployed to Cloudflare Workers as static assets:
pnpm generate # prerender to .output/public
pnpm deploy # generate && wrangler deploy
The nine principles in the manifesto are the author's methodology.
7-day visitors to each marketplace page
Matt Pocock's skills for real engineering, as an installable Claude Code plugin.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations
No description available.