hand-drawing-testing

Automate end-to-end hand-drawing tests on mobile apps via ADB and Python scripts.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/hungson175/shared-claude-config --skill hand-drawing-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hand-drawing-testing
Source: https://github.com/hungson175/shared-claude-config/tree/main/skills/hand-drawing-testing
Command: npx skills add https://github.com/hungson175/shared-claude-config --skill hand-drawing-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates end-to-end testing of hand-drawing interactions on mobile apps by simulating touch input and validating canvas output, reducing manual QA effort and increasing test reliability.

Core Features & Use Cases

  • Stroke and gesture automation: Draw straight lines, curves, circles, and signatures using scripts like draw_stroke.py.
  • Visual verification: Capture screenshots and compare against baselines with compare_canvas.py.
  • Test patterns: Includes common test patterns (basic stroke, undo/redo, signature capture) and guidance for multi-stroke sequences.

Quick Start

Run a basic hand-drawing test: draw a horizontal line on the canvas and compare the result to a baseline.

Frequently Asked Questions about hand-drawing-testing

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

FAQPage Schema
How do I automate hand-drawing tests on mobile apps using ADB?

Automating hand-drawing tests with ADB involves simulating touch input to draw strokes and capturing screenshots to validate the canvas output. This Skill orchestrates test patterns using Python scripts to generate lines, curves, and signatures for end-to-end testing.

How do I validate canvas output after simulating touch input?

Validating canvas output after touch input requires capturing a screenshot of the mobile app and comparing it against a baseline image. The compare_canvas.py script uses Pillow and numpy to automate this image comparison and verify drawing accuracy.

Does this hand-drawing automation tool support testing multi-stroke sequences and undo/redo?

Yes, the hand-drawing automation tool supports testing multi-stroke sequences and undo/redo patterns. It includes scripts and guidance to orchestrate complex interactions like signature capture across various devices and screen sizes.

Do I need Python and ADB to run automated signature capture tests?

Yes, you need both ADB and a Python runtime to execute automated signature capture tests. The Skill relies on Python dependencies like Pillow and numpy, along with included scripts, to simulate touch input and perform image comparisons.

What's the best way to compare mobile canvas screenshots against a baseline image in Python?

The best way to compare mobile canvas screenshots in Python is using Pillow and numpy to detect visual differences. The included compare_canvas.py script automates this process, validating that simulated touch strokes match the expected baseline output.