phonebase-skill-creator
Installation
SKILL.md
PhoneBase Skill Creator
Write app skills — scripted automation packages that turn an Android app into pb CLI subcommands. After installing a skill, the user gets commands like pb googleplay search "telegram" or pb gmail compose.
Workflow
Creating a skill is an iterative process:
- Research the app — figure out its package name, deeplink schemes, key screens, and UI patterns
- Scaffold —
pb skills new <name> --package <pkg>to create the directory and extract the app icon - Write scripts — start with
open.js,close.js,state.js, then add business commands - Test on a real device — run each command, check the output shape, try edge cases
- Iterate — fix issues, handle dialog interruptions, improve stability
Don't try to get it perfect in one pass. Write the simplest version first, test it, then improve based on what actually happens on the device. Real Android devices are messy — apps update, dialogs pop up, UI elements move.
Directory Layout
Related skills