@vanillagreencom

创作者 · vanillagreencom

最近更新 · 2026年8月24日

iced-rs

审查 · 65已收录

Iced 0.14 GUI expert: custom widgets via iced::advanced, overlays, Canvas, Shader, pane_grid, theming, subscriptions, Elm architecture, with a bundled full-API reference. Load whenever building or debugging an Iced UI.

OpenAgentSkill 信任评分
65/100

仅限沙盒

质量65/100
审计78/100
Stars64
Verified installs0

安装目标

Codex 安装提示词

Install the "iced-rs" agent skill from https://github.com/vanillagreencom/kendex/tree/main/skills/iced-rs. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Iced 0.14 GUI expert: custom widgets via iced::advanced, overlays, Canvas, Shader, pane_grid, theming, subscriptions, Elm architecture, with a bundled full-API reference. Load whenever building or debugging an Iced UI. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"vanillagreencom-iced-rs","task":"Install iced-rs","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.

供给资产档案

编程与开发 Agent

代码审查、仓库分析、测试、CI、GitHub、DevOps 与开发工作流 Skill。

浏览赛道

场景

GitHub automation

I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.

适配 Agent

Claude Code + Cursor + CLI

适用于 Codex、Claude Code、Cursor、CLI 或自定义 Agent。

安装

就绪

npx skills add vanillagreencom/kendex --skill iced-rs

维护状态

新鲜

今天有推送

风险

需审查

Dependency or permission surface needs review

GitHub 质量

64

65/100 质量 · 73/100 信任

覆盖标签

编程GitHub automation设计与创意uiagent-skill

审查说明

Dependency or permission surface needs review · Permission surface may require sandboxing

Agent 采用评分卡

一眼查看信任、审计与安装准备度

这些分数综合公开仓库元数据、OpenAgentSkill 审查信号、维护新鲜度与安装准备度。它用于候选筛选,不替代人工审查。

质量

有潜力
65

有用的候选项,但采用前应与替代方案比较。

信任

仅限沙盒
65

有用但信任信号不足或混杂的候选项。在结果闭环证明任务匹配前,请保持在隔离工作区内使用。

审计

需审查
78

对安装准备度、安全元数据、维护情况与采用风险的机器可读审查。

OpenAgentSkill 信任评分 v5

安装前需人工审查

仅在沙盒中运行,并在用于真实工作前比较接近的替代方案。

CodexClaude CodeCursorOpenAgentSkill CLI

Stars

64 个 GitHub Stars

仓库活跃度

64 个 Star,23 个 Fork

维护状态

今天有推送

许可证

MIT

安装

npx skills add vanillagreencom/kendex --skill iced-rs

安装安全性

标准软件包或运行时安装路径

权限范围

shell or command execution, filesystem or document access

Agent 结果

暂未有 Agent 结果数据

文档

README/SKILL.md 上下文充分

风险摘要

生产前审查

  • Quality score needs review
  • Permission surface needs review: shell or command execution, filesystem or document access
  • GitHub adoption: 64 GitHub stars
  • Stars/forks activity: 64 stars, 23 forks; issue activity unavailable in current metadata

安装准备度

安装路径可用

  • 安装路径可用
  • 仓库证据可用
  • 已声明许可证
  • 暂无 Agent 验证结果证据

Agent 可读元数据

这个 Skill 的机器可读决策数据。

使用此区块或内嵌 JSON 判断 Agent 是否应安装该 Skill、选择替代方案,或先请求人工审查。

View technical data+

适用任务

  • GitHub automation 工作流
  • Claude Code 团队
  • builders willing to evaluate younger projects
  • Inspect repository metadata

适用 Agent

CodexClaude CodeCursorOpenAgentSkill CLICLI

安装决策

命令
npx skills add vanillagreencom/kendex --skill iced-rs
策略
审查
人工审查

信任与风险

信任
65/100
审计
78/100
风险级别
需审查

结果闭环

端点
/api/agent/outcome
事件 ID
resolve
结果
5

安装命令

npx skills add vanillagreencom/kendex --skill iced-rs

