Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

uxd-canvas-create

/uxd-canvas-create

Tworzy lub poprawia płótno jako lokalny JSON Canvas, tablicę Miro lub oba, np. mapy podróży, blueprinty usług i diagramy architektury.

Repozytorium
ai-helpers ↗
Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
29
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/validate-canvas.mjs

Co robi i kiedy

Tworzy lub poprawia płótno jako lokalny JSON Canvas, tablicę Miro lub oba, np. mapy podróży, blueprinty usług i diagramy architektury.

Oryginalny opis (EN)

Create or refine a canvas as local JSON Canvas, a Miro board, or both. Covers journey maps, service blueprints, architecture diagrams, user flows, affinity maps, mind maps, and Mermaid diagrams. Use when turning a brief, research, an existing canvas, or a Miro board into a spatial artifact.

Jak działa

  1. Requirements
  2. Where it lives
  3. Inputs and outputs
  4. Templates
  5. Mermaid
  6. Authoring workflow
  7. Craft rules
  8. Completion check
Sekcje z nagłówków SKILL.md, w oryginale · 88 linii, 887 słów
Podgląd SKILL.md
---
name: uxd-canvas-create
version: 0.1.0
description: >-
  Create or refine a canvas as local JSON Canvas, a Miro board, or both.
  Covers journey maps, service blueprints, architecture diagrams, user flows,
  affinity maps, mind maps, and Mermaid diagrams. Use when turning a brief,
  research, an existing canvas, or a Miro board into a spatial artifact.
---

# Create Canvas

Author or revise a canvas. JSON Canvas is the working model. It is the stored source of truth only for a local canvas. A Miro board can be the source of truth instead. Mermaid is a diagram notation, not another location.

Family: **create** → `uxd-canvas-export` → `uxd-canvas-publish`. Publish ships a static copy. It does not create or update Miro.

## Requirements

- Node.js 18 or later to validate a local `canvas.json`.
- The Miro connection, when the canvas lives on a board. Load the Miro canvas-composer instructions before any SVG write.

## Where it lives

Read [canvas locations](references/canvas-locations.md) before choosing or changing the location.

- **Local** (default when the user does not name a board): write `.artifacts/{ID}/canvas/`, or a path they supply.
- **Miro:** create or update the board. A local `canvas.json` is optional. When the board is canonical, call that file a snapshot, not the source of truth.
- **Both:** the board is canonical and the local file is a snapshot with `source.url` and `miroId` on each node and edge.

## Inputs and outputs

Accept a brief, document, ticket, research, Mermaid source, an existing canvas, a Miro URL, or a direct description. If the purpose, audience, or source content is materially unclear, ask only for the missing information.

Local output:

```text
canvas/
├── canvas.json
├── metadata.json
└── assets/          # only when the canvas uses local files
```

`metadata.json` contains `title`, `description`, `createdAt`, and `updatedAt`. A Miro snapshot also contains `source` as defined in the locations reference. Do not put presentation state or secrets there.

## Templates

If the user names a type below, read that folder's `context.md` and start from its `canvas.json`. See [templates/README.md](templates/README.md). Keep the template's columns, rows, and reading order. Replace the placeholder text. Add or remove a whole phase column when the evidence needs a different number of stages. When revising a canvas that already exists, keep its structure unless the user asks to restart from the template.

| Request | Template |
|---|---|
| Journey map, customer journey, or experience map | `templates/journey-map` |
| Service blueprint | `templates/service-blueprint` |
| User flow or task flow | `templates/user-flow` |
| Affinity map | `templates/affinity-map` |
| Mind map | `templates/mind-map` |

A flowchart, sequence diagram, ERD, or class diagram stays Mermaid. A freeform canvas has no template: choose the structure that fits the source.

## Mermaid

Follow the locations reference. Journey maps, blueprints, and affinity maps stay spatial JSON Canvas. A flowchart, sequence diagram, ERD, or class diagram stays Mermaid: a Miro diagram widget when the board is the destination, or a text node with `subtype: "mermaid"` when the destination is local.

## Authoring workflow

1. Resolve location, communication goal, audience, canvas type, source evidence, and reading order.
2. If the type has a template, read its `context.md` and copy `canvas.json` as the base before writing anything else.
3. If the source is a Miro URL, read that board or one frame and preserve every widget id before editing. Confirm before creating a board, writing widgets, or deleting items. Fit the board's content into the template when the user asked for one of those types.
4. Read [JSON Canvas fields and extensions](references/canvas-schema.md) before authoring unfamiliar node types or presentation extensions.
5. Write the working model with stable ids such as `phase-discover-actions`. Copy widget ids onto `miroId` in any snapshot. After a new board write, store the ids the create call returns.
6. Copy local files into `assets/` and use relative paths. Do not embed credentials, authenticated URLs, or inaccessible local absolute paths.
7. Validate any `canvas.json` you write:

