aiskillstore/marketplace / skills/8beeeaaat/debug-tauri
debug-tauri
VerifiedAutomates Tauri WebView debugging using official plugins (tauri-plugin-log + screenshots) with process verification, automated screenshots, console logs, and state analysis. Use when debugging Tauri apps, investigating WebView issues, analyzing runtime errors, or troubleshooting UI problems.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.8 KB |
| references/IPC_COMMANDS.md | markdown | 3.9 KB |
| references/LOGGING.md | markdown | 4.8 KB |
| references/MIGRATION.md | markdown | 10.4 KB |
| references/REFERENCE.md | markdown | 5.2 KB |
| references/REPORT_TEMPLATE.md | markdown | 3.1 KB |
| references/SCREENSHOTS.md | markdown | 4.0 KB |
| references/TROUBLESHOOTING.md | markdown | 2.8 KB |
| scripts/analyze_logs.shexecutable | script | 3.6 KB |
| scripts/capture.shexecutable | script | 2.4 KB |
| scripts/validate_setup.shexecutable | script | 4.9 KB |
| skill-report.json | config | 225.7 KB |
scripts/capture.sh
View on GitHub#!/bin/bash
# Tauri app screenshot helper script (DEPRECATED)
# Usage: ./capture.sh
#
# β οΈ DEPRECATED: This script is legacy and macOS-only.
#
# π‘ Migrate to official plugin API:
# import { captureMainWindow } from "tauri-plugin-debug-tools/screenshotHelper";
# const screenshot = await captureMainWindow();
#
# Benefits of plugin API:
# - Cross-platform (macOS/Windows/Linux)
# - No screen recording permissions required
# - Programmatic access from TypeScript
# - Base64 PNG data returned directly
APP_NAME="${TAURI_APP_NAME:-tauri-app}"
OUTPUT_DIR="/tmp"
# Show deprecation warning
echo "β οΈ WARNING: This script is deprecated"
echo "βββββββββββββββββββββββββββββββββββββββ"
echo ""
echo "This legacy script only works on macOS and requires Screen Recording permissions."
echo ""
echo "π‘ Recommended: Use the official tauri-plugin-screenshots API instead:"
echo ""
echo " import { captureMainWindow } from 'tauri-plugin-debug-tools/screenshotHelper';"
echo " const screenshot = await captureMainWindow();"
echo ""
echo "Benefits:"
echo " β
Cross-platform (macOS/Windows/Linux)"
echo " β
No special permissions required"
echo " β
Programmatic access from TypeScript"
echo ""
echo "Press Enter to continue with legacy script, or Ctrl+C to cancel..."
read -r
echo ""
function check_app_running() {
if ! pgrep -x "$APP_NAME" > /dev/null; then
echo "β Error: $APP_NAME is not running"
echo "π‘ Start the app with your dev command (e.g., tauri dev)"
exit 1
fi
echo "β
$APP_NAME is running"
}
function capture_screenshot() {
local timestamp=$(date +%s)
local output_path="$OUTPUT_DIR/tauri_debug_$timestamp.png"
echo "πΈ Capturing screenshot..."
if ! screencapture -x -T 0 "$output_path" 2>/dev/null; then
echo "β Failed to capture screenshot"
echo "π‘ Check System Preferences > Security & Privacy > Screen Recording"
exit 1
fi
if [ ! -f "$output_path" ]; then
echo "β Screenshot file not created"
exit 1
fi
echo "β
Screenshot saved: $output_path"
echo "$output_path"
}
function get_process_info() {
echo "π Process information:"
ps aux | grep "$APP_NAME" | grep -v grep | head -1
}
function main() {
echo "π Tauri Debug Helper"
echo "===================="
echo ""
check_app_running
echo ""
get_process_info
echo ""
capture_screenshot
}
main
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate 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, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |