Svelte 5 杂项技能。当用户需要了解 TypeScript 支持、自定义元素、浏览器兼容性、Svelte 4→5 迁移、FAQ 时使用。
632 skills available
Svelte 5 杂项技能。当用户需要了解 TypeScript 支持、自定义元素、浏览器兼容性、Svelte 4→5 迁移、FAQ 时使用。
Guidance for Tauri v2 websocket plugin with Rust-managed connections and lifecycle handling.
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill.
Rust 宏系统技能 — 声明宏(macro_rules!:片段类型符、重复模式、TT muncher、递归)、过程宏(proc-macro crate:derive 宏、属性宏、函数式宏)、第三方工具(syn 解析、quote 生成)、宏调试与 hygiene。基于 The Book ch 19.6 与 Rust Reference(宏章节)。当用户需要减少重复代码、创建 DSL、实现自定义 derive 或理解宏展开时激活。
Rust 风格格式化与静态分析技能 — rustfmt 配置(缩进、换行、导入组织)、Clippy lint 体系(allow/warn/deny、clippy.toml、关键 lint 群组)、Edition 迁移指南(2015→2018→2021→2024,cargo fix --edition)、编译器错误码解读(rustc --explain、常见 E0277/E0308/E0502/E0597/E0432)。基于 rustfmt Book、Clippy Book、Edition Guide、Error Code Index。当用户需要格式化代码、运行静态分析、迁移 edition 或解读编译器错误时激活。
Rust 测试与基准测试技能 — 单元测试(#[test]、#[cfg(test)])、断言宏、测试属性(#[should_panic]、#[ignore])、集成测试(tests/)、文档测试(doctest)、cargo test 运行器、基准测试(#[bench]、cargo bench)、代码覆盖率。基于 The Book ch 11 与 Rustdoc Book。当用户需要编写测试、运行基准测试或保证代码质量时激活。
Generate feature specifications by analyzing existing source code.
Retrieves the full details of a specific screen, including HTML code.