```bash
node "${CLAUDE_SKILL_DIR}/scripts/validate-canvas.mjs" <path-to-canvas.json>
```

Fix every error. Review warnings for overlaps, dense text, and edge routing rather than dismissing them automatically.

## Craft rules

- Keep nodes scannable. A title plus one short supporting line is usually enough; split paragraphs and long lists across nodes.
- Size nodes to fit their content. Starting points: title `200×80`; title plus a line `250×100–120`; 3–4 short lines `250×160–200`; dense content `320–400×240–400` or multiple nodes. Size a Mermaid node for its source text. The HTML viewer shows that source.
- Use a 20-unit grid and leave at least 30–40 units between neighboring nodes. Avoid overlaps and edges crossing unrelated nodes.
- Use color semantically and consistently. Do not rely on color alone to communicate status or meaning.
- Put groups behind their children. The bundled viewer reserves the top 24 units of a group for its label.
- Use `fromSide` and `toSide` to reinforce reading order; add arrow endpoints when direction matters.
- Keep primary content visible without scrolling at the initial fit-to-content view.

## Completion check

- The structure answers the stated communication goal. A requested journey map, blueprint, flow, affinity map, or mind map still follows its template.
- Placeholder template copy is gone. Research-derived claims trace to the supplied sources, and assumptions are labeled.
- Local canvases pass the validator: unique ids, positive dimensions, resolved edges, readable labels, no unintended overlap, and local assets resolve.
- A Miro write names the board URL. Updates reuse existing widget ids. Deletions were confirmed item by item.
- A snapshot records `source.url` and `miroId` values, and is not described as the source of truth when the board is canonical.
- Jira cards, reactions, and drawings that could not round-trip to Miro are called out.
Pliki w paczce (29)
  • SKILL.md 6 KB
  • eval/eval.yaml 11 KB
  • eval/cases/affinity-map/annotations.yaml 1 KB
  • eval/cases/affinity-map/input.yaml 1 KB
  • eval/cases/asks-missing-brief/annotations.yaml 1 KB
  • eval/cases/asks-missing-brief/answers.yaml 1 KB
  • eval/cases/asks-missing-brief/input.yaml 1 KB
  • eval/cases/flowchart-mermaid/annotations.yaml 1 KB
  • eval/cases/flowchart-mermaid/input.yaml 1 KB
  • eval/cases/local-journey/annotations.yaml 1 KB
  • eval/cases/local-journey/input.yaml 1 KB
  • eval/cases/miro-snapshot/annotations.yaml 1 KB
  • eval/cases/miro-snapshot/input.yaml 1 KB
  • eval/cases/service-blueprint/annotations.yaml 1 KB
  • eval/cases/service-blueprint/input.yaml 1 KB
  • references/canvas-locations.md 3 KB
  • references/canvas-schema.md 3 KB
  • scripts/validate-canvas.mjs 6 KB
  • templates/README.md 1 KB
  • templates/affinity-map/canvas.json 2 KB
  • templates/affinity-map/context.md 1 KB
  • templates/journey-map/canvas.json 7 KB
  • templates/journey-map/context.md 2 KB
  • templates/mind-map/canvas.json 2 KB
  • templates/mind-map/context.md 1 KB
  • templates/service-blueprint/canvas.json 5 KB
  • templates/service-blueprint/context.md 1 KB
  • templates/user-flow/canvas.json 2 KB
  • templates/user-flow/context.md 1 KB

Wersje

W bazie nie ma innych skilli o nazwie uxd-canvas-create.

Migawka bazy z 13.11.2026 · wersja paczki cff37cfc83a0 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100uxd-canvas-export
    Eksportuje płótno jako lokalny podgląd HTML, plik canvas.json lub Mermaid, z lokalnego płótna albo tablicy Miro, bez aktualizacji Miro.
  • 90uxd-canvas-publish
    Publikuje wyeksportowany canvas w repozytorium git, na GitHub Pages, GitLab Pages lub Vercel do przeglądu.
  • 95miro-mcp
    Pokazuje, jak używać narzędzi MCP Miro do tworzenia diagramów, dokumentów i tabel oraz pobierania kontekstu z tablic.
  • 90visual-whiteboarding
    Mapuje architektury, przepływy użytkowników i wireframe'y na tablicach Miro, Draw.io lub Figma przez serwery MCP.
  • 90miro-sequence-diagram
    Rysuje lub aktualizuje diagram sekwencji UML na tablicy Miro jako widżet Mermaid dla jednego scenariusza.
  • 95json-canvas
    Tworzy i edytuje pliki JSON Canvas (.canvas) z węzłami, krawędziami i grupami, na przykład mapy myśli i diagramy w Obsidianie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.