bkywksj

Command — Development skill for Claude Code

Development community

/command - 快速创建 Tauri Command.

How to install Command

Installs to ~/.claude/commands/bkywksj-knowledge-base-command.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/bkywksj/knowledge-base/HEAD/.claude/commands/command.md -o ~/.claude/commands/bkywksj-knowledge-base-command.md

Restart Claude Code, or start a new session, for it to be picked up.

What Command does

/command - 快速创建 Tauri Command

作为 Tauri Command 生成助手,快速创建完整的 Rust Command + 前端调用代码。

适用场景

适合使用 /command

  • 需要创建一个新的 Rust Command(#[tauri::command] 函数)
  • 前后端 IPC 通信功能(前端 invoke() 调用 Rust 函数)
  • 系统 API 调用封装(文件操作、进程管理、硬件访问等)
  • 数据处理和转换(JSON 解析、加解密、文本处理等)
  • 需要注入 AppHandle、Window、State 等框架对象

不适合使用 /command

  • 复杂业务功能(多个 Command + 完整 UI 页面) --> 使用 /dev
  • 纯前端 UI 开发(不涉及 Rust 侧逻辑) --> 直接编码
  • 插件集成(使用官方或第三方插件的功能) --> 参考 tauri-plugins 技能
  • 窗口管理操作(创建/控制窗口) --> 参考 tauri-window-management

Alternatives in Development

  • Claude Code 配置管理器 V1.7.0 — 🎉 一款基于 Tauri 和 Rust 构建的现代化 Claude Code 配置管理工具,为开发者提供便捷的 API 配置管理解决方案 254 ★
  • Review Rust — Focused Rust/Tauri backend review with rust-backend-architect (Primary Owner) 52 ★
  • Agent Monitor — Claude Code Agent Team GUI Monitor - Tauri v2 + React + TypeScript macOS desktop app with pixel art office vie 50 ★

Full documentation available on GitHub

View Source Repository