Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)12k · #11548

rerun-blueprint

Skill này làm gì

Skill này hướng dẫn AI thiết lập bố cục và giao diện của trình xem Rerun bằng blueprint. Skill dành cho người muốn bản ghi hoặc bảng của mình dễ đọc ngay từ đầu.

Khi nào nên dùng

  • ✓Khi bạn muốn thay đổi bố cục hoặc các view của một bản ghi Rerun.
  • ✓Khi bạn muốn ẩn cột, đổi thứ tự cột hoặc lọc dòng trong một bảng catalog.
  • ✓Khi bạn muốn thiết kế blueprint mặc định để một dataset mở ra với bố cục dễ đọc.

Liên kết skill

https://github.com/rerun-io/rerun/blob/main/skills/rerun-blueprint/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/rerun-io/rerun/blob/main/skills/rerun-blueprint/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết lập trình xem Rerun để bản ghi này hiển thị góc nhìn camera và view 3D cạnh nhau.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill đọc dữ liệu của bản ghi trước, thiết kế bố cục, rồi viết blueprint và kiểm tra trạng thái trình xem.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Rerun blueprint

To change how the viewer looks, change the blueprint. This holds for a recording's layout, views and their properties, and for a table's columns, row filters and cards. Don't click through the viewer's menus to do it. With the viewer MCP, read and write the blueprint with rerun_get_blueprint and rerun_set_blueprint rather than the low-level click tools.

A blueprint decides how a recording is shown, and the recording decides what exists. Read the data, design a first layout, then verify state before assessing screenshots until it reads at a glance. The constructors are discoverable (dir(rrb), help(rrb.Spatial3DView)); this skill covers what you can't guess. Import as import rerun.blueprint as rrb.

Editing a recording's blueprint through MCP

If a request could apply to multiple views and the intended view is unclear, use elicitation to ask the user which view they mean before editing.

Without a target, rerun_get_blueprint and rerun_set_blueprint use what is on screen: the table if one is shown, else the active recording. Use {"recording": {}} to target the active recording even when a table is shown. rerun_set_blueprint accepts mode: "full" (default) or mode: "partial". Use partial mode for focused edits: send only changed fields, leaving the layout and all omitted fields untouched. Full mode clears omitted fields and entities; use it for a complete layout, reading the existing blueprint first to preserve settings you intend to keep. Both modes replace arrays and struct-valued fields as a whole, so preserve other entries when changing lists such as component_map or instruction_ids. Set a field to null to clear it; an empty object is a no-op in partial mode. Reuse view and container UUIDs when editing them. For a deliberate layout, set root_container to the root container UUID and set both auto_layout and auto_views to false in /viewport → ViewportBlueprint. Automatic layout can rearrange the supplied tree, and automatic views can add unwanted panes. In full mode, an explicit root defaults omitted automatic options to false, but values copied from the previous blueprint are preserved. Partial mode preserves omitted automatic options, even when changing the root. A write that would break a reference is rejected, and nothing is written. That covers a missing or unreferenced view, container, or visualizer instruction, and a loop of containers. So add a new view and the reference to it in the same call, and delete a view with {"Clear": {"is_recursive": true}} in the same call that takes it out of contents.

After each write, check the views and their reports in rerun_get_state, plus logs appended to tool results. If the structure differs, inspect rerun_get_blueprint before retrying. Then check a screenshot for framing and readability before reporting completion.

Component defaults and overrides

For view-wide styling, prefer component defaults. For example, send {"/view/<view UUID>/defaults": {"Boxes3D": {"show_labels": false}}} as the json string of a partial update to hide Boxes3D labels. Defaults apply across the view but do not supersede logged values or per-entity overrides.

For selected entities or to supersede logged values, follow the MCP component override example. Verify the effective value in the entity's Visualizers section and the visual result, not just stored rows.

Tables

A dataset's segment table and catalog tables have a table blueprint of their own, separate from a recording's. It sets which columns show, their order and names, the row filters, and whether rows show as a table or as cards. When asked to make a table look nice, hide columns or filter rows, write this blueprint.

This hides two columns and shows three others first. Listed columns come first, the rest keep their default order and visibility:

blueprint = rrb.TableBlueprint(
    table_layout=rrb.table.TableLayout(
        columns=[
            rrb.table.Column("recording link"),
            rrb.table.Column("property:episode:current_task", name="Task"),
            rrb.table.Column("property:episode:success"),
            rrb.table.Column("property:episode:ext1_cam_serial", visible=False),
            rrb.table.Column("property:episode:ext2_cam_serial", visible=False),
        ],
    ),
)
Câu hỏi thường gặp

Skill có thay đổi chính bản ghi không?

Không. Skill thay đổi blueprint, là thứ điều khiển cách trình xem hiển thị bản ghi.

Có dùng được với MCP của trình xem không?

Có. Skill nói dùng rerun_get_blueprint và rerun_set_blueprint với MCP của trình xem.

Nếu một yêu cầu có thể áp dụng cho nhiều view thì sao?

Skill nói phải hỏi bạn view nào được nhắc đến trước khi thay đổi.

Chi tiết

Mô tả gốc của tác giả

Change how the Rerun viewer looks by writing a blueprint, for a recording or for a table. Read this whenever asked to change the look of the viewer, such as laying out a recording or dataset, designing a default blueprint, deciding which views show which entities, or making a segment or catalog table look nice by hiding columns, changing column order or filtering rows. Covers archetype-to-view mapping, layout reasoning, the rrb construction API, the contents grammar, table blueprints, and the screenshot loop.

repo: rerun-io/rerun

Độ phổ biến

Sao GitHub
12k
Vị trí xếp hạng
#11548
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự