architecture-map
Skill0 starsChanged 19 days agoMITView on GitHub
Generate or update the architecture page by reading the real repository: stack, Mermaid diagram, modules/apps, data, auth, key flows, integrations and deployment. Supports Notion (MCP) and a local docs/ARCHITECTURE.md, preserving manual notes after confirmation.
- Reads credentials
- Commits and pushes
11 other projects use a version of this.
Adopted by
Most recently taken up by
- marc-aurele-besner/skillabletheir own version, first seen Nov 29, 2026
- jeanjerome/pi-495their own version, first seen Nov 22, 2026
- MartinPLarsen/claude-architecture-skillstheir own version, first seen Nov 22, 2026
- RaditteAnggoro/skill-for-lazy-developertheir own version, first seen Nov 8, 2026
- DMcSweeney/ClaudeSkillstheir own version, first seen Oct 15, 2026
- kevintsai1202/architecture-maptheir own version, first seen Oct 2, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- almendili/skills★ 382same name
- MartinPLarsen/claude-architecture-skills★ 4same name
- cristian-robert/claude-code-harness★ 2same name
- Mesteriis/Engineering-Bible-AI★ 2same name
- jeanjerome/pi-495★ 1same name
- marc-aurele-besner/skillable★ 1same name
- RaditteAnggoro/skill-for-lazy-developer★ 1same name
- zanthrash/skills★ 1same name
- DMcSweeney/ClaudeSkills★ 0same name
- kevintsai1202/architecture-map★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- git-cleanupSkill
- skill-creatorSkill
- astro-architectureSkill
- monorepo-architectureSkill
- nestjs-architectureSkill
- nextjs-architectureSkill
- react-native-architectureSkill
- gh-cliSkill
- git-cleanupSkill
- pr-plain-reviewSkill
- backend-best-practicesSkill
- clean-codeSkill
- code-quality-reviewSkill
- design-patternsSkill
- frontend-best-practicesSkill
- solid-principlesSkill
- tdd-workflowSkill
- ssh-connectSkill
- ts-import-organizerSkill
- explain-changeSkill
- idd-applySkill
- idd-exploreSkill
- idd-planSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 5 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 45
Notion (MCP): if the user passes a Notion URL/ID or asks to write to Notion, use notion-fetch if the page already exists.
- Very specific: line 46
Local file: if Notion is not mentioned, look for docs/ARCHITECTURE.md, ARCHITECTURE.md and docs/architecture.md, in that order, to update …
- Distinctive: line 47
Preservation in update mode: read the whole current document and identify hand-written sections (ADRs, business decisions, roadmap, owners, …
- Distinctive: line 50
Follow the checklist in references/repo-discovery.md, excluding build folders, dependencies and files with secrets:
- Very specific: line 67
Add the freshness metadata at the end (Last updated: <YYYY-MM-DD> · Commit: <short-sha>).
- Distinctive: line 74
Wait for the user's explicit confirmation: before creating or editing files or Notion pages.
- Very specific: line 75
If updating in Notion, read again with notion-fetch right before notion-update-page so concurrent edits are not overwritten.
- Very specific: line 82
Only facts verified in the repo: every path, command, module or integration documented must have been checked in real files.
- Very specific: line 83
Zero secrets: never read .env, .env.local, .env.production, private keys or credentials.
- Distinctive: line 85
Strict preservation of manual notes: never delete ADRs, historical context, links or team notes that cannot be regenerated from the code.
- Very specific: line 86
No duplicate destination: if an ARCHITECTURE.md or a linked page already exists, update it instead of creating a second parallel copy.
- Distinctive: line 88
Documentation only: do not modify application code or run git commit or git push.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Architecture Map (mapa-arquitectura)
🎯 Purpose
Generate from scratch, or keep up to date, a project's living architecture page by reading the repository's real code (instead of stale documentation or assumptions). It produces a clear view of the system (verified stack, Mermaid diagram, modules/apps, data, security, key flows, integrations and deployment) in Notion or in docs/ARCHITECTURE.md.
⚡ When to Trigger
Trigger this skill when the user:
- Asks to create, generate or update the architecture page or document ("mapa-arquitectura", "update the architecture page", "document this repo's architecture").
- Has just merged structural changes or is onboarding someone and needs to sync
docs/ARCHITECTURE.mdor a Notion page with the real state of the code.
Do not use it to design a new project from scratch with prescriptive framework standards (use monorepo-architecture, nestjs-architecture, nextjs-architecture, astro-architecture or react-native-architecture for that).
📋 Workflow
Step 1: Determine the Destination and Mode (Create vs. Update)
Follow references/destinations.md:
- Notion (MCP): if the user passes a Notion URL/ID or asks to write to Notion, use
notion-fetchif the page already exists; if it is new, confirm which parent page or database to create it in. - Local file: if Notion is not mentioned, look for
docs/ARCHITECTURE.md,ARCHITECTURE.mdanddocs/architecture.md, in that order, to update in place without duplicating. If none exists, proposedocs/ARCHITECTURE.md(or first ask whether a Notion MCP is connected and they prefer Notion). - Preservation in update mode: read the whole current document and identify hand-written sections (ADRs, business decisions, roadmap, owners, external links) to keep them intact.
Step 2: Explore the Repository by Layers (Read-Only)
Follow the checklist in references/repo-discovery.md, excluding build folders, dependencies and files with secrets:
- Topology and manifests: monorepo vs. single app, runtimes and package manager.
- Apps, modules and boundaries: entry points, main routes, shared packages and dependency direction.
- Data and persistence: database, ORM/migrations, file storage, cache or queues (only if they exist).
- Auth, security and permissions: identity providers, middleware/guards and RLS rules.
- Integrations and environment variables: external SDKs and webhooks; list only the names of variables from
.env.exampleor configuration code (reading real.envfiles is forbidden). - Key flows: trace 1–3 main end-to-end paths, citing verified paths.
- Testing, CI/CD and deployment: verified scripts, workflows and deployment artifacts.
Step 3: Detect Drift (Update Mode Only)
Compare what you observed in Step 2 against the existing page and briefly list what is stale or new (modules added/removed, stack changes, new integrations, deployment migration or changed commands).
Step 4: Write the Architecture Map
Follow references/architecture-template.md:
- Adapt the sections to the project's real size (omit DB, queue or auth sections if they don't exist).
- Generate a valid Mermaid diagram (
flowchart TDorflowchart LR), quoting labels that contain parentheses, brackets or slashes. - Mark anything that cannot be inferred with certainty from the code as
[to confirm]instead of guessing. Pages written by earlier versions use[por confirmar]; treat it the same way and keep it in pages that already use it. - Add the freshness metadata at the end (
Last updated: <YYYY-MM-DD> · Commit: <short-sha>).
Step 5: Review Gate and Persistence
- Show in the chat:
- The exact destination (Notion URL/page or local path).
- On creation: the full draft.
- On update: the drift summary, the preserved manual sections and the updated content.
- Wait for the user's explicit confirmation before creating or editing files or Notion pages.
- If updating in Notion, read again with
notion-fetchright beforenotion-update-pageso concurrent edits are not overwritten. Do not edit source code or commit.
⚠️ Critical Rules
- Reply in the user's language, even though this skill is written in English. Write the page in the language of the existing page or, for a new one, the user's language.
- Only facts verified in the repo: every path, command, module or integration documented must have been checked in real files. Anything unverifiable is marked
[to confirm]. - Zero secrets: never read
.env,.env.local,.env.production, private keys or credentials; only variable names from.env.exampleor code. - Mandatory confirmation gate: writing to
docs/ARCHITECTURE.mdor Notion without first showing the proposal and receiving confirmation is forbidden. - Strict preservation of manual notes: never delete ADRs, historical context, links or team notes that cannot be regenerated from the code.
- No duplicate destination: if an
ARCHITECTURE.mdor a linked page already exists, update it instead of creating a second parallel copy. - Architectural level: explain boundaries, responsibilities and flows; avoid endless lists of every file in the repo.
- Documentation only: do not modify application code or run
git commitorgit push.
📚 References
- Repo discovery checklist: what to read by layer and which files to ignore.
- Architecture template and Mermaid: canonical structure, size adaptation and an example.
- Destinations and note preservation: flow for Notion MCP, local Markdown and safe merging.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

