/slint:slintfrom slint
Write, edit, debug, or review Slint UIs and host-language integration in Claude Code. Provides project discovery, API lookup via slint-docs, LSP diagnostics, and first-frame screenshot inspection.
Ships in slint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Look beside the target .slint file and up through the workspace for the applicable slint-project.json.
Resolve main, include paths, and library paths relative to the directory containing the project file.
Check main when the project file selects the entry point.
For Rust, check the owning crate's Cargo.toml and any inherited workspace dependencies.
If the crate uses slint_build, read its build script for the entry point and compiler settings.
Use Cargo.lock for the resolved Slint version.
The project file's edition controls language behavior.
Find the project's Slint version in its build configuration or lockfile.
Call slint-docs search for the element, property, widget, or API you need.
Pass version when the project uses an older release.
Pass site: "testing" to search the Slint UI Testing docs.
Call fetch with the result's URL exactly as returned to read the page for that release.
If the documentation tools are unavailable, open the matching release at
https://releases.slint.dev/<version>/docs or use the current Slint docs.
Use the slint-lsp language server for hover, go-to-definition, and source diagnostics when it is installed.
slint-preview's check_slint with the saved file's absolute path.
If a slint-project.json applies, pass its containing directory as the absolute projectRoot.
For a self-contained snippet, pass source instead of path.
Pass style if the project uses a specific standard widget style.Use the returned PNG when sharing a screenshot. Use the running app or its tests to verify host-language callbacks, models, and application state.
.slint in 30 SecondsDeclarative and reactive: a property binding re-evaluates automatically when anything it reads changes.
import { Button, VerticalBox } from "std-widgets.slint";
component Counter inherits Rectangle { // root element decides fill behavior
in property <string> label; // parent/host writes
out property <int> count; // component writes
callback changed(int); // notify the outside world
VerticalBox {
Text { text: "\{root.label}: \{root.count}"; } // interpolation
Button { text: "+"; clicked => { root.count += 1; root.changed(root.count); } }
}
}
Property directions: in / out / in-out / private. Two-way bind: a <=> b.
Control flow: if cond : E {}, for it[i] in model : E {}. Shared state & host
interop: export global Foo { ... }. One-time code: init => { ... }.
Read the matching reference before working in that area.
| File | Read when… |
|---|---|
| setup.md | Starting a project / wiring the build (Rust/C++/Node/Python). |
| language-and-layout.md | Writing components; an element won't size/fill as expected. |
| gotchas.md | A file won't compile, or colors/units/math/enums behave oddly. |
| events-and-overlays.md | Clicks/keys/modifiers, or popovers/menus/context menus. |
| icons-and-theming.md | Icons, or light/dark theming. |
| interop.md | Connecting the UI to host-language logic (models, callbacks, globals). |
| polish.md | The UI works but looks rough; reviewing a rendered screenshot. |
| debugging-and-mcp.md | Debugging or interacting with the running app through its embedded MCP server. |
| licensing.md | The user asks about the license, or builds a closed-source app. |
| web-embedding.md | Showing a live .slint preview in a web page, HTML report, or docs. |
| tools-install.md | Installing slint-lsp. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub slint-ui/ai-plugins --plugin slint2 plugins ship this exact skill · first indexed Nov 23, 2026
Other plugins' skills for the same job