exec-js

Execute JavaScript code in the Tauri app's webview context

Content Preview
---
name: rust:tauri:exec-js
description: Execute JavaScript code in the Tauri app's webview context
allowed-tools: mcp__tauri-mcp__execute_js
author: Quintin Henry (https://github.com/qdhenry/)
---

<objective>
Execute arbitrary JavaScript in the Tauri application's webview. Useful for inspecting state, triggering actions, or debugging frontend behavior.
</objective>

<instructions>
Execute JavaScript in the Tauri app: **$ARGUMENTS**

Arguments format: `[process_id] [javascript_code]`
- `proces
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/exec-js.md \
  https://raw.githubusercontent.com/qdhenry/Claude-Command-Suite/main/.claude/commands/rust/tauri/exec-js.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/qdhenry/Claude-Command-Suite

Then reference at .claude/commands/rust/tauri/exec-js.md

Related Skills