不适用场景

  • 需要厂商支持 SLA 的团队
  • 没有内部安全审查的高合规环境
  • 暂未有 OpenAgentSkill 使用反馈数据
  • 高风险权限提示:Shell 或命令执行
  • Dependency or permission surface needs review

Agent 安全 v2

42/100 · 避免自动安装

实验性审查

Sparse or mixed signals. Useful for discovery, but not for autonomous installation.

Test manually in an isolated workspace and compare against safer alternatives.

通过 API 解析

Shell 或命令执行

Skill 元数据引用了终端、CLI、Shell、子进程或命令执行工作流。

Browser automation

Skill may drive a browser or interact with web pages.

网络访问

Skill 可能访问远程页面、API、仓库或外部服务。

文件系统访问

Skill 可能读取或写入项目文件、文档、生成产物或本地工作区状态。

  • 高风险权限提示:Shell 或命令执行
  • Dependency or permission surface needs review

Agent 解析计划

让 Agent 在安装前验证匹配度。

Resolve API 返回首选 Skill、替代方案、安全策略、审计说明、安装目标和可直接执行的提示词,无需抓取此页面。

打开文本计划

Agent 应检查

  • 从 Resolve API 检查任务匹配与替代方案。
  • 检查审计评分、信任评分和安全策略警告。
  • 检查 Codex、Claude Code、Cursor 或 CLI 的安装目标兼容性。

复制提示词

Task: Use iced-rs in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20iced-rs%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/vanillagreencom-iced-rs/install
Install command: npx skills add vanillagreencom/kendex --skill iced-rs
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.

Agent 交接

把安装路径交给 Agent,而不是再给一个目录页。

通过公开安装端点获取命令、安全清单、目标提示词和该 Skill 的规范链接。

打开安装 API

Agent 提示词

Use iced-rs for this task. Review https://www.openagentskill.com/api/skills/vanillagreencom-iced-rs/install, then install with: npx skills add vanillagreencom/kendex --skill iced-rs

Registry 元数据

用于自动选择 Skill 的 Agent 可读档案。

本页通过 Registry API 提供相同的决策、信任、审计、场景和安装信号,让 Agent 无需抓取界面即可排序。

打开 Manifest

适配 Agent

64/100

GitHub automation

平台

Claude Code, Cursor

审计报告

需审查 · 78/100

对安装准备度、安全元数据、维护情况与采用风险的机器可读审查。

查看审计报告查看评估报告

Agent 决策面板

Fallback candidate for GitHub automation

先用此 Skill 做原型验证,并保留备选方案。

64
就绪度
原型验证
阶段

栈中角色

备选候选

主要匹配

GitHub automation

信任标签

先做原型验证

安装路径

命令已就绪

适用场景

  • GitHub automation 工作流
  • Claude Code 团队
  • builders willing to evaluate younger projects

证据

  • 仓库近期活跃
  • 已提供安装命令或 GitHub 仓库
  • 65/100 质量档案

先审查

  • 暂未有 OpenAgentSkill 使用反馈数据

实施路径

  1. 1在沙盒 Agent 中安装它,并端到端完成一次GitHub automation任务。
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

信任档案

仅限沙盒

有用但信任信号不足或混杂的候选项。在结果闭环证明任务匹配前,请保持在隔离工作区内使用。

65
OpenAgentSkill 信任评分

GitHub 采用度

检查

64 个 GitHub Stars

Star/Fork 活跃度

检查

64 个 Star,23 个 Fork; 当前元数据中没有议题活跃度信息

近期维护

通过

今天有推送

许可证清晰度

通过

MIT

积极信号

  • AI 审查已通过
  • 安装路径可用
  • 仓库证据可用
  • 近期维护的仓库
  • 安装命令未发现明显高风险模式
  • 结果闭环已就绪,但需要首次真实 Agent 运行

安装前审查

  • Quality score needs review
  • Permission surface needs review: shell or command execution, filesystem or document access
  • GitHub adoption: 64 GitHub stars
  • Stars/forks activity: 64 stars, 23 forks; issue activity unavailable in current metadata
  • Dependency/runtime risk: command execution surface, external package install surface
  • Permission surface: shell or command execution, filesystem or document access
  • 暂未有真实 Agent 结果报告
  • 无人值守安装前需要人工审查

