Write an Android app's critical user journeys (CUJs) for end-to-end testing with CodeDroid into e2e/CUJs.md - each the user's goal, its priority and run mode, and the outcomes visible on the phone that prove it - grouped by the PRD's features, each naming the PRD requirements it proves. Use as step 3 of app-e2e, or when asked to create, list or plan an app's CUJs or user journeys.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of App E2e Cujs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/codedroid-team-app-e2e-cujs)
---
name: app-e2e-cujs
description: Write an Android app's critical user journeys (CUJs) for end-to-end testing with CodeDroid into e2e/CUJs.md - each the user's goal, its priority and run mode, and the outcomes visible on the phone that prove it - grouped by the PRD's features, each naming the PRD requirements it proves. Use as step 3 of app-e2e, or when asked to create, list or plan an app's CUJs or user journeys.
---
# Write the CUJs
Cost: first run `npx -y @codedroid/mcp e2e usage start cujs e2e`, and `npx -y @codedroid/mcp e2e usage stop e2e`
when the step ends, before its last `e2e report` (app-e2e, "Cost").
Input: `e2e/PRD.md`, `e2e/EXPLORE.md`. Output: `e2e/CUJs.md`. Then stop for the user's review:
they approve or edit before any test case is written.
## One CUJ
```markdown
### CUJ-12 · Use a skill with blanks · P0 · phone
Proves: R8
User action: tap own skill → fill "Fill In" → "Use Skill".
- "Use Skill" is disabled until every blank is filled.
- The prompt lands in the composer, not sent.
```
- The title is the user's goal, not the screen.
- Priority and run mode from the PRD's scale: `phone` (drivable over CodeDroid), `task` (needs
CodeDroid's agent to run something), `manual` (needs a wipe, a second account, a payment).
- `Proves:` the PRD requirements whose behavior its outcomes show, by id.
- Each bullet is an outcome someone can see on the phone, with its exact words in quotes, taken
from `EXPLORE.md` or the source. Not "works correctly".
## The file
- Group by the PRD's features, in its order, under a level-2 heading per feature (`## F3 · Skills`).
Number continuously. A feature that needs more than five CUJs is two features: say so.
- A common start state at the top (unlocked, app in front, signed in, nothing running).
- Manual CUJs stay in, marked `manual` in the heading, with the reason on a line under it, never
in the heading: `Why manual: <reason>` (needs a wipe, a second account, a real payment).
Include what a brand-new account meets first: first run, a welcome or first-task screen.
- Every PRD requirement is in some CUJ's `Proves:`. A requirement with none is a gap: add a CUJ, or
take the requirement out of the PRD and name its controls that no other requirement uses on a
`- Non-goal:` line. A feature in scope with no CUJ is a gap too. Write no coverage table: the
quality pages list "Requirements no journey proves".
- A journey that proves no requirement means the PRD is missing one: add the requirement (with its
Caps, Proof and Fails; `Caps: none` if no control is involved) rather than leaving `Proves:`
empty. A manual journey proves a requirement too.
- Robustness checks (rotation, dark theme, Back, crash buffer) as a short list folded into cases,
not CUJs of their own.
## Handing to the user
Run `npx -y @codedroid/mcp e2e report e2e`; it must print no problems before you go on (fix each
`file:line: message` and rerun). Give the user `e2e/CUJs.html` to review and `e2e/QUALITY.html`
for what nothing covers yet, with the counts by feature, priority and run mode, the gaps, and the
open questions. Ask for approval. Do not write test cases in the same turn.
## Never
- Force-stop, clear or uninstall com.codedroid.agent.
- Write passwords, card numbers or other secrets into the file.