live-artifact
Fungsinya
Alat ini membuat visualisasi data yang bisa disegarkan (refresh). Anggap saja seperti dashboard atau laporan yang menampilkan informasi penting dan bisa diperbarui dengan data baru tanpa perlu dibuat ulang dari awal.
Kapan dipakai
- βSaat Anda membutuhkan dashboard langsung dengan data yang terus berubah.
- βUntuk membuat laporan yang bisa diperbarui dengan informasi baru.
- βSaat Anda menginginkan visualisasi data yang dapat digunakan ulang dan andal.
Link skill
https://github.com/nexu-io/open-design/blob/main/design-templates/live-artifact/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBuatkan dashboard yang bisa di-refresh dengan data penjualan bulan lalu.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Alat ini menggunakan template HTML dan data yang terpisah. Ketika data berubah, visualisasinya otomatis diperbarui sambil tetap mempertahankan desain.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
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 withstatus: "connected", choose an appropriate read-onlyautotool from its catalog and execute it through the connector wrapper. - For Notion specifically, a connected
notionconnector plus a user brief that names Notion is enough to start withnotion.notion_searchusing a query derived from the requested artifact/topic. Usenotion.notion_fetch_databaseonly 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?β
Author the source files
- Write
template.htmlas the human-designed HTML template. The daemon hydrates it withdata.jsonusing thehtml_template_v1binding contract β stay inside it or hydration fails and the raw template ships with visible{{β¦}}tokens:- Scalars:
{{data.path.to.value}}. Paths start withdata, 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 matchingdata-od-repeatscope β that binding is unresolvable. Nested repeats, conditionals, filters, helpers, and raw/triple-brace interpolation are unsupported.
- Scalars:
- Write
data.jsonas the canonical preview data used by those bindings β real values, not placeholders. - Write
artifact.jsonwith the live artifact metadata, preview declaration, document declaration, and safe source descriptors.
- Write
β¦
Pertanyaan umum
Apa itu 'Live Artifact'?
Live Artifact adalah visualisasi data (seperti laporan atau dashboard) yang bisa diperbarui dengan informasi baru tanpa Anda membuatnya ulang sepenuhnya. Visualisasi ini didasarkan pada template dan data yang bisa diganti.
Bagaimana cara data diperbarui?
Alat ini dapat mengambil data dari sumber yang terhubung (seperti Notion atau GitHub) atau dari file lokal. Ketika data di sumbernya diperbarui, visualisasinya bisa di-refresh agar sesuai dengan data terbaru.
Apakah ini bisa dipakai untuk jenis data apa pun?
Bisa, selama datanya dapat disajikan dalam bentuk visualisasi. Alat ini cocok untuk dashboard, laporan, dan apa pun yang membutuhkan data terbaru yang andal.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 101k
- Peringkat
- #938
- Lisensi
- Apache-2.0
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
sample-plugin
101kMembuat agent Anda menghasilkan file metadata untuk pengujian. Ini membantu memastikan kode berjalan dengan benar di berbagai situasi.
aster-atelier
101kMembantu agent Anda membuat website artistik dengan tampilan klasik. Menggunakan citra elegan, langit biru, dan font serif untuk nuansa sinematik.
audio-jingle
101kMembuat agent Anda menghasilkan audio seperti jingle dan efek suara. Bisa membuat musik dan suara, lalu menyimpan hasilnya sebagai file audio.
blog-post
101kMembantu agent Anda menulis artikel panjang atau postingan blog. Sudah tersedia ruang untuk gambar, kutipan, dan informasi penulis.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.