本文へスキップ
Skillpedia
分析とスプレッドシート101k · #938

live-artifact

できること

更新可能なデータの可視化を作成するツールです。重要な情報を表示するダッシュボードやレポートのようなもので、ゼロから作り直さなくても、新しいデータで更新できます。

使う場面

  • ✓データが変化するライブダッシュボードが必要なとき。
  • ✓新しい情報で更新できるレポートを作りたいとき。
  • ✓再利用可能で信頼性の高いデータの可視化を求めるとき。

スキルのリンク

https://github.com/nexu-io/open-design/blob/main/design-templates/live-artifact/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/nexu-io/open-design/blob/main/design-templates/live-artifact/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“先月の売上データを使って、更新可能なダッシュボードを作成してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、HTMLテンプレートと、別に用意したデータを使います。データが変わると、デザインを崩さずに、可視化された内容を自動的に更新します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Live Artifact Skill

Create an OpenDesign live artifact: a project-scoped, previewable HTML artifact whose data can later be refreshed without redesigning the presentation.

Resource map

live-artifact/
├── SKILL.md
└── references/
    ├── artifact-schema.md      ← `references/artifact-schema.md`: artifact files, DTO shape, template binding rules
    ├── connector-policy.md     ← `references/connector-policy.md`: connector safety, redaction, credential boundaries
    └── refresh-contract.md     ← `references/refresh-contract.md`: source metadata, refresh execution, snapshots

Current status

Use the references in this directory as the source of truth for the live artifact file contract. Prefer daemon wrapper commands over raw HTTP when registering or updating live artifacts.

When to use this skill

Use this skill when the user asks for a data-backed view that should remain useful after the first render, for example a live dashboard, refreshable report, synced status page, auditable data view, or artifact that can later be refreshed from local/project data or connectors.

Before creating files, decide whether the user actually wants a live artifact or a normal static artifact:

  • Use a live artifact when the user mentions refresh, sync, recurring updates, connector-backed data, source/provenance tracking, dashboards, reports, or reusable data-backed views.
  • Use a normal static artifact when the user only wants a one-off HTML/mockup/image/file and does not need refresh, source metadata, or data/provenance panels.
  • If the intent is ambiguous, ask one short question: “Should this be refreshable/live, or just a static artifact?”

Workflow

  1. Resolve scope and data source without blocking on connected connectors

    • Identify the preview goal, audience, data freshness expectations, and whether refresh should be possible later.
    • If the user explicitly names a connector/source such as Notion, GitHub, Slack, or Google Drive, do not ask “where should the data come from?” before checking daemon connector tools.
    • Prefer local/project sources or daemon connector tools when available.
    • Do not call provider APIs directly when a daemon connector/wrapper exists.
    • If connector data is needed, first list connectors with "$OD_NODE_BIN" "$OD_BIN" tools connectors list --format compact. If the named connector is present with status: "connected", choose an appropriate read-only auto tool from its catalog and execute it through the connector wrapper.
    • For Notion specifically, a connected notion connector plus a user brief that names Notion is enough to start with notion.notion_search using a query derived from the requested artifact/topic. Use notion.notion_fetch_database only when the user supplied a database id or the search result clearly identifies one.
    • Ask the user a data-source question only when no matching connected connector exists, multiple connected candidates fit equally well, or the requested artifact has no usable topic/query to search for. If you must ask, be specific: ask for the page/database/topic or permission to search broadly, not “where is the Notion data source?”
  2. Author the source files

    • Write template.html as the human-designed HTML template. The daemon hydrates it with data.json using the html_template_v1 binding contract — stay inside it or hydration fails and the raw template ships with visible {{…}} tokens:
      • Scalars: {{data.path.to.value}}. Paths start with data, dot-separated; numeric array indexes are allowed ({{data.kpis.0.value}}). Every binding must resolve to a single string/number, not an object or array.
      • Lists: repeat one element with data-od-repeat="item in data.items", then bind loop-scoped fields inside it as {{item.label}} (or {{item}} for a scalar array). One level only; data.* still works inside the repeat for globals.
      • Do NOT hand-loop in a <script> (scripts are stripped from previews), and do NOT reference a bare loop variable like {{metric.value}} without a matching data-od-repeat scope — that binding is unresolvable. Nested repeats, conditionals, filters, helpers, and raw/triple-brace interpolation are unsupported.
    • Write data.json as the canonical preview data used by those bindings — real values, not placeholders.
    • Write artifact.json with the live artifact metadata, preview declaration, document declaration, and safe source descriptors.

…

よくある質問

「Live Artifact」とは何ですか?

レポートやダッシュボードなどのデータの可視化で、最初から作り直さなくても新しい情報で更新できるものです。テンプレートと、差し替え可能なデータをもとに作られています。

データはどのように更新されますか?

ツールは、接続された情報源(NotionやGitHubなど)やローカルファイルからデータを取得できます。情報源のデータが更新されると、可視化された内容も更新して反映できます。

どんな種類のデータでも使えますか?

可視化の形式で表示できるデータであれば使えます。ダッシュボードやレポート、最新で信頼できるデータが必要なものに適しています。

詳細

作者による元の説明

Create refreshable, auditable OpenDesign artifacts backed by connector or local data. Trigger when the user asks for live dashboards, refreshable reports, synced views, or reusable data-backed artifacts.

repo: nexu-io/open-design

人気

GitHubのスター
101k
ランキング
#938
ライセンス
Apache-2.0
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル