blueprint
Skill12 starsChanged 56 days agoMITView on GitHub
Documents observed or proposed software architecture with evidence-backed context, container, component, dynamic, data-flow, and deployment views. Use when the user needs architecture diagrams, onboarding material, trust boundaries, or a design view before a major change.
66 other projects use a version of this.
Adopted by
Most recently taken up by
- Rojios/everything-claude-codetheir own version, first seen Nov 8, 2026
- sanjaibalajee/skillstheir own version, first seen Nov 8, 2026
- DevvGwardo/blueprint-skilltheir own version, first seen Nov 8, 2026
- dimsedra/skillstheir own version, first seen Nov 8, 2026
- smilewilson1999/blueprinttheir own version, first seen Nov 8, 2026
- pankaj-mahaur/Agent-Daemontheir own version, first seen Nov 6, 2026
Used with
Projects with it also use assess, align and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AWSSkillassess
Run a 5-domain CAF security posture assessment for an AWS service. Produces (1) assessment-summary.md — CAF-structured findings with GAPS tables, (2) sar-facts.json — extracted SAR data, (3) checkpoint-results.json — factual checkpoint verification. These feed into the research, validate, and generate phases.
Also in 3 projects that use this
marylinSkillalign
Audit project structure, docs health, and lifecycle compliance. Use when a project feels disorganized, after major refactors, before onboarding a contributor, or periodically as a health check.
Also in 3 projects that use this
sahinSkillexecute
Also in 5 projects that use this
LangChainSkilldocker-patterns
Best practices for Docker containerization and multi-stage builds
Also in 3 projects that use this
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 7 projects that use this
HABUBUSSSkilleval-harness
Also in 3 projects that use this
Other versions66 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 66
- WordPress/agent-skills★ 2.3ksame name
- hyperlink-academy/leaflet★ 527same name
- astronomer/agents★ 459same name
- loulanyue/awesome-claude-notes★ 272same name
- Joonghyun-Lee-Frieren/oh-my-antigravity★ 214same name
- Joonghyun-Lee-Frieren/oh-my-gemini-cli★ 214same name
- team-attention/hoyeon★ 173same name
- Fmarzochi/EGC★ 61same name
- manusco/resonance★ 38same name
- smilewilson1999/blueprint★ 27same name
56 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 repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- backendSkill
- clearedSkill
- conciergeSkill
- distillSkill
- dittoSkill
- findableSkill
- frictionSkill
- frontpageSkill
- frugalSkill
- handsfreeSkill
- hardenSkill
- headroomSkill
- hotpathSkill
- hotseatSkill
- janitorSkill
- masterplanSkill
- pilotSkill
- polishSkill
- proofSkill
- recallSkill
- refereeSkill
- roadtestSkill
- runwaySkill
- scoutSkill
- sleuthSkill
- spelunkSkill
- unslopSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 15 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 65 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 44
Do not expose internal addresses, credentials, customer identifiers, private topology, or sensitive trust-boundary detail in a public …
- Distinctive: line 64
Use the smallest mode that answers the request.
- Distinctive: line 77
Use C4 terminology precisely: a container is an application or data store, not a Docker container by default.
- Very specific: line 91
Read the conditional menu in references/diagram-guide.md.
- Distinctive: line 94
Create an ADR only for a load-bearing decision with alternatives and meaningful consequences.
- Distinctive: line 112
Avoid monolithic documentation.
- Distinctive: line 123
before refactor → component view + the two flows being touched.
- Very specific: line 129
Use one .mmd file per diagram in docs/architecture/.
- Distinctive: line 175
Use repository search, manifests, deployment files, tests, traces, and user supplied infrastructure evidence before a generic diagram …
- Distinctive: line 177
Use Mermaid source as the portable default and the bundled validator for static checks.
- Distinctive: line 181
Use a diagram editor only when it can export a source-controlled artifact or the user explicitly wants an image deliverable.
- Distinctive: line 187
Do not add a speculative service as a neutral placeholder.
- Distinctive: line 203
Proposed change without authority: document alternatives and consequences, then stop at a decision request.
- Distinctive: line 210
Every node and non-obvious edge has evidence or a visible state label.
- Distinctive: line 222
Never fabricate infrastructure: no invented queues, replicas, CDNs, or "future" components drawn as if they exist.
- Distinctive: line 227
If the architecture is genuinely one app + one database, say that in one honest diagram instead of decorating it into a microservices saga.
- Distinctive: line 254
Read references/research.md when a decision depends on an external standard, a numerical claim, or a fast-moving practice.
“Common” is measured: kept by at least 6 in 10 of the 65 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
blueprint: architecture you can actually read
Diagrams exist to answer questions. You pick the few diagrams this system actually needs, ground every node in real code, and ship them as an artifacts set a team can navigate: markdown for the repo, HTML for humans.
When to use
- "document the architecture of this system"
- "draw the request flow for checkout"
- "diagram how the system should look after the refactor, marked as proposed"
When NOT to use
- "Where does X live?" →
spelunkquick mode. - "Will this scale? What should the architecture become?" →
headroomdecides; you can document the outcome. - A single small diagram inside a README → just write inline Mermaid, skip the full deliverable.
Prerequisites
Repository access. Analysis reuses spelunk deep mode when a fresh
docs/repo-map.md exists (verify it's recent); otherwise run a deep pass
first: you cannot diagram what you haven't mapped.
Identify the reader, decision, scope, and time boundary before drawing. A runtime map, a future proposal, a deployment view, and an incident timeline answer different questions and must not be blended. Capture the current commit, environment, and source of any infrastructure information.
Authority, provenance, and change boundaries
- Architecture documentation may inspect code, configuration, manifests, and supplied infrastructure records. It must not query production, change cloud state, or reveal secrets without explicit authority.
- Mark each element observed, inferred, proposed, or unknown. A diagram's visual confidence must not make an inference look deployed.
- Do not expose internal addresses, credentials, customer identifiers, private topology, or sensitive trust-boundary detail in a public artifact. Produce a redacted view when audience requires it.
- Preserve useful existing diagrams, ADRs, terminology, and links. Reconcile or date them; do not erase a historical view to make a proposed design look current.
- A diagram does not approve an architecture change. Hand a proposed decision to the appropriate owner with alternatives and consequences.
Operating modes
| Mode | Question | Minimum output |
| Current-state map | What is deployed or implemented now? | evidence map, context/container view, provenance |
| Change design | What could change and why? | current/proposed separation, sequence, ADRs, acceptance evidence |
| Onboarding | Where do I begin and how does work flow? | reader-focused context, containers, one dynamic path |
| Security boundary | Where does identity/data cross trust zones? | redacted boundary/data-flow view and open assumptions |
| Reliability review | How does failure propagate and recover? | dependency/failure/deployment view and operational gaps |
| Documentation recovery | Which existing diagrams are stale? | freshness audit, retained/updated/retired decision list |
Use the smallest mode that answers the request. A small repository may deserve one source-backed diagram rather than a ceremonial C4 set.
Evidence inventory and abstraction rules
Build an evidence table before creating nodes:
| Item | Evidence source | State | Confidence | Reader-safe label |
| Component/store/dependency | file, manifest, trace, or supplied record | observed/inferred/proposed/unknown | high/medium/low | diagram label |
| Relationship | call site, config, network rule, or contract | same | same | edge label |
| Ownership/decision | ADR, code owner, user statement | same | same | prose/ADR |
Use C4 terminology precisely: a container is an application or data store, not a Docker container by default; a component is a major internal responsibility, not every class or folder. Keep code-level detail in links or a targeted component diagram only when it answers the reader's question. Label data, protocol, direction, and synchronous/asynchronous semantics where ambiguity would affect a decision.
Diagram and ADR decision framework
Choose every artifact by reader question, not coverage. A context view explains
people and external systems; a container view explains runtime applications and
stores; a component view explains a bounded internal area; a sequence explains
one temporal path; a data-flow explains ownership/lifecycle; a deployment view
explains runtime placement; a failure view explains propagation and recovery.
Read the conditional menu in references/diagram-guide.md. For HTML or
untrusted diagram input, read renderer boundaries.
Create an ADR only for a load-bearing decision with alternatives and meaningful consequences. One ADR addresses one decision: status, context, decision, alternatives, consequences, evidence, owner, and supersession link. Do not write an ADR to describe a diagram or manufacture consensus. If decision authority is unknown, record an open decision rather than choosing.
Workflow
1. Analyze
From the repo map and targeted reads, identify components, data stores, external dependencies, and request paths. Every observed node must trace to code, configuration, deployment manifests, infrastructure state, or explicit evidence supplied by the user. Proposed nodes belong in a clearly marked proposed view; unsupported boxes do not belong in either.
2. Choose the diagrams that help (C4 Abstraction)
Avoid monolithic documentation. Pick only diagrams that answer named questions
for their audiences. Context and container views are the default; component,
dynamic, data-flow, and deployment views are conditional.
The menu in references/diagram-guide.md maps the question to the diagram type.
For each major component on a diagram, the README notes its reasoning in
one line: responsibility, boundary, dependency direction, data it owns,
failure mode, and explicit trust boundaries (where security contexts change).
A box without a reason is decoration. Common picks:
- new team onboarding → system context + container view + one request sequence;
- before refactor → component view + the two flows being touched;
- design doc for a feature → proposed sequence + data model delta;
- reliability review → failure path + deployment.
3. Write the Mermaid sources
Use one .mmd file per diagram in docs/architecture/. Split a diagram
when labels or relationships stop being legible. Labels name real things (api/index.ts,
Postgres, Stripe webhook): no "Service Layer Abstraction". Validate
each with the bundled checker: scripts/validate-mermaid docs/architecture/*.mmd
(a limited heuristic for diagram types, delimiters, and labels; it is not
a Mermaid parser and may reject valid syntax). Static checks don't prove
rendering: render once via mermaid-cli when available and say whether
you did.
4. Assemble the deliverable
docs/architecture/README.md: index: one paragraph per diagram (what question it answers, when to read it), mermaid blocks inline (GitHub renders them natively), plus Assumptions and Risk callouts sections, plus a Decisions section that links the plan's AgDRs when they exist (or states the 2–3 load-bearing decisions inline for small docs: a diagram without its decisions is a picture, not architecture). Opens with a provenance header (<!-- generated by blueprint on YYYY-MM-DD @ <short-sha>, map <fresh|re-run-date> -->) so readers can tell whether the diagrams describe current code.docs/architecture/architecture.html: fromassets/template.html: same content, navigable sidebar, zoomable diagrams, print-friendly. Fill every template placeholder; delete unused sections rather than shipping empty ones.
5. Verify and report
Spot-check rule: pick the two most load-bearing nodes across your diagrams and re-verify them in code (the module exists, the connection is real). Report what was verified vs. inferred.
6. Review for reader and change safety
Render every changed diagram in the same environment that readers use when possible. Check legibility at normal reading size, node/edge label clarity, diagram source validity, and links to evidence. Confirm a reader can tell: what is current, what is proposed, what crosses a trust boundary, what data is owned where, what fails first, and which claims remain uncertain.
For a changed architecture, review both directions: what new behavior enters the system and what existing contract, data, deployment, observability, or rollback path changes. Add an ADR or an explicit open decision when a diagram reveals a choice that future maintainers would otherwise rediscover.
Tool selection and fallbacks
- Use repository search, manifests, deployment files, tests, traces, and user supplied infrastructure evidence before a generic diagram template.
- Use Mermaid source as the portable default and the bundled validator for static checks. A static pass detects only limited syntax problems.
- Render through a project-approved renderer when available. Without it, check syntax, inspect source carefully, and mark visual rendering unverified.
- Use a diagram editor only when it can export a source-controlled artifact or the user explicitly wants an image deliverable. Do not leave the only source of truth in an opaque tool.
- For large systems, start with a context/container map and select one high-value flow. Split diagrams rather than shrinking type until unreadable.
- For uncertainty, use a labeled inferred edge, source link, or open question. Do not add a speculative service as a neutral placeholder.
Failure handling and edge cases
- Stale docs versus code: preserve the old view with provenance, create the corrected current view, and list the discrepancy. Do not silently overwrite history.
- Conflicting evidence: record sources and scope, then ask the owner or run the narrowest safe observation. Config and code can legitimately describe different environments.
- Missing infrastructure access: map the repository-observed boundary and name the unknown external pieces. Do not infer cloud resources from a library.
- Sensitive topology: publish a redacted audience-safe view plus a private evidence list only when the user authorizes both audiences.
- Diagram too dense: split by question, not by visual region; add a linking sentence and avoid duplicate ambiguous nodes.
- Proposed change without authority: document alternatives and consequences, then stop at a decision request. Do not turn a diagram into implementation.
Quality gates
In addition to the diagram-specific gates below, verify:
- Every node and non-obvious edge has evidence or a visible state label.
- Current, inferred, proposed, and unknown are visually/textually distinct.
- Diagram type, abstraction level, and scope match a named reader question.
- Trust, data ownership, failure semantics, and deployment claims appear only where evidence supports them or are called out as assumptions.
- Mermaid source validates; visual render status, source commit, and spot-check results are reported.
- ADRs contain a decision, alternatives, consequences, authority/status, and link to their relevant diagram rather than duplicating it.
Honesty rules
- Never fabricate infrastructure: no invented queues, replicas, CDNs, or "future" components drawn as if they exist. Proposed things go in a clearly-marked Proposed diagram or dashed nodes.
- Uncertain edges get labeled
(inferred)in the README, not silently drawn. - If the architecture is genuinely one app + one database, say that in one honest diagram instead of decorating it into a microservices saga.
Stop conditions
- Deliverable written + spot-checks reported → done.
- Repo too small to warrant the full set (single-file scripts) → say so, produce the one honest diagram, stop.
- Repo map conflicts with current evidence or is too old for the task's risk: refresh the relevant evidence before drawing.
Output contract
docs/architecture/
README.md ← provenance header + index + inline diagrams + decisions + assumptions + risks
architecture.html ← navigable, print-friendly deliverable
context.mmd ← one file per diagram (kebab-case names)
containers.mmd
request-flow.mmdChat summary: the diagram list with each one's question, the 1–2 risk callouts that matter most, and the spot-check results.
Research basis
Read references/research.md when a decision depends on an external standard, a numerical claim, or a fast-moving practice. The ledger records what the source supports, what it does not support, and when to reverify.
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.

