ahonn/dotfiles
Overview
This skill provides a CLI-driven browser automation toolkit for web testing, screenshots, data extraction, and demo recording. It exposes navigation, page inspection, DOM interactions, and recording features to automate workflows and reproduce user journeys. Use it to script tests, capture visual evidence, and extract structured page data quickly.
How this skill works
It opens a real browser context and exposes commands to navigate, snapshot the accessibility/DOM tree, and interact with elements using stable refs or semantic locators. Snapshots return element refs like @e1 which you reuse for clicks, fills, checks, and queries. Recording, network routing, and session state let you reproduce flows or run parallel isolated sessions.
When to use it
- Automated end-to-end testing of web apps and form flows
- Capture screenshots, full-page PDFs, or video demos of pages
- Extract text, attributes, or counts from pages for scraping
- Reproduce and debug UI bugs with headed mode and console logs
- Simulate user interactions: clicks, typing, file uploads, drag-and-drop
Best practices
- Run snapshot -i to gather interactive element refs before interacting
- Re-snapshot after navigation or major DOM updates to refresh refs
- Use semantic locators (role/name/text) for more resilient targeting
- Save/load session state for authenticated flows instead of re-login
- Pipe --json output into scripts for reliable machine parsing
Example use cases
- Automate a sign-in test: open page, fill email/password, click submit, wait for dashboard
- Record a product walkthrough: start record, navigate, click features, stop to save webm
- Take full-page screenshots for visual regression or design review
- Scrape a listing page: snapshot, get text/@href for each item, export counts
- Mock API responses during tests with network route and --body to simulate edge cases
FAQ
Use semantic locators (find role/text/label) or re-run snapshot after navigation to obtain fresh refs.
Can I run headless and headed modes?
Yes. Run normally for headless, add --headed for a visible browser to debug interactions and view console output.
9 skills
This skill automates browser tasks for web testing, form filling, and data extraction, simplifying interactive testing and capturing results.
This skill guides crafting Claude skills with concise, context-efficient workflows, references, and progressive disclosure for reliable agent customization.
This skill applies React best practices from react.dev and Vercel to review code, optimize performance, and improve state and effects.
This skill enforces clear WHY-focused comments and removes redundant ones to reduce cognitive load when editing code.
This skill helps you write idiomatic Rust by applying ownership and pattern-based guidance for APIs, borrowing, and safe abstractions.
This skill analyzes and explores codebases with Repomix CLI to reveal structure and patterns, enabling efficient repository understanding.
This skill helps you reason and plan complex requests by applying a structured framework for task analysis, risk assessment, and hypothesis formation.
This skill helps you plan scalable programmatic SEO content using data-driven workflows to generate hundreds of pages with structured templates.
This skill analyzes keywords using Google Search Console data to identify opportunities, quick wins, and niche validation.