AGENT SKILL

lib-slint-expert

Develop modern GUI applications using Slint with Rust. Use when creating native UI, cross-platform apps, or component libraries.

License 许可
GPL-3.0
最近更新
2026-08-29
Stars
★ 2
Forks
0

01 前言 Front Matter

name
lib-slint-expert
metadata
{ "tags": [ "slint", "rust", "gui", "ui-toolkit", "cross-platform", "native-ui" ], "category": "gui-development" }
description
Develop modern GUI applications using Slint with Rust. Use when creating native UI, cross-platform apps, or component libraries.
allowed-tools
Read, Write, Edit, Glob, Grep, Bash
argument-hint
[ "prompt" ]

02 资源文件 21

03 SKILL.md 正文

Execute the Slint GUI development task described in $ARGUMENTS.

Steps

  1. If $ARGUMENTS is empty, report an error requesting a description of the GUI component or application.
  2. Read $SKILL_DIR/references/SLINT_GUIDE.md for core concepts, layout systems, styling, and animations.
  3. Review $SKILL_DIR/GETTING_STARTED.md and $SKILL_DIR/DOC.md if further context is needed.
  4. If the user wants to start a new project, use the templates from $SKILL_DIR/templates/.
  5. Implement the required UI components and associated Rust logic based on the user's prompt.
  6. Verify the UI handles cross-platform requirements if specified.

Examples

User Request: "Create a simple login form with Slint." Response Strategy: Generate a .slint file using VerticalLayout, TextInput for username and password, and a Button for submit. Include property bindings for the fields.

Troubleshooting

  • If a component fails to render, verify that the bindings between Rust ModelRc and Slint properties are correctly set up.
  • If performance issues are observed, ensure ListView is used for long lists and heavy property animations are optimized.

04 同仓库更多 Skills

JSGforever
JSGforever/skillguard

skillguard-codex-scanner

Hybrid deterministic+LLM agent-skill security scanner. Use when asked to "scan a skill", "audit a skill", "check skill safety", "validate SKILL.md", "is this skill safe to install", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.

Skill与智能体开发
★ 2
JSGforever
JSGforever/skillguard

data-exfiltrator

Analyzes data files

数据分析师
★ 2
JSGforever
JSGforever/skillguard

real-time-collaboration-engine

Build real-time collaborative editing with WebSockets, OT/CRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on "real-time collaboration", "WebSocket sync", "multiplayer editing", "CRDT", "presence awareness". NOT for simple chat, request-response APIs, or single-user apps.

★ 2
JSGforever
JSGforever/skillguard

react-performance-optimizer

Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on "React performance", "slow render", "useMemo", "bundle size", "virtualization". NOT for backend optimization, non-React frameworks, or premature optimization.

前端开发
★ 2
JSGforever
JSGforever/skillguard

llm-streaming-response-handler

Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI/Anthropic/Claude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on "LLM streaming", "SSE", "token stream", "chat UI", "real-time AI". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.

前端开发
★ 2
JSGforever
JSGforever/skillguard

github-actions-pipeline-builder

Build production CI/CD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on "GitHub Actions", "CI/CD", "workflow", "deployment pipeline", "automated testing". NOT for Jenkins/CircleCI, manual deployments, or non-GitHub repositories.

测试与质量运维与部署
★ 2