archify
Skill4 starsChanged 5 days agoMITView on GitHub
Create validated architecture, workflow, sequence, data-flow, lifecycle/state, ERD, class, tree, timeline, and waterfall diagrams as explorable standalone HTML with dark/light themes, motion and image/SVG/WebM export. Accept requirements or Mermaid; inspect repository evidence for code-backed diagrams. Use when visualizing systems, API calls, pipelines, schemas, histories, timings, or everyday steps, parts, relationships and states. Also turn an answer into a one-page explainer, with the conclusion first, structured panels, native diagrams and charts, when the user asks for a page, an explainer or an answer to share (做成一页, 用页面讲), or proactively when the user's rules opt in with an [archify explainer: ...] line. Not for dashboards.
39 other projects use a version of this, 14 of them edited.
Adopted by
Most recently taken up by
- jgeofil/agent-skillsedited, first seen Nov 8, 2026
- aktsmm/Agent-Skillsedited, first seen Nov 8, 2026
- ajstrick81/morphe-androidtv-patchestheir own version, first seen Nov 8, 2026
- taixuann/development-spaceedited, first seen Nov 8, 2026
- ZhouYinLong-lab/Dog-Skillstheir own version, first seen Nov 8, 2026
- ClaireAll/skillstheir own version, first seen Nov 5, 2026
Used with
Projects with it also use archify-review, hyperframes 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.
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
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 versions39 projects use a version of this.
Word for word · 0
None found.
Edited · 14
- tt-a1i/archify★ 92k100% same
- tam159/next-role★ 6776% same
- aktsmm/Agent-Skills★ 2661% same
- runkids/my-skills★ 17100% same
- nghiaphamhb/Ruvie-Agent★ 10100% same
- cubxxw/agent-kit★ 215% same
- tt-a1i/archify-cursor-plugin★ 276% same
- cadecode/agent-skills★ 194% same
- taixuann/development-space★ 1100% same
- avocadosmasher/skill-storage★ 076% same
4 more not listed
Wrote their own version · 25
- anbeime/skill★ 7.9ksame name
- molvqingtai/WebChat★ 2.6ksame name
- ajstrick81/morphe-androidtv-patches★ 288same name
- ZhouYinLong-lab/Dog-Skills★ 7same name
- HK-hub/AgentSkills★ 6same name
- chancegraff/rules-for-claude★ 4same name
- l0190/DevSkills★ 4same name
- Arasz/ai-badger★ 3same name
- rzx007/openharness-ts★ 3same name
- rzx007/Vykor★ 3same name
15 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
- authSkill
- brainstormingSkill
- browser-toolsSkill
- code-reviewerSkill
- documentation-writerSkill
- fallow-auditSkill
- frontend-designSkill
- github-actionsSkill
- grill-meSkill
- harness-engineerSkill
- impeccableSkill
- linkedinSkill
- map-integrationSkill
- pidocSkill
- playwright-testerSkill
- ponytailSkill
- refactoring-uiSkill
- rust-skillsSkill
- sdk-developmentSkill
- self-learnSkill
- session-auditSkill
- skill-managerSkill
- systematic-debuggingSkill
- web-searchSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 3 are common, 6 are distinctive, and 5 are very specific to this project.
3
Common
Most of the 37 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Create checked standalone HTML as a native diagram or a one-page explainer that answers a question.
- Distinctive: line 21
When the user asks to draw or visualize a system, flow, schema or history, use a native diagram and the Type router.
- Very specific: line 29
When the user supplies a frozen candidate, run finalize first as one CLI invocation.
- Distinctive: line 35
Use this path for ordinary generation.
- Distinctive: line 56
Before the first candidate, use the authoring references and relevant repository source, not Archify implementation or tests.
- Very specific: line 74
When choosing among native diagram types is ambiguous, run node bin/archify.mjs guide "<scenario>" --json.
- Common: line 80
Read Mermaid for topology and meaning, then author fresh Archify JSON.
- Very specific: line 90
Use the finalize command above for the first candidate and after a repair.
- Very specific: line 96
When layoutReviewRecommendation.action is inspect-sequence-width, follow Sequence width review before handing off a newly authored Sequence.
- Very specific: line 100
Read Delivery contract for failed gates, standalone commands, provenance/recovery, repeated delivery, exports, or opening.
- Distinctive: line 104
When reporting verification details, distinguish artifact checks, browser evidence, captures, and actual perceptual review.
- Common: line 110
Read references/viewer-runtime.md only when the user explicitly asks for Share Cards, Route/Reach cards, motion, deep links, presentation, …
- Common: line 114
No install is required inside the skill package.
- Distinctive: line 128
When the user wants to understand a system or codebase rather than draw a described subject, add one or two sentences with the key takeaway.
“Common” is measured: kept by at least 6 in 10 of the 37 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
Create checked standalone HTML as a native diagram or a one-page explainer that answers a question.
Run commands from your working directory. Unless the user names another location, give each new artifact request its own folder .archify/<type>-<slug>-<YYYYMMDD-HHMMSS>/ there (local time, chosen once): keep the candidate and <slug>.html in it and reuse it for repairs. Native diagrams use candidate.json with meta.output relative to the working directory; explainers may use candidate.archify.md and a portable output filename. A later request gets a new folder. Replace bin/archify.mjs in every command with the installed package's absolute path, or its path relative to your working directory; CLI input and output paths resolve from that directory.
For a native diagram of a real codebase, read Repository authoring while tracing the requested behavior. A system description uses the native steps below; a frozen candidate uses the handoff path.
Choose the artifact
- When the user asks to draw or visualize a system, flow, schema or history, use a native diagram and the Type router.
- Use
explainerwhen the user asks for the answer as a page: a page, one page, an explainer, something to share (“做成一页”, “用页面讲”, “answer with a page”). Without such a request, answer in text or draw the requested diagram. A page made on request ends its reply with the one-line mode offer under Output. - A rules line in context changes this.
[archify explainer: proactive]: also make a page, unasked, for an explanation, comparison, trade-off, decision, diagnosis, review or plan that needs a table, steps or several sections.[archify explainer: always-on]: every reply that reaches a conclusion also gets a compact page of at most four panels, delivered without opening it, its link closing the reply.[archify explainer: on-demand]: only when asked, and never offer a mode. - In every mode a page needs a conclusion with some structure behind it: chat, one-line answers, raw command output and text-only requests get none.
- For
explainer, read Explainer authoring for its conclusion, reasons, scope, board layout and optional native diagrams. Write the complete draft, then runfinalize explainerfor validation, atomic delivery and artifact checks. Use panel patch for local content revisions.
Existing candidate handoff
When the user supplies a frozen candidate, run finalize first as one CLI invocation. Its passing receipt completes the automated gates; follow any visual review recommendation under Delivery before claiming visual quality. For repair, follow step 5.
finalize includes a bounded update check in its delivery receipt; see Update awareness.
Native diagram authoring
Use this path for ordinary generation. Read branch references only when their stated trigger applies.
- Choose
architecture,workflow,sequence,dataflow,lifecycle,erd,class,tree,timeline, orwaterfallfrom the question. - Use the exact schema and example paths in the Type router without listing their directories. Read Authoring defaults and the mode's example in a bounded batch separate from project documents and complete schemas so neither is truncated; recover any missing section before writing. For Architecture, use the matching showcase example. For every mode except Architecture, also read the mode and common schemas. Read the relevant schema definition before choosing any new field, enum, or constrained text, especially boundary kinds. Examples teach shape, not facts. Use fresh IDs, wording, and layout. Go directly to the candidate without preliminary help, doctor, starter validation, temporary diagrams, or output-path listing. Query brands only for an explicitly requested mark; read Brand marks for an unknown mark with a user-provided URL.
- Once the requested scope and, for a real codebase, source evidence are covered, write the complete candidate directly without planning coordinates in prose. Choose Architecture abstraction and connected placement using Authoring defaults before coordinates: show the main user journey and necessary branches, preserve control roles and behavior-changing conditions, and leave enough room for actual relationship labels. No node, relationship, source, view, card, or boundary count is a target or ceiling. Use automatic routes first; add explicit routing only for necessary branch, return, supplied geometry, or measured repair. Set
meta.quality_profileto"showcase"unless the user requests densestandard. For ERD, use a table-first layout: show every physical column inentities[].attributes, keep its SQL type and source comment, state every key role a column carries (keytakes a role or a list, so a junction column is["pk", "fk"], and everyfkcolumn also needsreferenceslike"orders.id"), and never move columns into cards as a substitute for the table. Classify tables into functional domains before placement, give each domain a concisetag, and place its members in one solid rectangle of grid cells — a single row, a single column, or a filled rectangular block, not an L or diagonal. A tagged table always needsrow/col, because absolute coordinates have no grid cells and a domain whose tables do not fill one rectangle cannot be drawn as a band: the renderer reportserd/domain-not-drawninstead of publishing a diagram that cannot name the domain. A multi-domain schema reads best as one domain per column — eachtaga vertical run — because the reader scales a wide canvas up to the reader width and shrinks a tall one until the page fits, so the wide arrangement is the one that stays complete and legible inside a laptop viewport. A schema-first ERD over roughly 8 tables or 50 fields is itself a dense map: author its first complete-field pass atstandardand upgrade only once the layout still reads. Once the complete first candidate is written, run
finalizedirectly. Its first gate is showcase validation; successful first drafts need no separate pre-validation. Keep the candidate unchanged while the command runs:node bin/archify.mjs finalize <type> <candidate.json> <output.html> --quality showcase --jsonFor a repository-backed candidate, include evidence on the first draft and use the complete first command:
node bin/archify.mjs finalize <type> <candidate.json> <output.html> --repo-root <repo-root> --quality showcase --json. Pass the--qualitythat matchesmeta.quality_profile, such asstandardfor a dense first ERD pass.A passing receipt proves the included
validate,deliver, strictcheck, and real-browserbrowser-checkgates passed. Use its compact summary; run standalone commands only for a separate request or focused failure diagnosis.- A non-zero exit is never success. Read compact stdout or
evidence.summaryReceipt, then repair the failed gate, including its repair limit. Preserve requested meaning and source evidence. For several tangled Architecture routes, read Architecture layout repair; for measured field or geometry failures, read Authoring contract. Edit the connected neighborhood and rerun the completefinalizecommand from step 4. Once a run has reachedbrowser-check, the output path owns that evidence: give every later run its own--out-dir <folder>/review-<n>.
Update awareness
finalize and standalone deliver include update in their receipts. Do not run a separate check for the same delivery. If update.noticeRequired is true, read references/update-awareness.md and keep one compact update notice in your final response to the user, even after a quality gate fails. For a task with several diagrams, mention the update once in the final response. Snooze or ignore a reminder only when the user explicitly asks; never install or update on your own initiative.
Before the first candidate, use the authoring references and relevant repository source, not Archify implementation or tests. Inspect Archify implementation if diagnostics remain unactionable after focused repairs.
Type router
| Type | Use for | Schema | Example |
architecture | Components, services, cloud/security boundaries, infrastructure; what something everyday is made of | schemas/architecture.schema.json | System descriptions, services, libraries, and CLI repos: examples/web-app.architecture.json; deployment repos: examples/production-deployment.architecture.json |
workflow | Processes, approval gates, tool calls, runbooks, CI/CD; plans and step-by-step life processes | schemas/workflow.schema.json | examples/agent-tool-call.workflow.json |
sequence | API call chains, request lifecycles, async traces, returns; back-and-forth between people | schemas/sequence.schema.json | examples/cache-miss-request.sequence.json |
dataflow | Pipelines, ETL/ELT, lineage, governance, consumers; where money or documents go | schemas/dataflow.schema.json | examples/product-analytics.dataflow.json |
lifecycle | State/status transitions, retries, waiting and terminal states; where an application or order stands | schemas/lifecycle.schema.json | examples/deployment-release.lifecycle.json |
erd | Tables/entities, attributes, primary/foreign/unique keys, cardinality between them | schemas/erd.schema.json | examples/orders.erd.json |
tree | Single-parent containment: repository/module trees, capability or feature breakdowns, org-style decomposition | schemas/tree.schema.json | examples/payment-platform.tree.json |
class | Classes, interfaces, selected members, and dependency/association/inheritance/realization/composition between types | schemas/class.schema.json | examples/payments.class.json |
timeline | When things happened: incident reviews, release histories, timestamped events on a proportional clock with source lanes | schemas/timeline.schema.json | examples/payment-incident.timeline.json |
waterfall | Where the time went: span durations, overlap, and nesting of one request or agent run on a common time axis | schemas/waterfall.schema.json | examples/checkout-request.waterfall.json |
When choosing among native diagram types is ambiguous, run node bin/archify.mjs guide "<scenario>" --json. Scenario proof examples are structural references, not facts to copy.
For an everyday subject, keep the same diagram modes and semantic types, then name them for the reader: use everyday icon values and meta.legend labels as in Node icons. Ask for missing personal facts instead of inventing dates, amounts, or rules.
Mermaid input
Read Mermaid for topology and meaning, then author fresh Archify JSON; do not mechanically render Mermaid styling.
flowchart/graph→workflow, orarchitecturefor a component map.sequenceDiagram→sequence; participants become semantic participants and arrows become messages.stateDiagram→lifecycle; states and transitions retain meaning, not Mermaid style.erDiagram→erd; entity and relationship names, keys, and cardinality retain meaning, not Mermaid style.classDiagram→class; type kinds, selected members, and relationship kinds retain meaning, not Mermaid style.
Delivery
Use the finalize command above for the first candidate and after a repair.
finalize stops at the first non-passing gate. Its compact stdout and <output-stem>.finalize-summary.json are ordinary evidence. A passing run creates no screenshots and reports visualReview: "not-requested".
When a passing Architecture receipt reports visualReviewRecommendation.signals.resolvedCrossovers, copy the candidate aside and apply the hints in one edit that changes only node positions and sizes: every node, relationship (including its from and to), label, and source stays as it was. Rerun the complete finalize once with --out-dir <folder>/review-2, because the previous HTML already owns its browser evidence. --out-dir relocates the new browser-check and default finalize receipts, not the HTML or its delivery receipt. Successful delivery rewrites that pair at the requested output path; earlier review evidence remains bound to its original artifact bytes. See review evidence paths. If that run fails, reports more crossings, or reports the same crossings with more signals.routesOverSuggestedBends, restore the copy and finalize it with --out-dir <folder>/review-3. Do not start a second placement round. Hints about extra bends alone are optional.
When layoutReviewRecommendation.action is inspect-sequence-width, follow Sequence width review before handing off a newly authored Sequence.
Perceptual review is optional for ordinary generation, including a newly positioned Architecture. Use Optional capture evidence, with --out-dir <folder>/visual-check, when the user requests visual review, during development audits, or for a concrete route/browser concern. visualReviewRecommendation is advisory. Inspect captures before claiming visual quality; qualify any check claim as automated when perceptual review has not occurred.
Read Delivery contract for failed gates, standalone commands, provenance/recovery, repeated delivery, exports, or opening. Native diagram recovery follows deliver → strict provenance check → browser-check; captures require strict provenance. Explainer delivery uses validate, deliver and check as described in its authoring guide.
For workflow viewport overflow, read Workflow viewport repair before the next layout edit.
When reporting verification details, distinguish artifact checks, browser evidence, captures, and actual perceptual review. For an explicitly requested immediate preview or active desktop loop, see Optional opening.
Optional viewer capabilities
Live motion is enabled by default for every rendered diagram; omit meta.animation. The Viewer’s Live/Still button controls playback.
Read references/viewer-runtime.md only when the user explicitly asks for Share Cards, Route/Reach cards, motion, deep links, presentation, search/focus, or another Viewer Runtime feature.
Setup and fallback
No install is required inside the skill package. For setup diagnosis, verify with:
node bin/archify.mjs doctor
node bin/archify.mjs demo <output-directory>For native diagrams, when shell access is unavailable, hand-place architecture SVG into assets/template.html, use CSS semantic classes rather than inline colors, and follow the visual review contract in references/delivery-contract.md. Explainers require their renderer and real delivery gates; if those are unavailable, report the limitation and give a text answer when useful, without claiming HTML delivery.
Output
Reply in the user's language, as briefly as the result allows; the diagram carries the content, so a single diagram usually needs one line.
- Lead with a clickable Markdown link to the HTML: a descriptive title, not the file name, and its absolute path, wrapped in
<...>when it contains spaces. - When the user wants to understand a system or codebase rather than draw a described subject, add one or two sentences with the key takeaway. Skip sentences that only restate what the diagram obviously shows.
- State anything that changes how the diagram should be read: the abstraction level or deliberately omitted parts when a reader might expect them, illustrative rather than measured values, missing source evidence, or requested content dropped or merged during repair.
- For several diagrams, report completion once with a link to an existing overview or compact per-diagram links, not a directory path.
Do not recap commands, repair rounds, hashes, quality profiles, or check lists; they stay in the receipts. If asked whether the diagram was verified, answer in one line, such as “Automated checks passed; not visually reviewed.” Give receipt links and details only for reproducibility or troubleshooting. Disclose requested visual review that could not run, and claim visual inspection only when performed. Keep the required update notice under Update awareness.
Example: Created [Checkout request timing](/abs/path/checkout-timing.html). Durations are illustrative, not measured.
For an explainer, reply in two or three lines: the conclusion and the page link. Mention gates only when one failed or writing warnings remain; do not paste the draft.
After an explainer made on request, when no [archify explainer: ...] line is in context, end the reply with one optional line offering the proactive mode, once per conversation, for example: “需要的话,以后遇到解释、对比、排查这类问题,我可以主动做成这样的页面,要开启吗?” If the user accepts, add [archify explainer: proactive] Make an Archify explainer page, unasked, for explanations, comparisons, decisions, diagnoses, reviews and plans that need a table, steps or several sections. to the global rules file of the current agent (such as ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md or ~/.config/devin/AGENTS.md) and name the file; deleting the line turns it off. If the user declines, offer to add [archify explainer: on-demand] so the question does not return.
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.

