Agent skill

Rebuild Package Diagrams

by BlackBeltTechnology in 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.

MITAuto-check passedDevelopment

Install Rebuild Package Diagrams

skills CLI
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill rebuild-package-diagrams -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install BlackBeltTechnology/pi-agent-dashboard rebuild-package-diagrams --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ 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-src

Use ~/.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/

Facts

Skill name
rebuild-package-diagrams
GitHub stars
315
Token cost
~4.8k tokens
SKILL.md length
2,260 words
Files
63 (incl. scripts, references, assets)
Skills in repo
70
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 6 steps: $D extract-model PKG/model.md >… → Classify every entity (read identity +… → Group domain entities into 4–8 clusters… → …
  • Tasks that involve Diagrams
  • SKILL.md covers Inputs, Procedure — ER view, Procedure — process (BPMN) view and One-command render, plus 12 more sections
  • Runs JavaScript scripts from its folder

What it does

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.

When your agent uses it

  • Tasks that involve Diagrams

Example prompts

  • “ER diagram from the entities”
  • “draw the data model”
  • “use cases as BPMN”
  • “/rebuild-package-diagrams”

Requirements

  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. $D extract-model PKG/model.md > PKG/diagrams/model.json. Each entity carries
  2. Classify every entity (read identity + persistence, not only the flag) per
  3. Group domain entities into 4–8 clusters (one per subject area; capabilities are a good
  4. Author PKG/diagrams/er/.json and one overview.json (≤ ~25 hub entities,
  5. $D render-er PKG/diagrams/er/.json PKG/diagrams/model.json > PKG/diagrams/er/.mmd
  6. Render images when mmdc exists: mmdc -i x.mmd -o x.png -b white -s 2 (see Pitfalls

What it can do on your machine

Read from SKILL.md and the folder at commit 7a2d171. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

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.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~4.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~18k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from BlackBeltTechnology/pi-agent-dashboard at commit 7a2d171, republished under its MIT licence (© BlackBeltTechnology). 2,260 words, ~4,759 tokens.

Download SKILL.mdSave it as .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.
name
rebuild-package-diagrams
description
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".

Rebuild package diagrams

Turn the text of a reverse-spec-for-rebuild package into two visual views without inventing anything:

  • ER view — domain entities of model.md with keys and cardinality.
  • Process view — actor-triggered use cases of 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.

Inputs

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.

Procedure — ER view

  1. $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.
  2. Classify every entity (read identity + persistence, not only the flag) per 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.
  3. Group domain entities into 4–8 clusters (one per subject area; capabilities are a good first cut). Clusters keep each diagram readable (≤ ~15 entities).
  4. Author 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.
  5. $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.
  6. Render images when mmdc exists: mmdc -i x.mmd -o x.png -b white -s 2 (see Pitfalls for the Chrome path).

Procedure — process (BPMN) view

  1. Inventory use cases per 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.
  2. For each chosen use case author a semantics-only .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).
  3. $D check-trace <file.bpmn> PKG — exit 1 lists undocumented nodes and dangling refs.
  4. If 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.
  5. Quirks are drawn as the code behaves (they are real behavior); mark the node name with (quirk). A GAP- on a node means the step depends on unknown config/data — keep it, do not guess the branch.

One-command render

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.

Procedure — browsable catalog (one HTML file)

  1. Prerequisites: ER files gated, 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).
  2. Build with the viewer libraries inlined (offline, single file, ~5 MB): $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.
  3. The page: catalog tabs (use cases, capabilities, rules, quirks, gaps, entities) with search; tick use cases → merged view (flows switchable, union of requirements with scenarios, rules/quirks/gaps with source 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.

Pitfalls

  • The 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.
  • Do not invent foreign keys from naming alone; a *_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.
  • Polymorphic / config-driven links (e.g. "type references X names or Users.nuser") are drawn once per real target with inferred, and named in the label.
  • Mermaid erDiagram entity names must be identifiers; the script replaces other characters with _, so prefer entities whose names are already clean on the diagram.
  • Homebrew mmdc may fail "Could not find Chrome": pass -p cfg.json with {"executablePath": "<Chrome binary>", "args": ["--no-sandbox"]}.
  • A use case that spans capabilities uses 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.
  • When the package says a step's algorithm is unspecified, keep the step and say so in its documentation; never draw the missing internals.
  • 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.

Verification

  • Every er/*.json passes render-er (exit 0); er-scope.md lists every entity of model.json exactly once.
  • Every .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.
Show full SKILL.md (950 more words)Show less

Screen plans and style kit (optional)

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.

Customer variability (optional, configurable apps)

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.

Usage evidence (optional, local counts)

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.

CRUD matrix (optional, after the UI model)

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.

Diagram size budget (split large diagrams)

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.

Behaviour diagrams (sequence, collaboration, state machine, object)

Records, gates, generators and masking: references/behaviour-mapping.md.

  1. Sequences: 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.
  2. State machines: one per stateful entity field, written by reverse-spec-for-rebuild's state-machine generator into PKG/diagrams/state-machines/. Gate: check-states PKG --app APP.
  3. Object diagrams: 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].
  4. 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.

Architecture (C4 and C5)

Optional PKG/diagrams/architecture.json (people, systems, containers, components, deployment nodes, relations; each with cites and refs; mapping: references/architecture-mapping.md):

  1. $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.
  2. $D arch PKG PKG/diagrams/architecture — workspace.dsl (Structurizr) + c4.md (Mermaid C4).
  3. Catalog: Architecture button; views #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.

IFML (OMG Interaction Flow Modeling Language 1.0)

With a UI model (PKG/ui/screens/*.json):

  1. $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.
  2. $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.
  3. 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):

  1. $D ifml-to-ui <file.xmi> <outDir> — UI-model records from any IFML XMI (source: "ifml").
  2. $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

Files

SKILL.md and 62 other files (scripts, references, assets) in packages/eng-disciplines/.pi/skills/rebuild-package-diagrams of BlackBeltTechnology/pi-agent-dashboard.

  • SKILL.md
  • SKILL.md.AGENTS.md
  • assets/ifml-js/LICENSE
  • assets/ifml-js/README.md
  • assets/ifml-js/diagram-js.css
  • assets/ifml-js/ifml-font-embedded.css
  • assets/ifml-js/ifml-navigated-viewer.production.min.js
  • references/architecture-mapping.md
  • references/architecture-mapping.md.AGENTS.md
  • references/behaviour-mapping.md
  • references/behaviour-mapping.md.AGENTS.md
  • references/bpmn-mapping.md
  • references/bpmn-mapping.md.AGENTS.md
  • references/crud-matrix.md
  • references/crud-matrix.md.AGENTS.md
  • references/er-mapping.md
  • references/er-mapping.md.AGENTS.md
  • references/ifml-mapping.md
  • … and 45 more

Open the folder on GitHubat commit 7a2d171

Compare with similar skills

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.

Rebuild Package Diagrams compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rebuild Package Diagrams this skillBlackBeltTechnology/pi-agent-dashboard315—~4.8kAutomated safety check: PassMIT
Archify Diagramstt-a1i/archify82k—~2.9kAutomated safety check: PassMIT
Diagram Designcathrynlavery/diagram-design49k1 repos~7.6kAutomated safety check: PassMIT
Draw.io Diagram StudioAgents365-ai/drawio-skill10k—~2.4kAutomated safety check: NotesMIT
Pretty Mermaid Rendererimxv/Pretty-mermaid-skills1.5k—~2kAutomated safety check: PassMIT
Archify Diagram BuilderUnclecheng-li/AI_Animation1.5k2 repos~4.1kAutomated safety check: PassMIT

Similar skills

  • 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.

    82k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Diagram Design

    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.

    49k GitHub starsUsed in 1 repo~7.6k tokens
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    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.

    10k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check: notes
  • Pretty Mermaid Renderer

    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.

    1.5k GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Archify Diagram Builder

    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.

    1.5k GitHub starsUsed in 2 repos~4.1k tokens
    DevelopmentAuto-check passed
  • Mermaid

    WH-2099/mermaid-skill

    Generate Mermaid diagrams from user requirements. An agent skill from WH-2099/mermaid-skill.

    288 GitHub starsUsed in 4 repos~958 tokens
    DevelopmentAuto-check passed

More from BlackBeltTechnology/pi-agent-dashboard

All 70 skills in this repo
  • Browser

    BlackBeltTechnology/pi-agent-dashboard

    Browser automation via the agent-browser CLI. An agent skill from BlackBeltTechnology/pi-agent-dashboard.

    316 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • CI Troubleshoot

    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…

    316 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Debug Dashboard

    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.

    316 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Implement

    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.

    316 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Pi Dashboard

    BlackBeltTechnology/pi-agent-dashboard

    Monitor and control the pi-dashboard server. An agent skill from BlackBeltTechnology/pi-agent-dashboard.

    316 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Session To Guideline

    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…

    316 GitHub stars~3.2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Rebuild Package Diagrams

What does Rebuild Package Diagrams do?

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.

When should I use Rebuild Package Diagrams?

Rebuild Package Diagrams fits situations like: tasks that involve Diagrams.

How do I install Rebuild Package Diagrams in Claude Code?

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.

How do I install Rebuild Package Diagrams in Codex?

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.

Can I use Rebuild Package Diagrams in Cursor, Gemini CLI or GitHub Copilot?

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.

What does Rebuild Package Diagrams need to run?

Going by SKILL.md and its folder, Rebuild Package Diagrams needs JavaScript for the scripts in its folder. Our summary lists: Node.js.

Does Rebuild Package Diagrams access the network?

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.

Is Rebuild Package Diagrams safe to install?

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.

What licence does Rebuild Package Diagrams use?

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.

How many tokens does Rebuild Package Diagrams use?

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.

What are the alternatives to Rebuild Package Diagrams?

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.

Who maintains Rebuild Package Diagrams?

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.