Skip to content
Back to skills

Device Test

ASecurity

Test the app on a real phone (Android) or iOS simulator through JevClaude — write a short test plan file (e.g. CihazdaTestEdilecek.md) and run it in one call with the jevclaude MCP tool run_plan. Use whenever the user asks to test, check or verify something in the app on a device ("cihazda test et", "telefonda dene", "fener açılıyor mu", "arama başlıyor mu").

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsgoshellgitapidatabase

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add Yupol02/jevclaude --skill device-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Device Test?

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

Security grade badge for Device Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yupol02-device-test/badge)](https://www.skillsdirectory.com/skills/yupol02-device-test)

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: device-test
description: Test the app on a real phone (Android) or iOS simulator through JevClaude — write a short test plan file (e.g. CihazdaTestEdilecek.md) and run it in one call with the jevclaude MCP tool run_plan. Use whenever the user asks to test, check or verify something in the app on a device ("cihazda test et", "telefonda dene", "fener açılıyor mu", "arama başlıyor mu").
---

# Test on the device with a plan file

You decide **what** to test. JevClaude does the device work: it runs the whole plan locally, reads exact texts and device states without a model, and asks a small model (Jev) only about fuzzy checks. That is far faster and cheaper than you driving the phone. So **never drive the device step by step yourself** (no `adb shell input`, no screenshots, no step-by-step `snapshot` loops) unless run_plan can't do something.

## 1. Know the app

- Read the app's source in this repo for the exact on-screen texts, button labels, field hints, ids and the package name (Android `applicationId`, iOS bundle id). Exact texts make steps deterministic and free.
- Only if the source doesn't tell you, call the `snapshot` tool with `app: "<package>"`: it opens the app and returns its screen as text.

## 2. Decide what each item means — ask when it's unclear

The user's request (or a list they give you, in chat or in a .md / .txt / .pdf) states **goals**. Turn every goal into concrete steps; never copy a goal into the plan as-is. For each goal, decide how a person would do it in this app:
- **On the screen** (tabs, buttons, forms): write the taps, typing and checks. "3 farklı rutin oluştur" in an app with a Rutinler tab means: open the tab, tap "Yeni rutin", fill the form, save — three times with three different names — then check each name is listed.
- **By telling the app's assistant** (only if the app has a chat / voice assistant and the user means talking to it): `Komut: …` lines (see below).
- **If a goal could mean either, or you can't find how the app does it, ask the user before writing the plan.** Asking costs one message; a wrong plan tests the wrong thing.
- If the user names the app vaguely, find its package name (Android `applicationId`, iOS bundle id) in the code or ask.

## 3. Write the plan file

Default name: `CihazdaTestEdilecek.md` in the project root (or the path the user gave). Format:

```markdown
uygulama: com.example.app

## Fener komutu
1. Uygulamayı aç
2. "Yaz ya da konuş" alanına "feneri aç" yaz ve gönder
3. Kontrol: fener açık
4. Kontrol: asistan feneri açtığını söylüyor

## Ayarlar araması
1. Uygulamayı aç
2. "Ayarlar" sekmesine dokun
3. "Ayarlarda ara" alanına "kişilik" yaz
4. Klavyeyi kapat
5. Kontrol: "Kişilik" görünüyor
6. Kontrol: "Temalar" görünmüyor
```

Rules:
- One `## Title` per test. Start every test with `Uygulamayı aç` (it restarts the app, so tests don't depend on each other).
- Numbered steps, one action or one check per line. Put exact on-screen texts in "double quotes".
- Actions: `Uygulamayı aç` · `Uygulamayı kapat` · `"X"e dokun` / `"X" sekmesine git` · `"X"e uzun bas` · `Varsa "X"e dokun` · `"Alan" alanına "metin" yaz [ve gönder]` · `Klavyeyi kapat` · `Geri dön` · `Aşağı/Yukarı kaydır` · `2 saniye bekle` · `"X" görünene kadar bekle` · `https://… adresini aç` · `Aramayı kapat`. Add `2 kez` to repeat one (`Geri tuşuna 2 kez bas`). English works too (`Tap "X"`, `Open the "X" tab`, `Long press "X"`, `Type "text" into "Field" and send`, `Go back`, `Scroll down`, `Wait 2 seconds`, `Check: …`).
- Checks start with `Kontrol:` (or `Check:`):
  - **Device state, read from the phone (no model):** `fener açık/kapalı` · `arama başladı` / `arama yok` · `alarm kurulu` / `alarm 07:00` / `alarm yok` · `müzik çalıyor/durdu` · `Wi-Fi açık/kapalı` · `Bluetooth açık/kapalı` · `uçak modu açık/kapalı` · `bildirim "metin"` · `"com.paket.adi" ön planda`.
  - **Exact screen text (no model):** `"Kaydedildi" görünüyor` · `"Hata" görünmüyor`.
  - **Anything else** is a sentence Jev judges against the screen: keep it to one checkable claim ("Ayarlar sayfası açık"). Jev is weak at counting: instead of "3 rutin var", check each item by its exact text.
  - **Levels (no model):** `parlaklık %40` · `ses %50` (±5 points) · `telefon sessizde / titreşimde` · `rahatsız etme açık` · `mobil veri kapalı` · `konum açık` · `NFC açık`. "Arttı / azaldı" can only be checked around a `Komut:` (before vs after).
  - **Logs (no model):** `Kontrol: log "TurnTiming" "yol=LOCAL"` (tag + text) · `Kontrol: log "akis bitti model=gemini"` · `Kontrol: log yok "Bulut kullan"`. Logs are read from the start of the test; nothing is cleared.
  - **Reply time:** `Kontrol: yanıt 1 sn içinde`, right after a `Komut:` (measured from sending to the reply showing up).
  - **Device facts to compare answers with:** `${PIL}` (battery %), `${SARJ}` ("Evet"/"Hayır"), e.g. `Kontrol: "%${PIL}" görünüyor` after "pilim kaç". Prefer these to weak checks like `"%" görünüyor`.
  - A sentence about the reply ("yanıt … söylüyor") is always judged on the screen by Jev, even if it names a feature like "alarm".
- Settings restored automatically after a plan: airplane, Wi-Fi, Bluetooth, mobile data, do-not-disturb, ringer mode, brightness, media volume. **App data is not** (timers, alarms, stopwatches, routines, notes the app creates): add a `## Temizlik` section that cancels or deletes exactly what the plan created, by name, never "all".
- **Device settings the test changes itself** (put back automatically after the plan): `Uçak kipini aç` · `Wi-Fi'ı kapat` · `Bluetooth'u aç` · `Mobil veriyi kapat` · `Rahatsız etmeyi aç` · `Parlaklığı %40 yap` · `Sesi %50 yap` · `Ekranı kilitle` · `Ekran kilidini aç` · `"metin" metnini paylaş` (share sheet) · `Test bildirimi gönder: "Başlık" "metin"`.
- **App-specific checks and setup (project scripts):** when the result isn't visible on screen or in the phone's state (a database row, an API call, a file, an analytics event), or a test needs data or a logged-in account first:
  - write a small script in the project (e.g. `scripts/jevclaude/order-exists.sh`) that prints what it found and exits non-zero on failure. Scripts get `ANDROID_SERIAL` / `JEVCLAUDE_DEVICE` (so `adb` inside targets the test phone) and `JEVCLAUDE_APP`. For a debug build, `adb shell run-as "$JEVCLAUDE_APP" …` reads the app's own files and databases.
  - use it in the plan: `Çalıştır: ./scripts/jevclaude/seed.sh` (an action) · `Kontrol: çalıştır ./scripts/jevclaude/order-exists.sh 42` (exit code) · `Kontrol: çalıştır ./scripts/jevclaude/db.sh orders çıktı "ID 42"` · `… çıktı yok "HATA"`.
  - put data preparation and login in a `## Hazırlık` section: it runs first, and if it fails the other tests are reported as not run (Temizlik still runs).
  - scripts run only if `jevclaude.config.yaml` allows them (`scripts: { allow: ["./scripts/jevclaude/*"] }`). **Ask the user before adding or widening that list.** Plan commands can't chain (`;`, `&&`, `|`, `$(…)`, redirects): put such logic inside the script. Never put secrets in plans or scripts; read them from `.env`.
- **What the runner can't judge is never passed silently:**
  - `Görsel: <what must be visible>` — colours, animations, layout, icons, images, the mascot: the screenshot is queued and **you** judge it from the report, in one go.
  - `Elle: <what a person must do or check>` — voice input, headphones / earpiece, real calls and messages, several days of observation, external servers: listed as a checklist for the user.
- If the app asks before acting ("Arayayım mı?", "Emin misin?"), the plan must answer it: wait for the question, then tap or type the answer. Check the app's code for such confirmations.
- Checks already wait: device states up to 8 s (calls 20 s) and screen texts up to 6 s. Don't add `bekle` lines before them.
- At the end of a step: `(isteğe bağlı)` = its failure doesn't stop the test; `(20 sn içinde)` = a longer time limit (e.g. a slow server).
- **Assistant apps:** put `komut alanı: "<the assistant's input field>"` under `uygulama:`, then `Komut: Feneri aç` lines. Each is typed there and sent, and its result is checked: flashlight, music, Wi-Fi/Bluetooth, alarm from the phone; `parlaklık`/`ses` up or down by comparing before and after; anything else by Jev reading the reply. A plain list of `Komut:` lines (no `##` headings) runs each as its own test.
- **Leave the phone as you found it.** If tests create data (events, routines, contacts) or change settings, add a `## Temizlik` section that deletes or reverts them; it always runs last, even after failures.
- **Phone calls:** by default a call the app starts is ended at once and the step is BLOCKED. Only if the user agreed that this test may really call someone, add `izin: arama` under that test's heading. The call is ended right after `Kontrol: arama başladı` passes. Prefer a test contact/number the user named.
- `izin: izinler` under a heading lets the test grant system permission dialogs (otherwise the test stops there).
- Never put passwords or personal data in the plan; use `${VAR}` placeholders from `.env`.
- `.txt` and `.pdf` plans use the same lines.

To see how the plan will be read without touching the device: `npx jevclaude plan CihazdaTestEdilecek.md --check`.

## Turning a human test list into plans (e.g. a 400-item QA checklist)

- Convert it **section by section** into plan files (`plans/TK.md`, `plans/ZA.md`, …), each with the app header and, for assistant apps, `komut alanı:`. Keep the list's item code in every title: `## TK-01 fener aç kapat`.
- For each item: the "say / tap" part becomes `Komut:` or steps; the "expected" part is split into checks in this order of preference: device state or level → exact text (`"…" görünüyor`) → log → reply time → one-claim Jev sentence → `Görsel:` → `Elle:`.
- Never drop an item and never fill a gap by guessing: whatever can't be automated becomes `Görsel:` or `Elle:`.
- Mode preconditions (model downloaded or not, cloud on or off, airplane mode) go into the first steps of a test, or into a separate plan per mode.
- Leave out items that delete user data, wipe the app or contact real people unless the user approved them; list those as `Elle:` instead.
- Run `npx jevclaude plan <file> --check` on each file before running it.

## 4. Run it — one call

Call the MCP tool `run_plan` with `plan_file`. (Without MCP: `npx jevclaude plan CihazdaTestEdilecek.md`.)

## 5. Read the report

One line per passing test; failing tests come with the step, the reason, the screen as text and a screenshot path.

| Result | What to do |
|---|---|
| ✓ PASSED | Done. |
| ✗ FAILED | Read the reason and screen. Fix the app (it's a bug) or the plan line (wrong text). Re-run only those tests: `run_plan` with `only: ["Title"]`. |
| ? UNCERTAIN | Jev wasn't sure. Judge from the screen text yourself; tighten the check (exact text) if it's flaky. |
| ⛔ BLOCKED | A risky action, a permission dialog, or a call without `izin: arama`. **Ask the user** before allowing it. |
| ◐ REVIEW | Automated steps passed; `Görsel:` screenshots wait for you (open each listed file and judge it against its sentence), `Elle:` items wait for the user. Report both honestly as "not verified yet". |

Tell the user the results in a short table and mention the HTML report path.

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.