dev-test-hammerspoon

Automate macOS applications and desktop workflows using the Hammerspoon scripting engine.

19|5|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/edwinhu/workflows --skill dev-test-hammerspoon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-test-hammerspoon
Source: https://github.com/edwinhu/workflows/tree/main/lib/skills/dev-test-hammerspoon
Command: npx skills add https://github.com/edwinhu/workflows --skill dev-test-hammerspoon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates native macOS applications and desktop workflows, enabling robust testing and interaction with the operating system's graphical interface.

Core Features & Use Cases

  • Application Control: Launch, focus, and manage macOS applications.
  • Input Simulation: Simulate keyboard and mouse inputs for automated user actions.
  • Window Management: Control and position application windows.
  • Screenshots: Capture visual evidence for testing and verification.
  • Use Case: Automate the testing of a newly developed macOS application by launching it, performing a series of user interactions (clicks, typing), verifying UI elements, and capturing screenshots at each step.

Quick Start

Use the dev-test-hammerspoon skill to launch the 'Calculator' app and press the '5' key.

Frequently Asked Questions about dev-test-hammerspoon

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate macOS desktop applications for end-to-end testing?

You can automate macOS desktop applications for end-to-end testing by using the Hammerspoon scripting engine to simulate user interactions like keyboard input, mouse clicks, and window management.

Can I simulate keyboard and mouse input to test native macOS workflows?

Yes, simulating keyboard and mouse input for native macOS workflows is supported. The Skill automates user actions by programmatically launching apps, focusing windows, and triggering input events.

What is the best way to capture visual evidence during macOS desktop automation?

The best way to capture visual evidence during macOS desktop automation is by taking screenshots at each step. This allows you to verify UI elements and confirm application behavior after simulated interactions.

Does Hammerspoon support window management for automated application control?

Yes, Hammerspoon supports window management for automated application control. You can programmatically launch, focus, control, and position application windows during your testing workflows.

How do I launch and control native macOS apps using a scripting engine?

To launch and control native macOS apps, use the Hammerspoon scripting engine to trigger application launch, manage window focus, simulate keystrokes, and execute automated desktop workflows.

Are there limitations when automating desktop workflows on macOS with Hammerspoon?

Automating desktop workflows on macOS with Hammerspoon requires the native operating system environment to execute scripts. It is specifically designed for macOS desktop applications and depends on the Hammerspoon engine being installed.