跳到正文
cccskills
免费在 GitHub 公开

screenpipe-tauri

Add or modify Tauri commands in the screenpipe desktop app and regenerate TypeScript bindings, the code connecting frontend calls to Rust handlers. Follow the required annotations and checks to keep both sides consistent.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Add or change Tauri commands and TypeScript bindings in the screenpipe desktop app. Use when editing

查看安装方法

适用场景

  • Adding a command to the desktop app
  • Updating Rust types exposed to the frontend
  • Regenerating TypeScript bindings after changes
  • Checking consistency between Rust and TypeScript

包含的文件(1)

  • SKILL.md1.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Screenpipe Tauri (desktop app)

Path: apps/screenpipe-app-tauri/

Command registration is automated via the tauri-helper crate. Do not edit manual invoke-handler or specta command lists in main.rs.

Adding a command

  1. Add both markers to the handler function in any src-tauri/src/**/*.rs module:
    #[tauri::command]
    #[specta::specta]  // required — without this the command is skipped in tauri.ts
    pub async fn your_command(...) { ... }
    
  2. From apps/screenpipe-app-tauri/:
bun run bindings:generate   # write lib/utils/tauri.ts
bun run bindings:check      # verify no drift
bun run typecheck           # verify frontend types
  1. Commit Rust + lib/utils/tauri.ts together

Scripts

CommandPurpose
bun run bindings:checkFail if checked-in lib/utils/tauri.ts does not match Rust
bun run bindings:generateRegenerate lib/utils/tauri.ts after command/type changes
bun run typecheckFrontend TypeScript check

Key files

  • src-tauri/build.rs — tauri_helper::generate_command_file (build-time scan)
  • src-tauri/src/main.rs — specta_collect_commands!() / tauri_collect_commands!()
  • src-tauri/src/specta_bindings.rs — export helpers and drift tests
  • lib/utils/tauri.ts — generated TypeScript bindings (checked in)

Debug builds also auto-export bindings on startup when content changes.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Develop and test Windows-specific Screenpipe changes on a disposable Azure virtual machine. The workflow verifies native behavior, preserves logs and desktop video, and handles branch and pull request delivery when authorized.

中文简介正在准备中。当前显示英语简介。

  • Test Windows-specific capture and permission behavior
  • Investigate compiler, process, or service issues
  • Preserve desktop video and logs for a pull request
screenpipe/screenpipe2.2万2026年10月19日 更新

release

免费

Prepare screenpipe component releases by updating versions and dependency lock files, running required build checks, and triggering GitHub Actions. Verify build results and release artifacts, then hand public app publication over to a person.

中文简介正在准备中。当前显示英语简介。

  • Preparing a desktop app release
  • Checking whether Rust changes require a CLI release
  • Updating MCP versions and checking publication
screenpipe/screenpipe2.2万2026年10月19日 更新

Create charts, dashboards, scorecards, and styled summaries as standalone HTML reports for the screenpipe viewer. Keep styles, scripts, and images inside the file so the report renders in a sandbox with no network access.

中文简介正在准备中。当前显示英语简介。

  • Create a visual report of daily work time
  • Present key metrics in a dashboard
  • Summarize results with charts and scorecards
screenpipe/screenpipe2.2万2026年10月19日 更新

Search Screenpipe recordings, screen text, audio transcripts, and synced-device history through its local API. Use the evidence to review activity, find meeting details, and inspect saved workflows, including recorded steps that can inform automation.

中文简介正在准备中。当前显示英语简介。

  • Review activity from a specific day or time range
  • Find recorded meeting remarks and screen text
  • Search work history on another synced device
screenpipe/screenpipe2.2万2026年10月19日 更新

Use Screenpipe’s local REST API, an interface for programmatic requests, to search screen and meeting history, review app activity and active time, retrieve synced-device records, export recordings, and rerun audio transcription.

中文简介正在准备中。当前显示英语简介。

  • Reviewing daily app use and active screen time
  • Finding decisions in recorded meetings
  • Searching history from a synced device
screenpipe/screenpipe2.2万2026年10月19日 更新

Turn a recorded software failure into a draft bug report with timestamps, reproduction steps, expected and actual behavior, and relevant evidence. Separate visible symptoms from possible causes and remove sensitive details from shareable evidence.

中文简介正在准备中。当前显示英语简介。

  • Drafting a bug report from recorded activity
  • Recovering steps taken before and after a failure
  • Comparing expected behavior with observed results
screenpipe/screenpipe2.2万2026年10月19日 更新

查看 screenpipe 的全部技能

报告此技能的问题