建议操作

仅在沙盒中运行,并在用于真实工作前比较接近的替代方案。

质量档案

有潜力 适用于 Agent 工作流的候选

有用的候选项,但采用前应与替代方案比较。

65
GitHub Stars
64
新鲜度
今天
安装就绪
许可证
MIT

工作流匹配

在这些场景使用此 Skill

工作流匹配

加入完整工作流

替代方案短名单

安装前对比

可能适合该任务的相近 Skill。

对比全部

概览

--- name: iced-rs description: "Iced 0.14 GUI expert: custom widgets via iced::advanced, overlays, Canvas, Shader, pane_grid, theming, subscriptions, Elm architecture, with a bundled full-API reference. Load whenever building or debugging an Iced UI." license: MIT user-invocable: true metadata: author: vanillagreen source: kendex repository: "https://github.com/vanillagreencom/kendex" bugs: "https://github.com/vanillagreencom/kendex/issues" version: "3.0.0" tags: [ui] ---

# Iced 0.14

> **Problem with this skill?** Run `kendex report` — it files to the owning repo automatically. Do not hand-file.

## Workflow

1. Classify the surface against `references/guide-surface-selection.md`. Do not skip. 2. Read the canonical example in `examples/` — never generate 0.14 code from memory. 3. Read the guide for that surface; for animated layered UI, `references/guide-animated-layout.md` comes first. 4. Stuck: the guide's "Common failure modes" / "Gotchas", then `references/guide-animation-debugging.md` for animation and render bugs. The three most common: missing `capture_event`, missing `invalidate_layout`, 0.13 event signatures.

Surface choice: built-in widgets + `.style(closure)` for standard UI; `Canvas` for 2D custom drawing; `Shader` for GPU-dense rendering; `iced::advanced::Widget` for custom events, state, or layout; for a floating layer try `tooltip`, `float`, or `stack`+`opaque` before a custom `Overlay`.

## Bundled resources

### `references/` — API refs and guides

Full list in `references/INDEX.md`; load on demand.

| Guide | Use | |---|---| | `guide-surface-selection.md` | Pick the right primitive | | `guide-custom-widgets.md` | `iced::advanced::Widget` | | `guide-custom-overlays.md` | `iced::advanced::overlay::Overlay` | | `guide-animated-layout.md` | Animated transitions, measured positions, keyed identity, clipping | | `guide-animation-debugging.md` | Symptom→cause checklist for animation/render bugs | | `widgets.md` | Widget catalog: every 0.14 widget, notes, canonical example |

API refs: `advanced-*.md`, `widget-*.md`, `canvas*.md`, `shader.md`, `element.md`, `length.md`, `padding.md`, `alignment.md`, `task.md`, `subscription.md`, `application.md`, `window.md`, `keyboard.md`, `mouse.md`, `theme*.md`, `catalog.md`, `pane-grid.md`, `animation*.md`, `api-module-tree.md`.

### `examples/` — every upstream Iced 0.14 example

| Need | Read first | |---|---| | Custom Widget impl | `examples/custom_widget/src/main.rs` | | GPU shader pipeline | `examples/custom_shader/` (full dir) | | Mesh / vector geometry widget | `examples/geometry/src/main.rs` | | Canvas 2D drawing | `examples/bezier_tool`, `examples/clock`, `examples/color_palette` | | Canvas animation | `examples/solar_system`, `examples/the_matrix`, `examples/game_of_life` | | Arc/ring animation | `examples/loading_spinners`, `examples/arc` | | Modal dialog | `examples/modal/src/main.rs` (stack + opaque) | | Toast/notification overlay | `examples/toast/src/main.rs` | | Tooltip / zoom-on-hover | `examples/loupe/src/main.rs` | | Styled components | `examples/styling/` | | pane_grid layout | `examples/pane_grid/` | | Multi-window | `examples/multi_window/` | | WebSocket subscription | `examples/websocket/` | | Text editing | `examples/editor/` |

