archify
Skill4 starsChanged 6 months agoMITView on GitHub
Generate interactive architecture, workflow, sequence, data flow, and lifecycle diagrams as self-contained HTML with verified evidence grounding. Key Principles: - Use stable, semantic IDs (e.g., auth-service, not node-42) - Map nodes to evidence (file paths, commits, URLs) - Use semantic colors (frontend, backend, database, security, cloud, messaging, external) - Write clear labels and descriptions Example Minimal Diagram: Common fixes: - Missing required field → add it - Unknown node reference → check spelling or add node - Workflow missing start/end…
47 other projects use a version of this.
Adopted by
Most recently taken up by
- UniClipboard/UniClipboardtheir own version, first seen Nov 29, 2026
- caihanbing/skillstheir own version, first seen Nov 29, 2026
- hybridlabor-api/aostheir own version, first seen Nov 29, 2026
- lora-sys/skillstheir own version, first seen Nov 29, 2026
- jangrui/skillstheir own version, first seen Nov 22, 2026
- changeroa/iyen-skillstheir own version, first seen Nov 22, 2026
Used with
Projects with it also use archify-review, hyperframes and 10 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.
Rajveerx11Skillarchify-review
Review Archify issues, PRs, or code through value, cost, and impact to support evidence-based maintenance decisions. Use for issue triage, change reviews, and code quality assessments.
Also in 3 projects that use this
OpenAISkillhyperframes
Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For CLI commands (init, lint, preview, render, transcribe, tts) see the hyperframes-cli skill.
Also in 3 projects that use this
GoogleSkillponytail
Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says "ponytail", "be lazy", "lazy mode", "simplest solution", "minimal solution", "yagni", "do less", or "shortest path", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests (general knowledge, prose, translation, summaries, recipes).
Also in 3 projects that use this
OpenAISkillusing-superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
Also in 3 projects that use this
CloudflareSkillreceiving-code-review
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
Also in 3 projects that use this
- +7 more from openai
Other versions47 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 47
- tt-a1i/archify★ 101ksame name
- anbeime/skill★ 7.9ksame name
- molvqingtai/WebChat★ 2.6ksame name
- UniClipboard/UniClipboard★ 2.1ksame name
- ajstrick81/morphe-androidtv-patches★ 336same name
- tam159/next-role★ 67same name
- aktsmm/Agent-Skills★ 27same name
- changeroa/iyen-skills★ 14same name
- nghiaphamhb/Ruvie-Agent★ 10same name
- hybridlabor-api/aos★ 9same name
37 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 repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 45 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Before writing, read the relevant schema definition in schema/schema.ts to understand required fields.
- Very specific: line 18
Look at the corresponding example in examples/ to see the exact structure and conventions:
- Very specific: line 26
Follow the authoring guide (docs/authoring-guide.md) and create a JSON diagram:
- Very specific: line 29
Use stable, semantic IDs (e.g., auth-service, not node-42)
- Distinctive: line 31
Use semantic colors (frontend, backend, database, security, cloud, messaging, external)
- Distinctive: line 32
Write clear labels and descriptions
- Distinctive: line 68
Read the diagnostic output and repair your diagram:
- Distinctive: line 113
Check diagram against schema and all validation rules.
“Common” is measured: kept by at least 6 in 10 of the 45 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
Archify: Diagram-as-Code Skill
Generate interactive architecture, workflow, sequence, data flow, and lifecycle diagrams as self-contained HTML with verified evidence grounding.
How to Use
1. Pick Your Diagram Type
- Architecture — System components, zones, dependencies (e.g., microservices)
- Workflow — Step-by-step processes with decisions (e.g., order fulfillment)
- Sequence — Timed message exchanges (e.g., OAuth2, API calls)
- DataFlow — Data transformations and pipelines (e.g., analytics)
- Lifecycle — Project phases and transitions (e.g., release stages)
2. Read the Schema
Before writing, read the relevant schema definition in schema/schema.ts to understand required fields.
3. Study an Example
Look at the corresponding example in examples/ to see the exact structure and conventions:
architecture-example.jsonworkflow-example.jsonsequence-example.jsondataflow-example.jsonlifecycle-example.json
4. Author Your Diagram
Follow the authoring guide (docs/authoring-guide.md) and create a JSON diagram:
Key Principles:
- Use stable, semantic IDs (e.g.,
auth-service, notnode-42) - Map nodes to evidence (file paths, commits, URLs)
- Use semantic colors (frontend, backend, database, security, cloud, messaging, external)
- Write clear labels and descriptions
Example Minimal Diagram:
{
"type": "architecture",
"version": "1.0.0",
"title": "My System",
"nodes": [
{ "id": "web", "label": "Web App", "color": "frontend" },
{ "id": "api", "label": "API", "color": "backend" },
{ "id": "db", "label": "Database", "color": "database" }
],
"edges": [
{ "id": "e1", "from": "web", "to": "api", "label": "HTTP" },
{ "id": "e2", "from": "api", "to": "db", "label": "SQL" }
]
}5. Validate
Validate your diagram using the CLI:
cat your-diagram.json | node bin/archify.mjs validateOutput:
✓ Validation passed
Nodes: 3
Edges: 2
Warnings: 1
⚠ Node 'web' lacks evidence tie6. Fix Errors & Warnings
Read the diagnostic output and repair your diagram:
- Errors (block delivery) — must fix
- Warnings (recommended) — should fix
- Info (feedback) — nice-to-have
Common fixes:
- Missing required field → add it
- Unknown node reference → check spelling or add node
- Workflow missing start/end → add start/end nodes
- Sequence out of order → fix
orderfield
7. Deliver
Once validation passes:
cat your-diagram.json | node bin/archify.mjs deliverOutput:
{
"delivered": true,
"sha256": "a1b2c3d4...",
"size": 2847,
"type": "architecture",
"title": "My System",
"version": "1.0.0",
"nodeCount": 3,
"edgeCount": 2
}The checksum proves deterministic, bit-perfect output.
8. View & Export
The delivered diagram is a self-contained HTML file. Use it to:
- Download SVG (for presentations)
- Download PNG (for documents)
- Share via link (no server required)
- Inspect interactive details (hover, zoom, toggle theme)
CLI Reference
validate
Check diagram against schema and all validation rules.
cat diagram.json | node bin/archify.mjs validateExit codes:
- 0 = valid (0 errors)
- 1 = invalid (errors present)
deliver
Validate, freeze spec, and generate checksums.
cat diagram.json | node bin/archify.mjs deliverOutput: JSON with SHA-256 and metadata.
preview
Generate HTML preview for browser inspection.
cat diagram.json | node bin/archify.mjs previewOutput: Path to temporary HTML file.
Validation Rules
Errors (Block Delivery)
| Rule | When | Fix |
| Missing type | No type field | Add: "type": "architecture" (or workflow, etc.) |
| Invalid type | type not in [architecture, workflow, ...] | Use a valid type |
| Missing version | No version field | Add: "version": "1.0.0" |
| Missing title | No title field | Add: "title": "My Diagram" |
| Empty nodes | nodes array is empty | Add at least 1 node |
| Unknown node ref | Edge references non-existent node | Check node IDs or add missing node |
| Workflow no start | No node with type: "start" | Add start node |
| Workflow no end | No node with type: "end" | Add end node |
| Sequence bad order | Messages not in order (1, 2, 3, ...) | Fix order field to be monotonic |
| Sequence < 2 participants | Less than 2 participants | Add participants |
Warnings (Recommended)
| Rule | When | Fix |
| Missing evidence | High-value node (security, database, etc.) has no evidence tie | Add evidence: { file, lines, commit, url } |
| Orphaned node | Node has no incoming or outgoing edges | Connect it or remove it |
| Empty zone | Zone declared but has no nodes | Add nodes to zone or remove it |
| Color mismatch | Node color doesn't reflect its type | Consider different color |
Schema Overview
Each diagram type has a specific schema. All share:
type(required) — diagram typeversion(required) — semver (e.g., "1.0.0")title(required) — human-readable namedescription(optional) — longer explanationnodes(required) — array of componentsedges(optional) — array of relationshipsmetadata(optional) — author, created, updated
Node Properties
id(required) — stable, semantic ID (alphanumeric + hyphens)label(required) — display namecolor(required) — semantic color (frontend, backend, database, security, cloud, messaging, external)evidence(optional) — proof:{ file, lines, commit, url }description(optional) — explain purpose
Edge Properties
id(required) — stable edge IDfrom(required) — source node IDto(required) — target node IDlabel(optional) — relationship descriptionevidence(optional) — proof of connection
Common Patterns
Architecture with Zones
{
"type": "architecture",
"nodes": [...],
"zones": [
{ "id": "client", "label": "Client Layer" },
{ "id": "api", "label": "API Layer" }
]
}Workflow with Decisions
{
"type": "workflow",
"nodes": [
{ "id": "start", "type": "start", ... },
{ "id": "check", "type": "decision", ... },
{ "id": "end", "type": "end", ... }
]
}Sequence with Message Types
{
"type": "sequence",
"messages": [
{ "id": "m1", "type": "sync", "order": 1, ... },
{ "id": "m2", "type": "async", "order": 2, ... },
{ "id": "m3", "type": "return", "order": 3, ... }
]
}Authoring Workflow
1. Choose type (architecture, workflow, etc.)
2. Read schema/schema.ts
3. Study examples/[type]-example.json
4. Author diagram.json (start with required fields)
5. Validate: cat diagram.json | node bin/archify.mjs validate
6. Read errors/warnings
7. Repair diagram
8. Revalidate (go to step 5)
9. Deliver: cat diagram.json | node bin/archify.mjs deliver
10. Get SHA-256 checksum (proof of bit-perfect output)Evidence Grounding
The most powerful feature: every node/edge can tie to source code.
Example:
{
"id": "auth-service",
"label": "Auth Service",
"evidence": {
"file": "src/services/auth/service.ts",
"lines": "42-120",
"commit": "abc1234"
}
}This means: "The Auth Service is defined in src/services/auth/service.ts, lines 42-120, commit abc1234."
Why it matters:
- Diagrams stay synchronized with code
- Future readers can find the implementation
- Reviewers verify against source
- Enables automated consistency checks
Best Practices
- Read before writing — Never guess the schema; read the example
- Stable IDs — Use semantic, immutable IDs (
auth-service, notnode-42) - Evidence on high-value nodes — Security, database, external services should have evidence
- Clear labels — 2-4 words, descriptive (not abbreviated)
- Semantic colors — Match color to node type (blue for frontend, green for backend)
- Validate early — Check after each meaningful edit
- Fix errors first — Errors block delivery; warnings are optional
Troubleshooting
| Error | Cause | Fix |
| "Unknown node 'x-service'" | Typo in node ID | Check spelling in schema example; copy-paste if needed |
| "Workflow missing start" | No node with type: "start" | Add { "id": "start", "label": "Start", "type": "start", ... } |
| "Message order not monotonic" | Order field not increasing (1, 2, 3...) | Renumber messages in order |
| "Zone 'x' has no nodes" | Zone declared but empty | Add nodes with zone: "x" or remove zone |
| "Checksum mismatch" | Diagram changed between validates | Input must be byte-identical for reproducibility |
Files & References
schema/schema.ts— TypeScript/Zod definitions (source of truth)examples/— 5 complete, validated examplesdocs/authoring-guide.md— Detailed LLM authoring instructiondocs/validation-rules.md— All validation rulesbin/archify.mjs— CLI tool (validate, deliver, preview)validator/— Validation implementationrenderer/— SVG generation and layout
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.

