Skip to content
Back to skills

App E2e

ASecurity

End-to-end test an Android app on the user's real phone through CodeDroid, from exploring the app to a release verdict - explore, write a test PRD, critical user journeys (CUJs) and test cases into the app's repo, run them on the phone and report with screenshots, checked by the e2e report command, which writes HTML pages for review. Use when asked to test an app end to end, prepare it for a release, write or run its CUJs or test cases, or for /app-e2e.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 13, 2026
ai-agentsgoshellgit

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add codedroid-team/codedroid-mcp --skill app-e2e --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of App E2e?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for App E2e
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/codedroid-team-app-e2e/badge)](https://www.skillsdirectory.com/skills/codedroid-team-app-e2e)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: app-e2e
description: End-to-end test an Android app on the user's real phone through CodeDroid, from exploring the app to a release verdict - explore, write a test PRD, critical user journeys (CUJs) and test cases into the app's repo, run them on the phone and report with screenshots, checked by the e2e report command, which writes HTML pages for review. Use when asked to test an app end to end, prepare it for a release, write or run its CUJs or test cases, or for /app-e2e.
---

# App e2e

The run is five steps, each its own skill, with the cases verified between 4 and 5. Run them in
order and stop at the two gates:

| Step | Skill | Writes (in the app's repo) | Then |
| --- | --- | --- | --- |
| 1 | app-e2e-explore | `e2e/EXPLORE.md`; `e2e/INVENTORY.md`: every screen and control | go on |
| 2 | app-e2e-prd | `e2e/PRD.md`: features and requirements | go on |
| 3 | app-e2e-cujs | `e2e/CUJs.md` | **Gate 1: the user reviews `e2e/CUJs.html`.** Stop until they approve or edit. |
| 4 | app-e2e-testcases | `e2e/TESTCASES.md` | go on |
| 4b | app-e2e-verify | `e2e/VERIFY.md`, through `e2e verdicts` | **Gate 2: the user approves `e2e/TESTCASES.html`, and any case that runs a CodeDroid task.** Point them at the verifier's verdicts and the "Left open" list on `e2e/QUALITY.html`. |
| 5 | app-e2e-run | `e2e/reports/<date>/REPORT.md` and screenshots | report (below) |

Load each step's skill when you reach it; this table is not the step.

After each step's document is written, run `npx -y @codedroid/mcp e2e report e2e` from the repo
root. It must print no problems before you go on: exit 1 means it found some, printed as
`file:line: message`; fix every one and rerun. If it prints `Unknown command: e2e`, the installed
`@codedroid/mcp` release is older than these skills: tell the user, and go on without the command
(write the documents as the skills say; give the user the Markdown at the gates). It writes `QUALITY.md`, `quality.json` and HTML pages into `e2e/`
(`PRD.html`, `CUJs.html`, `TESTCASES.html`, `QUALITY.html`, `REPORT.html` beside the report the numbers read: the newest folder named `e2e/reports/<date>/`).
The Markdown stays the source: never edit a generated file, and commit them with the Markdown.
`VERIFY.md` is written only by `npx -y @codedroid/mcp e2e verdicts`; never edit it either. At
both gates give the user the page, not the Markdown, and `e2e/QUALITY.html` for what is not
covered; at gate 2 the page to look at is its "Left open" list: requirements with no runnable case,
requirements whose deepest case is shallower than their Proof, failure lines of P0 and P1 features
with no runnable case, and P0 features with no deep case, each until a case or a `Gap:` line settles it. You read `QUALITY.md` (the same content, plain text); before `TESTCASES.md` exists the
open count is the work ahead, not a defect. The `Approved:` line still goes on the Markdown; after
writing it, run the command once more so the pages match.

Once `e2e/` exists, the everyday jobs have their own skills: app-e2e-rerun (run some cases: by id,
CUJ, priority, last failures, a change; a flaky check; two builds), app-e2e-bug (a case that
reproduces a bug) and app-e2e-maintain (update cases after the app changes; coverage gaps). The codedroid-phone skill
covers driving the phone; read it first if you have not.

## Where everything lives

`e2e/` at the root of the app's repo (or the folder the user names), committed and reviewed like
code. When the documents live in another folder, pass that folder to the command in every step in
place of `e2e`. On start, read what is already there. Test documents somewhere else (a gitignored
folder, another format, an older run's own runner)? Say where they are and ask: move them into `e2e/`
(their approvals carry over) or keep working where they are. Don't silently write a second set. A document is approved when its first line reads
`Approved: <date> by the user`; write that line only after the user says so. An approved step is
done: say so and go on from the first step that is not. A document without the line is a draft:
show it and ask whether it still holds before building on it.

Also on start, ask which build is the release candidate and which server or account it uses,
unless the user said. Check that the installed build is that one (`adb` `shell dumpsys package
<package>`: versionCode and lastUpdateTime; without the `adb` tool, your own shell or `list_apps`), and that the package name in the code is the one
installed: a renamed package installs as a second app, with its own sign-in and setup.

## The phone

- It may be shared with other people or agents. Before phone work and after any pause, read the
  installed build again; if it changed, someone else is using the phone: stop and tell the user.
  The build can stay the same while another agent drives the phone: before each action, check
  the app in front, as the codedroid-phone skill says under "A shared phone".
- Expect data you did not make (other sessions, files, schedules). Never act on it: find your own
  items by the name you gave them.
- Ask before installing, uninstalling (it deletes the app's data) or rebooting.
- Never sign in, type passwords or pay. The user picks the account; you tap through what follows.
- Name everything a test creates `e2e-...`, remove it in the same test, and leave the phone as you
  found it.

## Findings

A finding is something the app does wrong, shown by a case that fails the same way twice, whose
evidence (screen text, screenshot, log) you have read. A case that failed because of how it was
written or run is not a finding: fix the case, rerun, and say what was wrong with it. For each
finding, find the root cause in the source, then ask the user before fixing it. A fix goes on its
own branch, with the failing case as its test.

## Cost

Every step records what it cost. As the step's first command (after creating `e2e/` if it does
not exist yet), run `npx -y @codedroid/mcp e2e usage start <step> e2e`, with the step's name:
`explore`, `prd`, `cujs`, `testcases`, `verify`, `run` or `rerun`. When the step ends (done,
stopped at a gate, or given up) run `npx -y @codedroid/mcp e2e usage stop e2e`, before the step's
last `e2e report`, in its own call: that report adds the response that ran stop (which the
transcript only has once stop returns) and puts the cost on the report page. It saves the step's wall time, CodeDroid tool calls,
Claude tokens per model and an estimate in dollars: one line in `e2e/usage.jsonl`, and the run in
the `usage.json` of the report folder the step wrote in (`reports/<date>/`, or a rerun's
`reports/<date>-<what>/`); the first run there also brings in the earlier steps, so the report shows
the whole chain. Commit both with the
documents; `e2e/.usage-run.json` is the open run, and stop removes it. Tokens come from the Claude
Code transcript, so in another client only the time is saved; credits a CodeDroid task spends on
the phone are not counted. If start prints only a usage line for `e2e report`, the installed
release predates it: go on without it.

## Report

End with: the build tested; counts (passed / failed / not run, with why); each finding with its
evidence and status (fixed, or open); what the cases got wrong and how it was fixed; what is not
covered (`e2e/QUALITY.html`, manual CUJs); what each step cost (the `e2e usage stop` lines); the
path of `REPORT.html`. Then the release question
the results answer.

## Never

- Force-stop, clear, uninstall or `am instrument` com.codedroid.agent: it switches CodeDroid off.
- Write passwords, card numbers or other secrets into any file.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.