### `iced_wgpu/` — iced's own wgpu renderer source

| File | Use | |---|---| | `iced_wgpu/src/engine.rs` | Device/Queue per-frame lifecycle | | `iced_wgpu/src/layer.rs` | Layer composition | | `iced_wgpu/src/quad.rs`, `quad/solid.rs`, `quad/gradient.rs` | Instanced quad pipeline template | | `iced_wgpu/src/triangle.rs`, `triangle/msaa.rs` | Mesh pipeline with MSAA | | `iced_wgpu/src/primitive.rs` | Custom shader primitive interface | | `iced_wgpu/src/buffer.rs` | Resizable growable buffer pattern | | `iced_wgpu/src/shader/quad.wgsl` | Reference WGSL for instanced quads |

### External fallbacks

Local references are pinned to 0.14.0 — prefer them. For newer API surface: `ctx7 docs /websites/rs_iced_iced "<query>"`, `https://docs.rs/iced/0.14.0/iced/`, or upstream master at `https://github.com/iced-rs/iced` (may have unreleased APIs).

## Breaking changes from Iced 0.13

- `Widget::update` takes `event: &Event` (by ref, not by value) - `Widget::layout` takes `&mut Tree` - Entry points split: `iced::daemon(boot, update, view)` multi-window, `iced::application(new, update, view)` single-window - Shrink prioritized over Fill in layout resolution - Theme palette uses Oklch - Keyboard subscriptions unified into `keyboard::listen`

## Rules (non-negotiable framework invariants)

### Widget tree consistency

Conditional wrapping changes tree shape and breaks event tracking. Always wrap; conditionally attach the handler.

```rust // WRONG: conditional wrapping changes tree shape if dragging { mouse_area(label).into() } else { label.into() }

// RIGHT let mut area = mouse_area(label); if enable { area = area.on_press(msg); } area ```

`MouseArea` has no `on_press_maybe` (`button`-only); gate the `on_press` call, not the wrapper.

### view() is pure

No side effects, no memoization dependent on call frequency. All mutable state lives in `State` and is mutated only in `update()`. Never trigger redraws from `view()`.

### Redraw vs rebuild

`request_redraw()` repaints but does **not** call `view()`. Animation state must live in `widget::Tree` state — widget struct fields are frozen between `view()` calls. See `references/animation.md` § "Redraw vs rebuild."

### Animation invalidation

Paint-only changes (color, opacity, rotation within fixed bounds) need `shell.request_redraw()`. Layout-affecting changes (size, position, expand/collapse, clipping bounds) need `shell.request_redraw()` **and** `shell.invalidate_layout()`. A widget that "only updates on the second click" has stale layout — add `invalidate_layout()`.

### Draw order is z-order

In custom widget `draw()`, child iteration order determines z-order; last drawn is on top. `stack` semantics do not apply inside manual draw loops.

### Overlay visibility requires layout invalidation

A widget that conditionally returns an overlay must call `shell.invalidate_layout()` when visibility changes.

```rust Event::Mouse(mouse::Event::CursorEntered) => { if !self.show_overlay { self.show_overlay = true; shell.invalidate_layout(); // required } } ```

### Custom overlays are the #1 panic source

Prefer built-ins (`tooltip`, `float`, `stack`+`opaque`). A violated contract panics as `container.rs unwrap() on None`. The contract: `children()` returns a fixed count; `diff()` reconciles all children regardless of visibility; `layout()` returns nodes matching children; `draw()` walks the same tree layout produced. Full spec: `references/guide-custom-overlays.md`.

### Overlay viewport contract

When calling descendant `Widget` methods from inside an `Overlay` impl, pass `Rectangle::INFINITE` as the viewport, **never** the stored viewport from the parent's `overlay()`. `Overlay::layout()` may still use `bounds: Size` for its own coordinate space.

### Overlay state isolation

Overlay layers (`stack` children beyond the base) must not affect base-layer widget structure. Never change base-layer construction based on overlay presence.

