three-tier-test
Skill0 starsChanged 7 months agoMITView on GitHub
Enforces the AiGNITE Chrome to mirror to phone testing sequence with hard checkpoints. Tier one runs Playwright over the Expo web build. Tier two runs a recorded walkthrough on iPhone Mirroring or Android emulator. Tier three runs a manual checklist on a physical device. Each tier must pass before the next starts. Use this skill whenever the user mentions testing a mobile app, verifying a build, QA, asking if a build is ready to ship, or running a three-tier test, even if they do not name the skill by name.
In this repository9 other files it gives its agents.
- app-store-submissionSkill
- design-from-mockupSkill
- hermes-vps-deploySkill
- higgsfield-mediaSkill
- mcp-to-mobileSkill
- mobile-app-scaffoldSkill
- mvp-design-frameworkSkill
- security-auditSkill
- supabase-bootstrapSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Run the three tiers in order.
- Very specific: line 30
Start the Expo web build (npx expo start --web).
- Distinctive: line 31
Wait for the bundler to settle.
- Very specific: line 32
Run scripts/run-tier-one.ps1.
- Very specific: line 36
Write pass or fail to TEST_RESULTS.md.
- Very specific: line 44
Run scripts/run-tier-two.ps1.
- Very specific: line 52
Run scripts/run-tier-three.ps1.
- Distinctive: line 70
All three passes are within the last seventy-two hours.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
three-tier-test
Purpose
Catch bugs at the layer that surfaces them cheapest. Chrome catches console errors and broken API calls. Mirror catches gesture and layout bugs. Physical device catches sensor, push, and battery bugs.
When to trigger
Trigger on these user phrases. Match loosely.
- "test my app"
- "verify the build"
- "is this ready to ship"
- "run the test suite"
- "QA the mobile app"
- "three-tier test"
- "pre-flight test"
Behavior
Run the three tiers in order. Refuse to mark the build "ready" unless all three pass. Each tier writes a pass or fail line to TEST_RESULTS.md with a timestamp.
Tier one: Chrome (Playwright)
- Start the Expo web build (
npx expo start --web). - Wait for the bundler to settle.
- Run
scripts/run-tier-one.ps1. It drives Playwright through every screen. - Assert every screen renders without a console error.
- Assert every API call returns a 2xx status.
- Hit the same endpoints listed in
scripts/smoke-test.sh. Reuse the probe list. - Write pass or fail to
TEST_RESULTS.md.
Fails this tier produces an immediate stop. Fix and re-run.
Tier two: Mirror (iPhone Mirroring or Android emulator)
- Build a development client (
eas build --profile development --platform <ios|android>). - Install to iPhone Mirroring (Mac) or to the Android emulator.
- Run
scripts/run-tier-two.ps1. It loads a Maestro flow or a Detox flow against the running app. - Capture screen video for review.
- Write pass or fail to
TEST_RESULTS.md.
Tier three: physical device
- Generate a QR code for the development build.
- The user scans with their phone.
- Run
scripts/run-tier-three.ps1. It prints a manual checklist. - The user ticks items off. The script captures their pass or fail and writes to
TEST_RESULTS.md.
The physical-device checklist covers the items only real hardware surfaces: push notifications, camera, location, deep links, biometric auth, performance at battery saver, screenshot blocking, app icon installation, and orientation lock.
See references/physical-device-checklist.md for the full list.
Integration with mobile-app-scaffold
The skill reads the endpoint list from scripts/smoke-test.sh produced by mobile-app-scaffold. Both must reference the same list. If the smoke test list changes, tier one detects the change at the next run.
Refusal
The skill refuses to write "READY" to TEST_RESULTS.md unless:
- Tier one is a pass.
- Tier two is a pass.
- Tier three is a pass.
- All three passes are within the last seventy-two hours.
Composes with
- Runs after
security-audit. - Runs before
app-store-submission. The submission skill rejects builds without a recent three-tier pass.
References
- references/why-three-tiers.md - what each tier catches that the others miss.
- references/playwright-setup.md - wiring Playwright into an Expo web build.
- references/physical-device-checklist.md - the manual checklist for tier three.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

