What problem does it solve?
Adding features to the Browser4 codebase requires touching many coordinated files (Rust command definitions, Kotlin controllers, tool executors, tests) and knowing which modules a change affects. This Skill generates multi-file skeletons from the repository's real reference implementations and verifies them with builds, so new code follows current conventions instead of stale templates.
Core Features & Use Cases
- Multi-file scaffolding: Generate a complete
browser4-cli command (commands.rs CommandDef, MCP alias, backend executor, test) or a REST endpoint (Controller + Service + test) from a single name.
- Impact analysis: Rebuild the live module dependency graph from pom.xml files and compute which modules a file change affects before editing.
- CDP pitfall checks: Run trap checks on browser driver code to catch known issues like mouseWheel races and cursor positioning bugs.
- Use Case: A developer asks to add an
extract-prices command to browser4-cli; the Skill scaffolds all four touchpoints, then verifies both the Rust side (cargo test) and the Kotlin side (mvnBuild).
Quick Start
Ask the agent to add a new browser4-cli command named extract-prices and verify it compiles on both the Rust and Kotlin sides.