### Overlay starvation

Stacked `mouse_area(...).interaction(...)` layers can block underlying hover/move handlers even without `opaque(...)`. Set `Interaction::Grabbing` on the real drag target, and reserve `opaque(...)` for true capture zones.

### Hover stability

Hover sensors must not wrap content whose size changes during the animation they trigger. Use a stable outer hitbox. See `references/guide-custom-widgets.md` § "Stable hover hit regions."

### Scroll state initialization

`scrollable.on_scroll` fires only after user scrolling, never at initial layout. Use `sensor.on_show` for initial layout and `sensor.on_resize` for changes.

### Single message per interaction

One widget interaction produces one message. Composite actions (tab press becoming a drag) use a state machine in `update()`. When `mouse_area` handles semantics while `button` provides visual feedback, exactly one layer publishes:

```rust // RIGHT: mouse_area owns semantics; button is visual-only mouse_area(button(content)).on_press(Message::Activate)

// WRONG: both layers publish mouse_area(button(content).on_press(Message::Activate)).on_press(Message::Activate) ```

`button.on_press` fires on mouse-up; `mouse_area.on_press` fires on mouse-down — use it for drag initiation.

### pane_grid

- `PaneGrid::min_size` is uniform. Per-pane minimums must be enforced in pane content or in split/resize state. - TitleBar content must use `Shrink` width so empty space remains for the pick area; `Fill` eliminates it. - `button` and `mouse_area` both `capture_event()` on press: tab elements capturing means a custom tab drag, an empty title bar means native pane_grid drag. Tab drag is `mouse_area.on_press` per tab plus `listen_with` for `CursorMoved`/`ButtonReleased`, with an Idle → Pressed(origin) → Dragging state machine at an 8px threshold. - In `pane_grid::Content::update` the title bar processes before the body. Do not unconditionally clear state in body-exit handlers that the title bar just established. - Keep drag feedback inside the picked pane subtree or in `pane_grid::Style`. `mouse_area`/`opaque` pane-drag overlays are rebuild-sensitive and can prevent `Dropped` events; drag previews must reuse the same TitleBar/body shell.

### Subscriptions

Each data source needs stable identity — `Subscription::run_with(id, stream)` or `.with(id)`, batched with `Subscription::batch`. See `references/subscription.md`.

Pre-aggregate high-frequency data in the subscription worker: emit one batch per non-empty ~16ms window, over bounded channels with producer-side `try_send()`.

### Theming — no custom Theme type for tokens

Build the palette with `Theme::custom_with_fn("My Dark", palette, |p| theme::palette::Extended::generate(p))`, keep app tokens in a `LazyLock<AppTokens>` sidecar, and route every visual value through it from style closures that ignore the passed `&Theme`. Introduce a custom `Theme` type only when runtime theme switching demands it.

Built-in palette roles are `primary`, `success`, `danger`, `warning`. Fonts load on the entry point (`.font(include_bytes!(...))`); `Font::MONOSPACE` resolves to the first loaded monospace font and `Font::with_name("...")` to a system font. See `references/theme.md`, `references/theme-palette.md`, `references/catalog.md`.

### Cache staleness

Before writing cached or mirrored UI state, enumerate every mutation path that can stale it. Extend the existing global event path rather than adding a parallel subscription for the same event family; add at least one regression test per non-obvious invalidation or source-window gate.

## Architecture

`Message` enum and `State` struct live in the root module; extracted modules receive `&State` or `&mut State`. Extract when a feature is gated and self-contained, forms a cohesive responsibility group, or exceeds ~30 lines over a well-defined `State` subset.

Multi-window: `window::open(settings) -> Task<window::Id>`, `window::close(id)` — `references/window.md`. Testing: `iced_test` provides `Simulator` (headless widget), `Emulator` (full runtime), and snapshot support.

## Dev tools

| Tool | Purpose | Install | |---|---|---| | `cargo-hot` | Live UI patching | `cargo install cargo-hot` | | `comet` | Debugger: frame metrics, widget tree, message inspector | `cargo install --locked --git https://github.com/iced-rs/comet.git` |

