device-verify
Build, install and drive a mobile release build on one attached device over adb, screenshot what changed, and read the screenshots back. Use when a change claims to work on a device and nobody has watched it do so, or when the pipeline's runtime-check phase runs on a mobile project.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- device-verify
- description
- Build, install and drive a mobile release build on one attached device over adb, screenshot what changed, and read the screenshots back. Use when a change claims to work on a device and nobody has watched it do so, or when the pipeline's runtime-check phase runs on a mobile project.
03 SKILL.md 正文
pipeline:device-verify
Verifies by looking, not by compiling. The build succeeding is not the claim; the screen showing the feature is.
Preconditions — check, and stop loudly on failure
adbon PATH: trycommand -v adb, thencommand -v adb.exe, and say which name was found. WSL's bash cannot run a Windows install under the bare name; Git Bash can. Use the name found in every command below. Neither: report the missing tool and stop — the caller decides what a skipped verification means.- One device:
adb deviceslists the devices in statedevice. WithANDROID_SERIALset, use that device, and when more than one is attached pass-s <serial>to every adb command; a serial not in the list: say so and stop. Unset, exactly one must be listed. Zero: say so and stop. More than one: say so and stop — guessing which device the human means is how a wrong phone gets a debug build. - A mobile project at the working directory (the pipeline's detector
calls this
mobile-android). If the project's own build tooling is not obvious from its manifest, ask rather than guessing a build command.
The pass
- Build a release build with the project's own build command — never a debug build; debug builds hide release-only failures. Show the command before running it. An unsigned release build will not install: if the project has no release signing set up, say so and ask before signing it with the debug key.
- Install the artefact:
adb install -r <artefact>for an.apk. An.aabdoes not install as it is:bundletool build-apks --bundle=<aab> --output=<apks> --connected-device --ks=<keystore> --ks-key-alias=<alias>with the project's release key, thenbundletool install-apks --apks=<apks>, each with--device-id=<serial>when more than one is attached. Without--ks, bundletool signs with the debug key: ask first, as in step 1. A failed install is a finding, not an obstacle — report it verbatim. - Navigate to every screen the change touches. Map changed files to screens by the project's own structure where possible; where the mapping is unclear, say so and verify the entry screen plus whatever the change's description names.
- Screenshot each screen:
adb exec-out screencap -p > <folder>/<name>.png. The folder is.delivery-kit/runs/<feature>/screenshots/in a pipeline run, else.delivery-kit/screenshots/. Name it in the report. - Read every screenshot back and describe what it actually shows. The description is the verification: a screenshot nobody read is a file, not evidence.
Honesty rules
- Never report verification that did not happen. A screen you could not reach is reported as unreached, with the reason.
- Never call a build "working" from the build log alone.
- If the device disconnects mid-pass, report which screens were verified before the disconnect and which were not.
04 同仓库更多 Skills
status
Use when someone asks where the team's work stands, "team status", "what is everyone working on", or asks to update the team's progress page. Reads each member's tasks and works out each task's status from git and the pull requests, then shows it, and writes the readable progress page only when asked.
start
Use when a team member says "start my next task", "what is my next task", "team start", "team start <team>", or asks to continue their team work. Finds who is at the keyboard in each team and their next task in the team's plan, checks the working tree, and prints the exact /pipeline line for that task. It never starts the pipeline itself.
setup
Use when the user says "set up the team", "team setup", "add a team", or when another team skill reports that the repository has no team block. Writes the team block in the repository's .delivery-kit.json once, so every member's runs share one setup.
speckit-clarify
Fixture stub — exists so pre-flight's invocation-form detection has a hyphen-skill install to find. Never invoked.
speckit-clarify
fixture placeholder - a local install holds invocationForm at hyphen-skills
speckit-clarify
fixture placeholder - a local install holds invocationForm at hyphen-skills