Archify Diagrams
tt-a1i/archify
Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.
Render a reverse-spec rebuild package as traced, script-checked visuals — a Mermaid ER diagram of model.md entities, capability use cases as BPMN processes, and one browsable HTML catalog.
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill rebuild-package-diagrams -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard rebuild-package-diagrams --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams .claude/skills/rebuild-package-diagrams && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "rebuild-package-diagrams" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams into .claude/skills/rebuild-package-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebuild-package-diagrams", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/eng-disciplines/.pi/skills/rebuild-package-diagramsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill rebuild-package-diagrams -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard rebuild-package-diagrams --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .agents/skills && cp -r skills-src/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams .agents/skills/rebuild-package-diagrams && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "rebuild-package-diagrams" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams into .agents/skills/rebuild-package-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebuild-package-diagrams", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill rebuild-package-diagrams -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard rebuild-package-diagrams --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams .cursor/skills/rebuild-package-diagrams && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "rebuild-package-diagrams" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams into .cursor/skills/rebuild-package-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebuild-package-diagrams", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/BlackBeltTechnology/pi-agent-dashboard.git --path packages/eng-disciplines/.pi/skills/rebuild-package-diagrams--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill rebuild-package-diagrams -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard rebuild-package-diagrams --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams .gemini/skills/rebuild-package-diagrams && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "rebuild-package-diagrams" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams into .gemini/skills/rebuild-package-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebuild-package-diagrams", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard rebuild-package-diagramsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill rebuild-package-diagrams -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .github/skills && cp -r skills-src/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams .github/skills/rebuild-package-diagrams && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "rebuild-package-diagrams" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams into .github/skills/rebuild-package-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebuild-package-diagrams", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill rebuild-package-diagrams -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard rebuild-package-diagrams --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams .opencode/skills/rebuild-package-diagrams && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "rebuild-package-diagrams" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/eng-disciplines/.pi/skills/rebuild-package-diagrams into .opencode/skills/rebuild-package-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rebuild-package-diagrams", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
rebuild-package-diagramsRender a reverse-spec rebuild package as traced, script-checked visuals — a Mermaid ER diagram of model.md entities, capability use cases as BPMN processes, and one browsable HTML catalog.
Rebuild Package Diagrams is an agent skill from BlackBeltTechnology/pi-agent-dashboard. Render a reverse-spec rebuild package as traced, script-checked visuals — a Mermaid ER diagram of model.md entities, capability use cases as BPMN processes, and one browsable HTML catalog. Use on "ER diagram from the entities", "draw the data model", "use cases as BPMN", "browsable HTML of the rebuild package", "ER diagram az entitásokból", "üzleti folyamat BPMN-ben".
Its SKILL.md is about 4.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 65 other files, including scripts, reference files and assets (for example `SKILL.md.AGENTS.md`, `assets/ifml-js/README.md` and `assets/ifml-js/ifml-navigated-viewer.production.min.js`).
It sits in Development, covering Diagrams. It works with Mermaid. The repository describes itself as: Real-time web dashboard for pi coding-agent sessions. Multi-session view, live chat mirroring, integrated terminal, diff viewer, pi-flows execution, and mobile-first remote… The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 7a2d171. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (JavaScript, from the files we listed), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Rebuild Package Diagrams loads about 4.8k tokens when it runs, and up to ~18k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 2,260 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from BlackBeltTechnology/pi-agent-dashboard at commit 7a2d171, republished under its MIT licence (© BlackBeltTechnology). 2,260 words, ~4,759 tokens.
.claude/skills/rebuild-package-diagrams/SKILL.md (or your agent's skills folder). This skill also uses 62 other files; get the full folder from GitHub.Turn the text of a reverse-spec-for-rebuild package into two visual views without
inventing anything:
model.md with keys and cardinality.capabilities/<cap>/spec.md as BPMN 2.0.The agent does the judgement (which entities are domain, which cardinality, which requirements form a use case). A deterministic script is the gate: it refuses any entity, field or rule id that is not in the package, any relation without evidence and any BPMN node without a resolvable ref.
PKG = a rebuild package directory holding model.md, rules.md, quirks.md,
gaps.md, capabilities/<cap>/spec.md (the reverse-spec-for-rebuild layout). Output
goes to PKG/diagrams/ unless the user names another place. The source package is never
edited.
D = node <this skill dir>/scripts/diagrams.mjs — subcommands extract-model,
render-er, check-trace, check-use-cases, build-site (Node ≥ 20, no deps; exit 2 =
bad usage/input). Parsers/gates live in scripts/lib.mjs, the catalog assembly in
scripts/site.mjs, the page in templates/catalog.html, templates/catalog.css,
templates/catalog.js.
Optional peers: mmdc (Mermaid CLI) for PNG/SVG; the bpmn-package-explorer skill for
BPMN layout, validation and the canvas viewer. Without them the .mmd/.bpmn sources are
still produced and checked.
$D extract-model PKG/model.md > PKG/diagrams/model.json. Each entity carries
capabilities, identity, persistence, persistent (heuristic: persistence line
names a table/row/collection/DB), fields[] and relationships text.references/er-mapping.md: domain (persisted business data or the in-memory
aggregate that owns it), config, ui, test, technical. Only domain goes
on the main diagram. Write the classification table to PKG/diagrams/er-scope.md
(entity · class · one-line reason) so the user can overrule it.PKG/diagrams/er/<cluster>.json and one overview.json (≤ ~25 hub entities,
no attributes — a 40-box overview with attributes is unreadable) in the er.json schema of references/er-mapping.md: keys (PK/FK/UK)
and a few business-defining fields per entity; relations with cardinality, label,
confidence, evidence. Evidence = a verbatim substring of either endpoint's
Relationships: text, or the exact name of a field on either endpoint.$D render-er PKG/diagrams/er/<x>.json PKG/diagrams/model.json > PKG/diagrams/er/<x>.mmd
for each file. Exit 1 lists every violation — fix the JSON, never the check. Relations
not confirmed render dashed.mmdc exists: mmdc -i x.mmd -o x.png -b white -s 2 (see Pitfalls
for the Chrome path).references/bpmn-mapping.md: a ### Requirement: (or a
chain of them across capabilities) is a use case when an actor (user role, ERP,
scheduler/timer) triggers a multi-step outcome with at least one decision or failure
path. Pure data-shape, rendering and config requirements are not. Write them to
PKG/diagrams/use-cases.json — [{id, name, actor, trigger, requirements: ["spec:<cap>#<Requirement>"], refs: ["BR-…"], entities: ["<model entity>"], bpmn?: "bpmn/<uc>/<uc>.bpmn"}] — and run $D check-use-cases PKG (exit 1 lists dangling
requirements/refs, unknown entities, missing bpmn files, duplicate ids). Ask the user
which to draw when there are more than ~8 candidates..bpmn (no DI) in
PKG/diagrams/bpmn/<use-case>/: scenario WHEN → trigger/start or gateway condition,
THEN → task(s), failure scenarios → error branches, actors → roles in package.yaml
(lanes are not used). Every node except start/end carries a
<bpmn:documentation> with refs: BR-NNN, QUIRK-NNN, GAP-NNN and/or
spec:<cap>#<Requirement name> (exact heading text).$D check-trace <file.bpmn> PKG — exit 1 lists undocumented nodes and dangling refs.bpmn-package-explorer is installed, follow its generation workflow on the
use-case folder (envelope check, auto-layout + layout guard, viewer on the canvas). Its
authoring envelope applies: allow-listed elements only, incoming/outgoing on every
flow node, callActivity instead of inline sub-processes.(quirk). A GAP- on a node means the step depends on unknown config/data — keep it,
do not guess the branch.scripts/render.sh PKG [APP] runs every applicable gate and render step and stops at
the first failure: check-use-cases → check-architecture (--app APP) + arch when
diagrams/architecture.json exists → ifml + check-ifml + round-trip ifml-diff
(must print "no differences") when ui/screens/ exists → build-site to
PKG/diagrams/catalog.html with every viewer found: bpmn-js (BPMN_JS_DIR, default the
sibling bpmn-package-explorer assets), Mermaid (MERMAID_JS, default next to mmdc),
IFML from the vendored assets/ifml-js/ (ifml-js 0.3.0, bpmn.io licence: keep the
watermark; override IFML_JS_DIR). Ends with RENDER OK. The steps below are what it runs.
use-cases.json passing check-use-cases, each drawn
.bpmn laid out (the bpmn-package-explorer pipeline writes DI into the file).
Optional question register PKG/diagrams/questions.json — [{id, text, severity (key|high|medium|low), status?, source?, claim?, note?, codeCite?, refs: ["BR-…"], group?}] (e.g. the open questions of a doc↔package comparison); build-site refuses
dangling refs and duplicate ids.
Optional UI model PKG/ui/screens/*.json (screen/dialog records: actions with trigger,
handler, guards, refs, effects[{kind, step, target, cite, refs}], dialogs,
navigation, forms[{form}]) and PKG/ui/forms/*.json (form records: fields with labels,
type, required, editable, computed, validations, views, definedIn cites). build-site
refuses duplicate screen/action/dialog ids, dangling guard/ref/effect refs and screen form
refs without a record. In use-cases.json, optional screens: ["SCR-…"] and
altFlows: [{label, bpmn}] (e.g. a flow derived from code) are gated by
check-use-cases and build-site (unknown screen, missing file).
Alternate-flow nodes may document ui: <screen>#<action>; the catalog then lists those
actions on the use case (build-site refuses unknown ones).$D build-site PKG PKG/diagrams/catalog.html --bpmn-js <bpmn-navigated-viewer.production.min.js> --bpmn-css <diagram-js.css> --bpmn-css <bpmn.css> --bpmn-css <bpmn-font/css/bpmn-embedded.css> --mermaid <mermaid.min.js>. The bpmn-js files ship in bpmn-package-explorer's
assets/bpmn-js/; mermaid.min.js sits inside the mmdc install
(…/@mermaid-js/mermaid-cli/node_modules/mermaid/dist/). Without a library the page
still builds and shows a notice in place of that diagram.explicit / via requirement / in flow,
ER sub-diagram of their entities, items used by ≥2 selected marked shared, related use
cases ranked by overlap); every item links back to the requirements and use cases that
reference it. Parts are linked both ways: question ↔ rules/quirks/gaps ↔ requirements ↔
use cases; rule/quirk/gap → capabilities (from Capabilities: / Spec: / Affects:),
questions and the flow steps documenting it; capability → its items and questions;
use-case and merged views list open questions (shared when ≥2 hit). State is in the URL hash (#sel=UC-01,UC-03&view=merge), so views are
shareable links. Serve over HTTP (or open the file) and put it on the canvas.persistent flag is a hint: in-memory aggregates (e.g. a plan/production object)
can be the core domain, and config tables mention "table" too. Classify by reading.*_id field is evidence only for a
relation the Relationships: text or the target's identity supports. Unknown
cardinality → choose the weaker one and confidence: inferred.inferred, and named in the label.erDiagram entity names must be identifiers; the script replaces other
characters with _, so prefer entities whose names are already clean on the diagram.mmdc may fail "Could not find Chrome": pass -p cfg.json with
{"executablePath": "<Chrome binary>", "args": ["--no-sandbox"]}.spec: refs from each; do not merge two use
cases just because they share a screen.spec: refs end at ; or newline — spec:cap#Name (note) is a dangling ref.bpmn-package-explorer: pass the package dir as an absolute path to
generate-cli.mjs (a relative . yields self-referencing symlinks → viewer 404). It
writes diagnostics.json into the package dir. UNBOUND warnings are expected when the
use case has no forms/decisions.er/*.json passes render-er (exit 0); er-scope.md lists every entity of
model.json exactly once..bpmn passes check-trace (exit 0) and, when available, the
bpmn-package-explorer generation pipeline.use-cases.json passes check-use-cases; nothing on a diagram lacks a package ref.catalog.html opens offline, a multi-select merge shows flows + ER + shared markers.Produced by the reverse-spec-for-rebuild frontend UI phase (its ui-extract programs
style-kit.mjs + screen-plan.mjs with a stack adapter): PKG/ui/style-kit.json (colour/font tokens with uses and cites, font-size and radius
scales, components = original selectors + declarations + cite) and PKG/ui/plans/<screenId>.html
(self-contained page: original template + toolbar flattened, styled with the kit, every control numbered
and linked to an action, field, unmapped reason or the app shell). build-site embeds both and refuses a
plan without a screen/dialog record. Catalog: screen page shows the plan in a sandboxed frame (open in new
tab; legend action links post {type: "screen-plan-open", screen, action} and open the action); header
Style kit button → #view=kit:.
BPMN step → UI action links per use case, each with evidence (a ref shared by use case and
action, or a cite inside the action's handler/effect cites), or a noUi reason. uc-link-draft PKG <UC> lists steps and ref-sharing candidates; reverse-spec-for-rebuild's linker writes
PKG/diagrams/uc-links/<UC>.json; gate check-uc-links PKG --complete (also in render.sh
and build-site). Links extend each use case's screens / uiActions (CRUD columns, IFML
scope, flows) and show as a step → action table on the use-case page. Rules:
references/uc-links.md.
Which behaviour each customer's configuration switches on. Inputs from reverse-spec-for-rebuild:
ui/_config-reads.json (config-reads.mjs: paths read by code + variants with customer/env) and
ui/_effective/. variability-draft PKG out.json → path × variant values; its classifier writes
diagrams/variability/features.json; gate check-variability PKG APP --complete (render.sh with
APP; build-site structural). variability PKG outDir → variability.csv (feature × variant),
variability-customers.csv, variability-findings.md (dead everywhere, single-customer,
constant, customers without own feature, unreachable UI per customer), feature-model.xml
(FeatureIDE). Catalog: Variability view (by customer / by variant, customer pages with
unreachable UI), feature table on affected screens. Rules: references/variability.md.
What customers actually do, from the application's own logs. A project job lists the log sources
per customer ({sources: [{customer, file, encoding?, format: json|csv, table?, columns: {type, user?, time?, object?}, kind}]}). usage-draft PKG APP JOB PKG/_local/usage-draft.json → types with
total counts and code candidates (no customer data; refuses identifying type columns); reverse-spec-for-rebuild's mapper writes diagrams/usage/mapping.json (shared, no
customer data); gate check-usage PKG APP JOB --complete. usage PKG JOB PKG/_local/usage →
usage.json, usage-findings.md, usage-by-usecase.csv (users pseudonymized), then the privacy
gate check-usage-output PKG/_local/usage JOB. render.sh does both with USAGE_JOB (+LOCAL=1
for counts). Shared catalog: Usage view with the mapping only; local catalog adds counts.
Rules: references/usage.md.
Entity × use case / screen C/R/U/D matrix with findings (never written, never read, created but
never deleted, untouched). crud-draft PKG <SCR> drafts each screen's data effects with entity
candidates; reverse-spec-for-rebuild's CRUD classifier writes PKG/diagrams/crud/<SCR>.json;
gate check-crud PKG --complete; crud PKG <outDir> exports CSV + findings; render.sh does both
and the catalog gets a CRUD view. Rules: references/crud-matrix.md.
Diagrams over a size budget are split deterministically into an overview plus parts:
IFML by area (route + its dialogs) and by trigger-kind action groups, state machines by
merging parallel transitions, sequences into ref parts, ER sets by authored cluster.
Parameters: --max-nodes / --max-edges (default 30 / 40) on build-site, behaviour,
ifml-parts, check-size; render.sh reads MAX_NODES / MAX_EDGES (STRICT_SIZE=1
fails on a part still over). diagrams.mjs check-size PKG [--strict] lists every diagram and
its split. Rules: references/splitting.md.
Records, gates, generators and masking: references/behaviour-mapping.md.
diagrams.mjs sequence-from-ui PKG <SCR#ACT> PKG/diagrams/sequences/<SEQ-id>.json
drafts one per user action from the UI model (guards → alt, effects → messages, lifelines
by architecture component). Deepen past the data layer with reverse-spec-for-rebuild's
sequence generator. Gate: check-sequences PKG --app APP. Collaboration diagrams are
projected automatically.reverse-spec-for-rebuild's
state-machine generator into PKG/diagrams/state-machines/. Gate: check-states PKG --app APP.objects-synth PKG <Entity> PKG/diagrams/objects/<OBJ-id>.json (shared);
real data only with objects-from-db PKG <job.json> PKG/_local/objects/<OBJ-id>.json (masked
unless keep; _local/ stays out of version control and out of the shared catalog).
Gate: check-objects PKG [--local].render.sh gates them, exports PKG/diagrams/behaviour/ (.mmd, .collab.mmd, .scxml)
and embeds them; LOCAL=1 render.sh … writes PKG/_local/catalog.local.html with real data.
Catalog: Behaviour button, sequence/state-machine/object pages, backlinks.Optional PKG/diagrams/architecture.json (people, systems, containers, components, deployment
nodes, relations; each with cites and refs; mapping: references/architecture-mapping.md):
$D check-architecture PKG --app <appDir> — nesting, hosts, relation ends, refs; with --app
every cite must exist in the code (file and line range). build-site refuses a broken model.$D arch PKG PKG/diagrams/architecture — workspace.dsl (Structurizr) + c4.md (Mermaid C4).#view=arch:c4-context|c4-container|c4-component:<id>|c4-deployment|c5;
element pages #view=archel:<id>; rules, requirements, capabilities, screens and use cases
link back to the elements that reference them.With a UI model (PKG/ui/screens/*.json):
$D ifml PKG PKG/ui/ifml.xmi — projects the UI model to IFML 1.0 XMI with IFML-DI geometry
(mapping and layout: references/ifml-mapping.md); trace is in the dot-separated ids;
refuses to write a non-conforming file (exit 1); exit 2 without a UI model.$D check-ifml <file.xmi> — validates any IFML XMI against references/ifml-metamodel.json
(from the normative OMG metamodel); DI elements only need a resolvable modelElement.build-site … --ifml-js <ifml-navigated-viewer.production.min.js> --ifml-css <diagram-js.css> --ifml-css <ifml-font-embedded.css> — catalog view #view=ifml:all|sel|<UC>|<SCR> rendered
with ifml-js (npm ifml-js, bpmn.io license: keep the watermark visible): zoom to scope,
out-of-scope dimmed, use-case actions highlighted, click opens screen/action/form; without
these flags a Mermaid approximation is drawn. XMI download button either way.Reverse and round-trip (edit in ifml.io / VS Code ifml-io, both on ifml-js):
$D ifml-to-ui <file.xmi> <outDir> — UI-model records from any IFML XMI (source: "ifml").$D ifml-diff PKG <edited.xmi> — element diff vs the package UI model (exit 1 if different).
--apply merges additions, renames, guard and validation changes into PKG/ui/, keeps every
cite/effect, never deletes (removals stay reported). Review the diff before --apply.
Pitfall: an editor rename of the Action (not the event) lands in ifmlActionName, the
action label follows the event name.© BlackBeltTechnology, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 62 other files (scripts, references, assets) in packages/eng-disciplines/.pi/skills/rebuild-package-diagrams of BlackBeltTechnology/pi-agent-dashboard.
Open the folder on GitHubat commit 7a2d171
Rebuild Package Diagrams next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Rebuild Package Diagrams this skillBlackBeltTechnology/pi-agent-dashboard | 315 | — | ~4.8k | Automated safety check: Pass | MIT | |
| Archify Diagramstt-a1i/archify | 82k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Diagram Designcathrynlavery/diagram-design | 49k | 1 repos | ~7.6k | Automated safety check: Pass | MIT | |
| Draw.io Diagram StudioAgents365-ai/drawio-skill | 10k | — | ~2.4k | Automated safety check: Notes | MIT | |
| Pretty Mermaid Rendererimxv/Pretty-mermaid-skills | 1.5k | — | ~2k | Automated safety check: Pass | MIT | |
| Archify Diagram BuilderUnclecheng-li/AI_Animation | 1.5k | 2 repos | ~4.1k | Automated safety check: Pass | MIT |
tt-a1i/archify
Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
Agents365-ai/drawio-skill
Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.
imxv/Pretty-mermaid-skills
Writes and renders Mermaid diagrams as themed SVG, PNG or terminal ASCII and Unicode art with a bundled Node.js CLI that needs no browser.
Unclecheng-li/AI_Animation
Builds validated architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone interactive HTML from a small JSON spec, with optional motion and image export.
WH-2099/mermaid-skill
Generate Mermaid diagrams from user requirements. An agent skill from WH-2099/mermaid-skill.
BlackBeltTechnology/pi-agent-dashboard
Browser automation via the agent-browser CLI. An agent skill from BlackBeltTechnology/pi-agent-dashboard.
BlackBeltTechnology/pi-agent-dashboard
Diagnose failed GitHub Actions runs for pi-agent-dashboard: the 11-file workflow taxonomy, affected-test selection, the release pipeline, known failure modes, and how to read gh run logs and…
BlackBeltTechnology/pi-agent-dashboard
Diagnose problems in the running pi-agent-dashboard system: server.log, /api/health, bridge WebSocket connectivity, vitest triage, known-issue FAQ entries.
BlackBeltTechnology/pi-agent-dashboard
Disciplined implementation in pi-agent-dashboard: the rebuild matrix (extension→reload, server→restart, client→build+restart, openspec-apply→full rebuild) plus the project's code discipline rules.
BlackBeltTechnology/pi-agent-dashboard
Monitor and control the pi-dashboard server. An agent skill from BlackBeltTechnology/pi-agent-dashboard.
BlackBeltTechnology/pi-agent-dashboard
Turn a pi session into a Markdown "how-we-did-it" collaboration guideline: reads the session's JSONL transcript and synthesizes a reusable playbook of which prompts worked, what had to be steered…
Works with
Categories
Render a reverse-spec rebuild package as traced, script-checked visuals — a Mermaid ER diagram of model.md entities, capability use cases as BPMN processes, and one browsable HTML catalog. Rebuild Package Diagrams is an agent skill from BlackBeltTechnology/pi-agent-dashboard.md entities, capability use cases as BPMN processes, and one browsable HTML catalog.
Rebuild Package Diagrams fits situations like: tasks that involve Diagrams.
Run `npx skills add BlackBeltTechnology/pi-agent-dashboard --skill rebuild-package-diagrams -a claude-code`. Or copy the skill folder (packages/eng-disciplines/.pi/skills/rebuild-package-diagrams in BlackBeltTechnology/pi-agent-dashboard) into .claude/skills/rebuild-package-diagrams in your project. Claude Code loads it when a task matches its description.
Run `npx skills add BlackBeltTechnology/pi-agent-dashboard --skill rebuild-package-diagrams -a codex`. Or copy the skill folder (packages/eng-disciplines/.pi/skills/rebuild-package-diagrams in BlackBeltTechnology/pi-agent-dashboard) into .agents/skills/rebuild-package-diagrams in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add BlackBeltTechnology/pi-agent-dashboard --skill rebuild-package-diagrams -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rebuild-package-diagrams, .gemini/skills/rebuild-package-diagrams, .github/skills/rebuild-package-diagrams and .opencode/skills/rebuild-package-diagrams in your project.
Going by SKILL.md and its folder, Rebuild Package Diagrams needs JavaScript for the scripts in its folder. Our summary lists: Node.js.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Rebuild Package Diagrams is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.8k tokens (SKILL.md is roughly 19k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 13k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Rebuild Package Diagrams: Archify Diagrams (tt-a1i/archify, 82k stars), Diagram Design (cathrynlavery/diagram-design, 49k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars) and Pretty Mermaid Renderer (imxv/Pretty-mermaid-skills, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
BlackBeltTechnology (a GitHub organization) maintains it in BlackBeltTechnology/pi-agent-dashboard, which has 315 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on October 10, 2026.
Source: BlackBeltTechnology/pi-agent-dashboard on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.