`features = ["debug"]` plus F12 enables the built-in debugger. Stress-test with `ICED_PRESENT_MODE=Immediate` and `unconditional-rendering`. Measure with `iced::debug::time` and `comet` before optimizing:

```rust fn update(&mut self, message: Message) -> Task<Message> { iced::debug::time(format!("{message:?}"), || match message { /* ... */ }) } ```

技术详情

版本
1.0.0
许可证
MIT
最近更新
2026年8月24日
发布时间
2026年8月24日

决策摘要

备选候选

64
就绪
原型验证
阶段

仓库近期活跃

审计

安装审查

安装与采用审查

78
需审查
安全性
79/100
维护状态
100/100
安装
92/100
打开完整审计查看评估报告

Agent 验证证据

Agent 验证证据

来自解析、审查、安装和一次小范围运行后的结果报告。

0
已验证
Needs first agent run自动安装: 先审查最近: 未知
成功率
近期失败
结果
0
输出质量
失败
0
不相关
0
安装次数
0
风险拦截
0
需要配置
0
生产环境
0

暂时没有 Agent 结果数据。首次 Agent 执行可以通过 /api/agent/outcome 报告成功、需要设置、风险拦截、失败或不相关。

安装

加入 Agent 工作流

免费且开源. 在生产 Agent 中安装前请先审查报告。

增长闭环

分享工具包

X

为 iced-rs 准备的场景化草稿,可手动发布到 X。

策展说明
A practical pick for design or creative work:

iced-rs: Iced 0.14 GUI expert: custom widgets via iced::advanced, overlays, Canvas, Shader, pane_grid, theming, subscriptions, Elm a...

64 stars

https://www.openagentskill.com/skills/vanillagreencom-iced-rs?ref=x
打开 X 草稿
可选:带安装命令的回复
Listing + install path for iced-rs:
https://www.openagentskill.com/skills/vanillagreencom-iced-rs?ref=x

Install: npx skills add vanillagreencom/kendex --skill iced-rs
打开回复草稿

收录来源

Registry 收录

可认领

此列表来自公开来源,维护者认领获批前不会标记为官方。

收录方
OpenAgentSkill 社区索引

归属链接指向公开仓库或创作者主页。创作者可认领列表以更新所有权信号。

认领此 Skill

所有者认领

认领此 Skill 页面

这条 Registry 收录 列表归属于 vanillagreencom,但尚未标记为官方。认领后可增加已验证所有者信号,使后续发布、安装和审计更新更值得信赖。

创作者外链工具包

将证据徽章加入你的 README

在开发者评估仓库的位置展示规范页面、当前信任与审计信号,以及真实的 Agent 验证证据。

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/vanillagreencom-iced-rs?metric=listed&label=Listed)](https://www.openagentskill.com/skills/vanillagreencom-iced-rs)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/vanillagreencom-iced-rs?metric=trust&label=Trust)](https://www.openagentskill.com/skills/vanillagreencom-iced-rs)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/vanillagreencom-iced-rs?metric=audit&label=Audit)](https://www.openagentskill.com/skills/vanillagreencom-iced-rs/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/vanillagreencom-iced-rs?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/vanillagreencom-iced-rs)

作者

V

vanillagreencom

@vanillagreencom

平台适配

健康信号

GitHub Stars
64
质量评分
36/100
最近 GitHub 推送
2026年8月24日
框架提示
未知
OpenAgentSkill 浏览量
0
复制安装命令
0
跳转点击
0

社区信号

告诉我们这个 Skill 是否对你的 Agent 工作流有帮助。汇总反馈会持续改善排序。

信任与安全

仅限沙盒

65
  • GitHub 采用度64 个 GitHub Stars检查
  • Star/Fork 活跃度64 个 Star,23 个 Fork; 当前元数据中没有议题活跃度信息检查
  • 近期维护今天有推送通过
  • 许可证清晰度MIT通过
  • README/SKILL.md 完整度元数据包含足够的用法与工作流上下文通过
  • 依赖与运行时风险command execution surface, external package install surface检查