Skip to content
Back to skills

Outsystems Report Diagrams

ASecurity

Draws the Implementation Report's diagrams (app landscape, built ER, legacy-vs-built mapping, per-app drill-down, site map, journeys, workflow states) with one SVG kit in the document family's palette: you write the facts as JSON, the kit owns layout and style. Use when the reporter draws a report diagram. Not for: the report text, the PDF, or the Business Brief -> outsystems-handover-docs.

  • 50 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsjavascriptgojavabashaws

Works with

  • mcp

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add OutSystems/outsystems-mcp --skill outsystems-report-diagrams --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Outsystems Report Diagrams?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Outsystems Report Diagrams
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/outsystems-outsystems-report-diagrams/badge)](https://www.skillsdirectory.com/skills/outsystems-outsystems-report-diagrams)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: outsystems-report-diagrams
description: >-
  Draws the Implementation Report's diagrams (app landscape, built ER, legacy-vs-built mapping, per-app drill-down, site map, journeys, workflow states) with one SVG kit in the document family's palette: you write the facts as JSON, the kit owns layout and style. Use when the reporter draws a report diagram. Not for: the report text, the PDF, or the Business Brief -> outsystems-handover-docs.
license: MIT
compatibility: Any harness that can write a file and screenshot a local page in a browser. Plain JavaScript, no network, no build step.
allowed-tools: Read Write Bash
metadata:
  version: "1.0.0"
  author: outsystems-r-and-d
---

# Report diagrams

Every Implementation Report draws the same seven pictures, and they should look
the same in every report: one layout per picture, the family palette (ink,
greys, OutSystems red for arrowheads and gaps, the asset-kind fills), real
selectable text. Hand-drawn mermaid gave each report its own look and broke on
wide graphs. This kit fixes the layout; you supply only the facts.

**Kit:** [kit/diagram-kit.js](./kit/diagram-kit.js). **Data shapes and one
working example per layout:** [Layouts.md](./Layouts.md) and `kit/examples/`
(synthetic Northwind data). Open the example closest to your picture and
replace its data.

**Limited availability: check access first.** Legacy modernization isn't generally
available yet. Before anything else, sign in to the OutSystems MCP (see the plugin
README's [Authorize before you run](../../README.md#authorize-before-you-run)) and read
its tool list. If `modernize_session_start` isn't listed, tell the user, word for
word: *"Legacy modernization is in limited availability and isn't enabled for your tenant yet. Contact OutSystems if you'd like access."* Then stop.

## How to draw one

1. Copy `kit/diagram-kit.js` into `reports/diagrams/` once per report.
2. For each diagram write `reports/diagrams/<name>.html`, a copy of the
   matching example with your report's data in the `DiagramKit.render(...)`
   call. **Change its `<script src="../diagram-kit.js">` to
   `src="diagram-kit.js"`**: the examples load the kit from the folder above,
   your copy sits beside it. Every number, name and label comes from **this**
   report; never carry values over from an example or an earlier report.
3. Render it the way the reporter renders every diagram: serve the folder,
   open the page at a 900 px wide viewport, screenshot the `svg` to
   `reports/diagrams/<name>.png`, then embed the PNG base64 **with the title
   `diagram-kit`**, straight under the heading it illustrates:
   `![Built entity model](data:image/png;base64,… "diagram-kit")`. Every page
   of the report is A4 portrait; the PDF renderer prints a picture with that
   title at the full content width (174 mm), in the flow, its heading kept with
   it, where 1 px prints at 0.55 pt and the kit's 11 px floor stays at 6 pt.
   The kit is laid out for that width (900 px): fewer cards per row, rows that
   wrap. Never ask for a landscape page.
4. **Look at every PNG** before embedding it. The kit shortens a label that
   doesn't fit rather than shrinking it below 11 px, so read for `…` and say in
   the report where a label was shortened. Fix the data (shorter label, fewer
   chips, `col` hints on ER entities), not the kit.
   - **Red "CHECK THE DATA" lines under the picture** mean a reference names an
     id the data doesn't define, or a status is outside the vocabulary. Nothing
     is dropped silently; fix the data until they are gone. In code,
     `DiagramKit.problems()` returns the same list after a render.
   - **Keep every picture at most 1150 px tall** (`DiagramKit.maxHeight`; the
     kit warns in the console), which is one portrait page with its heading. A
     taller one is shrunk to fit the page and its type drops below 6 pt: split
     it (one `er` or `mapping` per app or domain, one `sitemap` per pair of
     apps).

## The seven layouts

| Layout | Report section | Shows |
|---|---|---|
| `landscape` | 0, *Implemented architecture* | personas fanning into the apps, wave frames, one card per app (revision, requirements done, entities, screens, tests), labelled references, the libraries band; drawn over the **recommended** apps, see below |
| `er` | 3.4 | one panel per app with full entity cards (PK, FK, cross-app ID), relations, cross-app references dashed, the load order for real data |
| `mapping` | 3.3 | legacy table → transformation → built entity → what changed, per app; "no legacy table" for new entities; type changes |
| `drilldown` | 3.3, one per app | screens by audience, logic (actions and one inset: checks or a lifecycle), data; connected apps and what is still open |
| `sitemap` | 4.1 | screens per app as a tree with the legacy view each replaces, status and live-capture marks; the sign-in relay; design QA rounds; gaps |
| `journeys` | 4.3 | one card per journey (steps, outcome, verdict, apps), failures outlined in red; write-path coverage; next steps |
| `states` | 6 | the lifecycle as a state diagram (start, states, transitions labelled with who acts, refused actions dashed red, end states), callers, one card per workflow |

## Recommended vs implemented (the landscape in section 0)

Section 0's *Implemented architecture* part compares the build with the
Business Spec's Recommended migration, and its picture is the `landscape`
layout over the **recommended** apps, in the spec's waves, names and order:

- a recommended app that was built gets its card data (revision, requirements
  done, entities, screens, tests) from the build;
- a recommended app the build lacks stays, with `status: "not built"` and a
  `note` saying why (merged into another app, deferred, …): it is drawn dashed;
- a built app the recommendation didn't have goes in the wave it was built in;
- a recommended reference that isn't implemented, or one `app_refs` could not
  confirm, gets `unconfirmed: true` (dashed);
- `personas` are the spec's user groups; give each the apps it `uses` (its *Used by* lines), or it gets no arrow.

`kit/examples/implemented-architecture.html` is a worked example. No extra kit
option is needed: the comparison is in the data.

## Rules that keep the pictures honest

- **Status and verdict words come from the report's fixed vocabulary.** Pass
  `implemented, tested`, `implemented, not tested`, `changed`, `partial`,
  `deferred`, `not built`, or a verdict (`pass`, `fail`, `not observable`,
  `not tested`). The kit prints the word on the mark; a status the report
  doesn't state never goes on a diagram.
- **Apps are told apart by name and initials, not colour.** The family has no
  per-app hues; an asset's kind (mobile app, workflow, AI agent, library) sets
  its fill, as in the Business Spec's landscape.
- **What the plan has and the build lacks stays in the picture,** dashed and
  marked: an app with `status: "not built"`, an entity with `dashed: true`, a
  reference with `unconfirmed: true` when `app_refs` coverage is unknown.
- **Keep the Business Spec's names and order.** When the spec has the same
  picture, use its app, entity and screen names and its order, so planned and
  built compare box for box.
- **One picture per layout; split rather than cram.** More than two apps
  makes the landscape one row per wave, two cards to a row; an ER with more
  than about 8 entities per app reads better split into two `er` diagrams by
  domain.

Files in this skill

  • Layouts.md7.7 KB
  • SKILL.md7.3 KB
  • kit/diagram-kit.js86.4 KB
  • kit/examples/drilldown.html2.2 KB
  • kit/examples/er.html3.6 KB
  • kit/examples/implemented-architecture.html2.6 KB
  • kit/examples/journeys.html2.1 KB
  • kit/examples/landscape.html2.2 KB
  • kit/examples/mapping.html1.9 KB
  • kit/examples/sitemap.html1.9 KB
  • kit/examples/states.html1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.