Skip to content
Back to skills

Ea Views

ASecurity

Author model views and render them to SVG. Use when asked to create a diagram, view or visualisation of the architecture, when a concern has no view framing it (ISO003), or after model changes that should be reflected in rendered output. Views declare content only; layout and rendering are computed.

  • 3 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added October 26, 2026
ai-agentspythonshellbashawsgitdatabasedocumentation

Works with

  • cli

Security analysis

A100/100

Scanned November 14, 2026

npx -y skills add dithiothreitol/ea-skills --skill ea-views --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ea Views?

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

Security grade badge for Ea Views
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dithiothreitol-ea-views/badge)](https://www.skillsdirectory.com/skills/dithiothreitol-ea-views)

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: ea-views
description: Author model views and render them to SVG. Use when asked to create a diagram, view or visualisation of the architecture, when a concern has no view framing it (ISO003), or after model changes that should be reflected in rendered output. Views declare content only; layout and rendering are computed.
allowed-tools:
  - Bash(easkills docs *)
  - Bash(easkills export *)
  - Bash(easkills render *)
  - Bash(python -m easkills docs *)
  - Bash(python -m easkills export *)
  - Bash(python -m easkills render *)
---

# Authoring and rendering views

A view is a *selection* with a *purpose*: which elements to show, for which declared
concern. Everything else -- geometry, colours, arrowheads -- is computed
deterministically, so two runs produce identical bytes and diffs stay about
architecture.

**One command per call, written out in full.** Each skill pre-approves the `easkills`
commands its own text prescribes, matched by their literal text -- so run each command
as its own Bash call, alone on its line: no `&&` chain, no pipe or redirect, no subshell
`( ... )`, no loop over subcommands, no shell variable (`$TMPDIR`, `$?`), no command
substitution. A line the permission check cannot read is put to the person, and refused
outright where nobody can answer -- which leaves the command unrun. A command the person
declined stays declined. You never need `echo $?`: the Bash tool reports a non-zero exit
code beside the output.

## Authoring

```yaml
views:
  - id: customer-service-gap
    name: Customer Service Gap
    viewpoint: Application Usage
    concerns: [concern-order-status-effort]
    documentation: >
      The three systems a service agent opens to answer "where is my order".
    include: [cap-customer-service, app-order-portal, app-erp-core, app-wms]
```

Rules that keep views honest:

* **Never write coordinates.** There is no field for them; do not ask for one. Three
  layout *hints* are content and are yours to give: `layout.groupBy` (`layer`, the
  default, or a property such as `timeDisposition` -- one band per value),
  `layout.columns` (where a band wraps) and `layout.order` (the reading order of the
  elements named). A part is drawn inside its whole wherever the model has the
  `Composition` or `Aggregation` for it -- nest by modelling the relationship, not by
  asking for a box inside a box. `VIEW001` reports an `order` entry the view does not
  include; past thirty elements `VIEW002` suggests a split.
* **`concerns` names why the view exists.** A view with no concern draws `ISO005` --
  either it answers a stakeholder question or it is decoration. Get the concern ids
  from the stakeholder register (`ea-stakeholders` owns that loop).
* **Connections are derived, not drawn.** Every relationship whose two endpoints are
  on the view appears automatically; `appliesTo` bindings render dotted. If a
  connection you expected is missing, the *model* is missing the relationship -- fix
  it there (with evidence), never fake it visually.
* **Select, do not dump.** Six to fifteen elements answer a question; forty document
  a database. Prefer several small views over one mural. The whole-model overview is
  one view, not the pattern.
* **Viewpoint names** come from the ArchiMate example viewpoints (Layered, Capability
  Map, Application Usage, Motivation, Implementation and Migration...). They set the
  reader's expectations; do not invent novel viewpoint names when a standard one fits.

## Rendering

```bash
easkills render --root <repo>                 # approved -> docs/views/*.svg
easkills render --root <repo> --zone staging  # preview proposals
easkills docs   --root <repo>                 # views + architecture description
easkills render --root <repo> --heatmap lifecycle          # <view>.heatmap-lifecycle.svg
easkills export --root <repo> --format mermaid --out docs/diagrams/
easkills export --root <repo> --format plantuml --view <view-id>
```

Rendering is dependency-free and byte-stable; re-render after any model change that
touches a view's elements, and commit the SVGs together with the model change --
CI treats stale committed views as a failure. The notation is simplified (layer
colours, arrows, dashed realization); for full ArchiMate notation open
`build/model.xml` in Archi via File > Import > Model Exchange File.

A long name wraps onto a second line; only the second line is ever cut, so shorten a
name that still does not fit rather than living with the ellipsis.

**Heatmaps** colour the same view by one property -- `lifecycle`, `timeDisposition`,
`doraCriticality`, `owner` -- instead of by layer, with a legend that counts each value;
elements carrying none are drawn dashed, which is often the finding. They are written
beside the views, never over them, so commit one only when somebody will read it.

**Export** is for the places stakeholders already read diagrams: Mermaid renders inline
on GitHub and in most wikis, PlantUML's ArchiMate library gives the full notation. Both
are generated from the view definition, so never hand-edit an exported diagram -- change
the view and export again, or the copy starts disagreeing with the model.

## Checking

`validate` covers views: unknown includes (`REF002`), empty views (`REF003`),
unknown concerns (`ISO001`). Render errors on a view naming missing elements --
validate first, render second. Report which concerns now have views, which still do
not, and any element you deliberately left off a view to keep it readable.

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.