Skills

Pinchtab Dev

Develop and contribute to the PinchTab project.

Install

npx skills add pinchtab/pinchtab --skill pinchtab-dev -g -a claude-code -y
Repository
pinchtab/pinchtab10.5k
Category
Testing
Updated
8d ago
License
MIT
Context cost
Mediumabout 2,536 tokens
Runs scripts
No, instructions only

What it does

Develop and contribute to the PinchTab project. Use when working on PinchTab source code, adding features, fixing bugs, running tests, or preparing PRs. Triggers on "work on pinchtab", "pinchtab development", "contribute to pinchtab", "fix pinchtab bug", "add pinchtab feature".

PinchTab Development

PinchTab is a browser control server for AI agents, Small Go binary with HTTP API.

Project Location

Run everything from the repository root (a clone of github.com/pinchtab/pinchtab).

Dev Commands

All development commands run via ./dev:

CommandDescription
./dev buildBuild the application
./dev devBuild & run
./dev dashboardHot-reload dashboard development (Vite + Go)
./dev runRun the application
./dev checkAll checks (Go + Dashboard + Plugin)
./dev check goGo checks only
./dev check dashboardDashboard checks only
./dev test unitGo unit tests
./dev test dashboardDashboard unit tests
./dev e2e basicBasic suite (api + cli + infra)
./dev e2e extendedExtended suite (all extended)
./dev e2e smokeSmoke suite
./dev smokeHost Docker smoke checks (--browser=chrome|cloak|all)
./dev e2e test "<name>"Run a single E2E test by start_test name
./dev allcheck + test + e2e extended (pre-push gate)
./dev binariesBuild the full release binary matrix into dist/
./dev doctorSetup dev environment

Architecture

cmd/pinchtab/     CLI entry point
internal/
  bridge/         Chrome CDP communication
  handlers/       HTTP API handlers
  server/         HTTP server
  dashboard/      Embedded React dashboard
  config/         Configuration
  routes/         API route catalogue
  assets/         Embedded assets (stealth.js)
dashboard/        React dashboard source (Vite + TypeScript)
tests/e2e/        E2E runner, fixtures, scenarios/{api,cli,infra,plugin}/

Workflow: New Feature or Bug Fix

  1. Create branch from main:

    git checkout main && git pull
    git checkout -b feat/my-feature  # or fix/my-bug
    
  2. Make changes, follow code patterns in existing files

Read the whole SKILL.md on GitHub

More in Testing