[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMJ64H44J5V84KH25DTRQE":3,"skill-same:01M7EMJ64H44J5V84KH25DTRQE":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7EMJ64H44J5V84KH25DTRQE","create-verification-skill",null,"Build or extend a project's run skill so any agent can bring the real app up on its own lane (a simulator or emulator, a browser, its own servers and data), drive it the way a user does and prove what it does - the project's agentlane.json with its services, per-lane resources and sign-in, launch, doctor, drive, evidence and cleanup, the project's Maestro flows and Playwright tests adapted to run in a lane, plus a feature map with one page per user-facing feature - and run it once end to end before calling it done. Any surface - iOS or Android app, web app, CLI, service.","north-star-hq\u002Fagentlane","north-star-hq","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F217746392?v=4","01M7EMFMNGNXMP2XQB171SHCCQ","01M7EMFMP697FWVX4G8DXX0RDR",2,"MIT","https:\u002F\u002Fgithub.com\u002Fnorth-star-hq\u002Fagentlane\u002Fblob\u002Fmain\u002Fskills\u002Fcreate-verification-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fnorth-star-hq\u002Fagentlane\u002Fblob\u002Fmain\u002Fskills\u002Fcreate-verification-skill\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: create-verification-skill\ndescription: Build or extend a project's run skill so any agent can bring the real app up on its own lane (a simulator or emulator, a browser, its own servers and data), drive it the way a user does and prove what it does - the project's agentlane.json with its services, per-lane resources and sign-in, launch, doctor, drive, evidence and cleanup, the project's Maestro flows and Playwright tests adapted to run in a lane, plus a feature map with one page per user-facing feature - and run it once end to end before calling it done. Any surface - iOS or Android app, web app, CLI, service.\nwhen_to_use: A project has no agentlane.json or no scripted way to drive its app and prove behavior; its run skill lacks drive or evidence sections or a feature map; the setup skill hands over to it; or dev-loop's bootstrap offer was accepted. Not for keeping an existing map current, which maintain-verification-skill does.\nlicense: Parts adapted from cursor\u002Fplugins (pstack) under the MIT License, Copyright (c) 2026 Lauren Tan; the full notice is in LICENSE beside this skill in the toolkit package\n---\n\n\u003C!-- Adapted from cursor\u002Fplugins (pstack\u002Fskills\u002Fcreate-verification-skill), MIT License, Copyright (c) 2026 Lauren Tan; full notice in .\u002FLICENSE -->\n\n# Create a verification skill \u003C!-- upstream: pstack-create-verification-skill -->\n\nThe output is the project's `agentlane.json`, its committed flows and tests adapted to run in a lane, and its run skill in `.agents\u002Fskills\u002Frun\u002F` (the toolkit's `init` mirrors it into `.claude\u002Fskills\u002Frun\u002F` for Claude Code), the skill an agent finds whenever anyone asks to run the app or see a change working. Load the `dev-loop` skill for what the run skill must hold; this is how a project gets there. Write it for the next agent, which will read it cold, mid-task, having never seen the app.\n\nDone when step 5 has passed: the run skill's own instructions, followed from a fresh lane, brought each app up to `doctor` ready, drove one mapped feature per app, and left evidence that still exists after `release`.\n\nWhen the `setup` skill sent you here, its survey answers step 1 and its decisions (which apps, data per lane or shared, how sign-in gets a session) settle what step 2 writes; take them as given and do the rest.\n\n## 1. Interview the repo, not the user\n\nAnswer these from the codebase, and ask the user only what you can't observe:\n\n- **Surface:** what does a user actually touch: a mobile app, a web app, both? When there are several, note each; the run skill covers every one the project ships.\n- **Run:** how does each app start locally? Prefer the repo's own scripts. Note the long-running servers (Metro, an API, a web dev server, workers), the ports they bind by default, devices, env files, seed data and auth.\n- **Drive:** what can act on it programmatically? For a mobile app, the device tools (load the `drive` skill) on the claimed simulator, plus the project's committed Maestro flows. For a web app, the lane's browser through its driver, plus the project's Playwright suites. Otherwise existing harnesses first (curl-able endpoints, a debug port), then a generic recipe: a PTY for a CLI, HTTP for a service.\n- **Observe:** what evidence can be captured: screenshots, recordings, traces, logs, response bodies, exit codes, database state.\n- **Data:** where the app's data lives, and how the project's tests create and reset it today (migrations, a seed script, a Docker database, a SQLite file, fixtures). That decides whether each lane gets its own copy (a resource, step 2) or shares one.\n- **Sign-in:** how a user signs in, which test accounts exist and where their credentials come from, and whether the project already has a seam (a token endpoint, a deep link, a Playwright setup project that saves a login).\n- **Isolate:** can two instances run side by side? Every port the app or its servers hard-code is a collision between agents. The toolkit claims a port per service and passes it in, so each server has to take its port from the environment, and the mobile app has to take its API address at launch (a launch argument in debug builds) instead of a baked-in one. Shared outside state, such as a hosted dev database or test accounts, stays shared: say so in the skill and name what must be cleaned up after a write.\n- **Worktrees:** agents work in git worktrees, often inside the repo (Claude Code puts them under `.claude\u002Fworktrees\u002F`). Check that the project's watchers and test runners (Metro, Jest's haste map, Vite, linters, Playwright's test match) don't scan them, and add excludes where they do.\n\nWhen a run skill already exists, read it and its scripts first. Keep what works and add what's missing; it usually holds traps someone paid for, and a rewrite loses them. If the checkout doesn't build or start, fix that or report it precisely before writing anything. A skill written against a broken base teaches wrong steps.\n\n## 2. Write the project config\n\n`agentlane.json` at the repo root (`node_modules\u002F.bin\u002Fagentlane schema` prints its JSON Schema; point `$schema` at `node_modules\u002Fagentlane\u002Fschema\u002Fagentlane.schema.json` so editors check it) declares what the project has. `node_modules\u002F.bin\u002Fagentlane doctor` validates it: its `config` line names any field that breaks the schema, and the bar is `node_modules\u002F.bin\u002Fagentlane up` from a clean worktree followed by `doctor` reporting ready on each platform.\n\n- **Apps:** `app` for the mobile app, `web` for the web app (`service`, the service that serves it, and `path`, the page to open), or both. `web.browser.driver` picks the browser driver: `playwright` (the default) or `agent-browser` when the project already uses it. `web.browser.headed: true` shows the window for a person to watch, with Playwright only; agent-browser runs headless.\n- **Device:** when committed flows tap by point, or the repo says which device they were measured on, pin that model in `app.device` with `strict: true` (`{\"type\": \"iPhone 17\", \"strict\": true}`, or under `app.ios` or `app.android` when only one platform's flows depend on it). Without `strict`, a full pool hands the lane another model, and the points land elsewhere on its screen.\n- **Services:** each long-running server with its start command, reading its port from `AGENTLANE_\u003CSERVICE>_PORT`, and a readiness check. `platforms` limits a service to the apps that need it, so a web `up` doesn't start Metro. When a server's CLI sends usage telemetry, switch it off in the start command with the variable the CLI documents (`EXPO_NO_TELEMETRY=1`, `NEXT_TELEMETRY_DISABLED=1`), since every lane starts its own copy of the server.\n- **Resources,** for data each lane gets its own copy of: `create`, `exports` and `teardown`. `create` runs once per lane, after setup and before the services, and appends a `NAME=value` line for each declared export to the file at `$AGENTLANE_EXPORTS` (`echo \"DATABASE_URL=$url\" >> \"$AGENTLANE_EXPORTS\"`); anything it prints only goes to the log. The values then reach every service, hook and `exec`, and replace whatever the caller's shell had. Name the copy after `$AGENTLANE_LANE` so two lanes never meet. `teardown` runs when the lane ends, also after a crash and possibly after the worktree is deleted, so it needs only the exported values (`dropdb … \"$DB_NAME\"`, `rm -f -- \"${DATABASE_PATH:?}\"`), never a script from the worktree. Since create runs once per lane, run migrations where every `up` reaches them too, such as in the API's start command.\n- **Hooks** the project owns: `setup`, `build`, `launch` when the built-in launch modes don't fit, `signin`, `teardown`. Hooks are shell commands that read the lane from the environment (`AGENTLANE_DEVICE`, `AGENTLANE_\u003CSERVICE>_PORT`, `AGENTLANE_WEB_URL`, the resources' values); they are non-interactive and fail with a non-zero exit when they didn't do their job.\n- **Sign-in:** on a device, `signin` signs the launched app in through the project's seam. On the web, `signin` writes the lane's saved login to the file at `$AGENTLANE_STORAGE_STATE`, in Playwright's storage-state format (`{\"cookies\": [...], \"origins\": [...]}`), for the web app's origin; the lane's browser starts with it, and the project's tests can load it. Get the session the way a real client does, through the app's own sign-in endpoint with a test account, and write the cookie or token it returns. In a project with both apps, one `signin` hook branches on `$AGENTLANE_PLATFORM`. `up` checks the file and keeps its values out of every log.\n- **First-run sheets:** a lane's simulator or emulator may never have run the app, so `up` can meet the app's first launch: onboarding, a what's-new sheet, a permission prompt, a rating or cookie banner. Each covers the screen an agent came to capture and takes its taps. On a simulator, `up`'s capture hygiene already marks the keyboard's slide-to-type intro as shown; the app's own sheets are the project's to clear, before anything is captured. Clear each through the app's own seam where there is one, the default or launch argument its debug build reads to mark the sheet seen, set from the `signin` or `launch` hook. A permission prompt stays away once `node_modules\u002F.bin\u002Fagentlane device permission grant \u003Cservice> \u003Cbundle id>` has granted the permission before the app asks. Dismiss any other sheet in the sign-in flow with an `optional` tap on its id or label. The run skill names each sheet and how it's cleared, and the feature map's baseline is the screen the app shows once they're gone.\n- **Build cache,** for a mobile app: `buildCache.inputs` lists what the native build reads (the app config, the lockfile, native folders, plugins, assets, the build scripts, per platform where they differ), so an unchanged worktree installs a cached build instead of building. The key already covers Xcode, Android's JDK, Gradle and SDK packages and the env file; add a `command` input for every other tool whose version changes the native output, such as `pod --version` for CocoaPods, or a cached build outlives that tool's upgrade.\n- **Preconditions** go in `preconditions` for whatever would otherwise fail a slow step late, each with the fix it names:\n  - one per tool a hook or a start command calls that the project doesn't install itself (`command -v pod`, `command -v uv`), one tool to a check, with its install command as the fix;\n  - one that the project's dependencies are installed (`test -d node_modules`, `before: build`, with the install command as its fix), so `up --no-setup` in a fresh worktree stops there with that fix instead of failing inside the build;\n  - one per env file a hook or the app needs, and, when the repo documents a failure that stays silent without a particular variable (an app that accepts a sign-in link and stays signed out without its seam key, say), one that the variable has a value, not just that the file exists: `grep -q '^SEAM_KEY=.' .env.test`. The check prints nothing, so the value stays out of every log;\n  - any other state the repo warns about, such as a dirty native project.\n\n## 3. Adapt the flows and tests, then write the run skill\n\nThe project's committed flows and tests are its proof, and they keep passing where they ran before (CI, a person's machine). Adapt them to run in a lane as well; don't replace them.\n\n- **Maestro flows:** a hard-coded port, host or account becomes a flow variable (`${API_PORT}`), passed under exec as `maestro test -e API_PORT=\"$AGENTLANE_API_PORT\" \u003Cflow>`. Point `driver.flows` at their folder. A script that collects what a flow wrote (its `takeScreenshot` files, a failure's bundle) reads it from `$AGENTLANE_EVIDENCE` in a lane, at `\u003Cstamp>-maestro-test-\u003Cpid>\u002F.maestro\u002Ftests\u002F\u003Crun>\u002F\u003Cflow>\u002F`, ending `-failed` when the test failed. The toolkit also links each run into Maestro's own `~\u002F.maestro\u002Ftests`, so a script that reads that folder keeps working, but there it can pick up another lane's run.\n- **Waits in a sign-in or setup flow:** a flow a hook runs on every `up` pays the full timeout of each wait or tap that never matches, and the driver only warns about it (Maestro marks an optional step WARNED and moves on), so a broken step costs every lane its timeout without failing anything. Wait on a handle the driver can see in the screen's accessibility tree, an id or a label, rather than on text inside a system sheet, web view or other view the driver doesn't read. A wait that guards readiness is required, with a timeout no longer than the step needs, so a broken step fails at once and says where; keep `optional` for a screen that may or may not appear. A WARNED step in a sign-in or setup flow is a defect to fix, not a pass.\n- **Playwright suites:** the config reads the lane when it's there and keeps its own behaviour when it isn't.\n  - Pin `@playwright\u002Ftest` to the toolkit's Playwright version (`node_modules\u002F.bin\u002Fagentlane browser status` names it). Under exec the tests launch the toolkit's pinned browsers, and another Playwright version looks for a browser build that isn't there.\n  - Exec sets `PLAYWRIGHT_TEST_BASE_URL` to the lane's web app, which Playwright Test uses as `baseURL` when the config sets none. A config that sets `baseURL` itself uses that variable when it is set. Skip the config's own `webServer` in a lane (when `AGENTLANE_WEB_URL` is set), since the lane's services already run.\n  - Give the tests that start signed in `storageState: process.env.AGENTLANE_STORAGE_STATE`.\n  - Keep traces on failure (`trace: 'retain-on-failure'`) and, when `AGENTLANE_EVIDENCE` is set, write `outputDir` to a folder of its own per run under it, such as `` `${process.env.AGENTLANE_EVIDENCE}\u002F${stamp}-playwright-test` ``. Playwright empties `outputDir` at the start of every run, and each worker loads the config again, so compute the stamp once and keep it in `process.env` (`process.env.RUN_STAMP ??= new Date().toISOString().replace(\u002F[-:.]\u002Fg, '')`). The trace of a failed run then survives the next run and `release`.\n  - Run them as `node_modules\u002F.bin\u002Fagentlane exec -- npx playwright test` or the project's script.\n\n`.agents\u002Fskills\u002Frun\u002FSKILL.md` needs frontmatter (`name: run`, and a description naming the app, its surfaces and when to reach for it) and the sections `dev-loop` lists, for each app, each grounded in what the interview found, with no placeholders left. Write every toolkit command in it as `node_modules\u002F.bin\u002Fagentlane …`, run from the project root: Codex, Cursor, Copilot and Gemini run the skill's commands in a plain shell, where a bare `agentlane` isn't found, and only Claude Code with the toolkit's plugin has one on the PATH. Any helper ships as an executable script whose invocation the skill shows; a helper the reader has to reverse-engineer is not a helper.\n\nWhen agents keep writing throwaway scripts to click through the app, add a command to the project's CLI instead: a few composable commands that each do real work, `--dry-run` on anything destructive, errors that say what to do, and machine-readable output.\n\n## 4. Seed the feature map\n\nCreate `.agents\u002Fskills\u002Frun\u002Ffeatures\u002FREADME.md` and one page per user-facing feature. When the repo lists its features itself (a `docs\u002FINDEX.md` per app, a features folder, the docs site's navigation), seed a page for every feature it lists, so `maintain-verification-skill` has every page to fill in; otherwise find them from routes, deep links, tabs, menus, pages, commands and docs. Write the three to five that matter most in full. Each other page may be thin: what the feature is, where the repo documents it, how a user reaches it, and a first line saying it hasn't been driven yet. The README holds the baseline every page starts from (launch state, seed data, signed in or not, on which platform) and the index of every page.\n\nA full page answers, from the user's side:\n\n- what the feature is, and its sub-features;\n- every way a user reaches it, on each platform it ships on;\n- how to drive each way with the harness, pairing each action with its exact command and the result to look for;\n- the end state that proves it works;\n- the traps that can waste or falsify a run.\n\nLeave implementation details out. Name user paths, stable handles, required state, commands and visible proof.\n\n## 5. Prove it before handing it over\n\nRun the skill's own instructions once, end to end, for each app: `up` (with `--platform` for each), `doctor`, drive one mapped feature, run its committed flow or test under `exec`, capture evidence, `release`. Then confirm the evidence still exists where the skill says it lands; a cleanup that eats the proof fails this step. Read the output of the flows the hooks run during `up` as well (`up` prints each hook's log path): a WARNED step there fails this step until it is fixed. Release after every failed attempt too, so broken tries don't strand processes, ports, devices, browsers or databases. A run skill that was never executed is a draft.\n\n## 6. Hand over\n\nReport what the skill covers, the feature you drove per app and its evidence, the flows and tests you adapted, the pages still thin, and anything the interview couldn't answer. Point at `maintain-verification-skill` for keeping the map true as the app changes.\n","\u003C!-- Adapted from cursor\u002Fplugins (pstack\u002Fskills\u002Fcreate-verification-skill), MIT License, Copyright (c) 2026 Lauren Tan; full notice in .\u002FLICENSE -->\n\n# Create a verification skill \u003C!-- upstream: pstack-create-verification-skill -->\n\nThe output is the project's `agentlane.json`, its committed flows and tests adapted to run in a lane, and its run skill in `.agents\u002Fskills\u002Frun\u002F` (the toolkit's `init` mirrors it into `.claude\u002Fskills\u002Frun\u002F` for Claude Code), the skill an agent finds whenever anyone asks to run the app or see a change working. Load the `dev-loop` skill for what the run skill must hold; this is how a project gets there. Write it for the next agent, which will read it cold, mid-task, having never seen the app.\n\nDone when step 5 has passed: the run skill's own instructions, followed from a fresh lane, brought each app up to `doctor` ready, drove one mapped feature per app, and left evidence that still exists after `release`.\n\nWhen the `setup` skill sent you here, its survey answers step 1 and its decisions (which apps, data per lane or shared, how sign-in gets a session) settle what step 2 writes; take them as given and do the rest.\n\n## 1. Interview the repo, not the user\n\nAnswer these from the codebase, and ask the user only what you can't observe:\n\n- **Surface:** what does a user actually touch: a mobile app, a web app, both? When there are several, note each; the run skill covers every one the project ships.\n- **Run:** how does each app start locally? Prefer the repo's own scripts. Note the long-running servers (Metro, an API, a web dev server, workers), the ports they bind by default, devices, env files, seed data and auth.\n- **Drive:** what can act on it programmatically? For a mobile app, the device tools (load the `drive` skill) on the claimed simulator, plus the project's committed Maestro flows. For a web app, the lane's browser through its driver, plus the project's Playwright suites. Otherwise existing harnesses first (curl-able endpoints, a debug port), then a generic recipe: a PTY for a CLI, HTTP for a service.\n- **Observe:** what evidence can be captured: screenshots, recordings, traces, logs, response bodies, exit codes, database state.\n- **Data:** where the app's data lives, and how the project's tests create and reset it today (migrations, a seed script, a Docker database, a SQLite file, fixtures). That decides whether each lane gets its own copy (a resource, step 2) or shares one.\n- **Sign-in:** how a user signs in, which test accounts exist and where their credentials come from, and whether the project already has a seam (a token endpoint, a deep link, a Playwright setup project that saves a login).\n- **Isolate:** can two instances run side by side? Every port the app or its servers hard-code is a collision between agents. The toolkit claims a port per service and passes it in, so each server has to take its port from the environment, and the mobile app has to take its API address at launch (a launch argument in debug builds) instead of a baked-in one. Shared outside state, such as a hosted dev database or test accounts, stays shared: say so in the skill and name what must be cleaned up after a write.\n- **Worktrees:** agents work in git worktrees, often inside the repo (Claude Code puts them under `.claude\u002Fworktrees\u002F`). Check that the project's watchers and test runners (Metro, Jest's haste map, Vite, linters, Playwright's test match) don't scan them, and add excludes where they do.\n\nWhen a run skill already exists, read it and its scripts first. Keep what works and add what's missing; it usually holds traps someone paid for, and a rewrite loses them. If the checkout doesn't build or start, fix that or report it precisely before writing anything. A skill written against a broken base teaches wrong steps.\n\n## 2. Write the project config\n\n`agentlane.json` at the repo root (`node_modules\u002F.bin\u002Fagentlane schema` prints its JSON Schema; point `$schema` at `node_modules\u002Fagentlane\u002Fschema\u002Fagentlane.schema.json` so editors check it) declares what the project has. `node_modules\u002F.bin\u002Fagentlane doctor` validates it: its `config` line names any field that breaks the schema, and the bar is `node_modules\u002F.bin\u002Fagentlane up` from a clean worktree followed by `doctor` reporting ready on each platform.\n\n- **Apps:** `app` for the mobile app, `web` for the web app (`service`, the service that serves it, and `path`, the page to open), or both. `web.browser.driver` picks the browser driver: `playwright` (the default) or `agent-browser` when the project already uses it. `web.browser.headed: true` shows the window for a person to watch, with Playwright only; agent-browser runs headless.\n- **Device:** when committed flows tap by point, or the repo says which device they were measured on, pin that model in `app.device` with `strict: true` (`{\"type\": \"iPhone 17\", \"strict\": true}`, or under `app.ios` or `app.android` when only one platform's flows depend on it). Without `strict`, a full pool hands the lane another model, and the points land elsewhere on its screen.\n- **Services:** each long-running server with its start command, reading its port from `AGENTLANE_\u003CSERVICE>_PORT`, and a readiness check. `platforms` limits a service to the apps that need it, so a web `up` doesn't start Metro. When a server's CLI sends usage telemetry, switch it off in the start command with the variable the CLI documents (`EXPO_NO_TELEMETRY=1`, `NEXT_TELEMETRY_DISABLED=1`), since every lane starts its own copy of the server.\n- **Resources,** for data each lane gets its own copy of: `create`, `exports` and `teardown`. `create` runs once per lane, after setup and before the services, and appends a `NAME=value` line for each declared export to the file at `$AGENTLANE_EXPORTS` (`echo \"DATABASE_URL=$url\" >> \"$AGENTLANE_EXPORTS\"`); anything it prints only goes to the log. The values then reach every service, hook and `exec`, and replace whatever the caller's shell had. Name the copy after `$AGENTLANE_LANE` so two lanes never meet. `teardown` runs when the lane ends, also after a crash and possibly after the worktree is deleted, so it needs only the exported values (`dropdb … \"$DB_NAME\"`, `rm -f -- \"${DATABASE_PATH:?}\"`), never a script from the worktree. Since create runs once per lane, run migrations where every `up` reaches them too, such as in the API's start command.\n- **Hooks** the project owns: `setup`, `build`, `launch` when the built-in launch modes don't fit, `signin`, `teardown`. Hooks are shell commands that read the lane from the environment (`AGENTLANE_DEVICE`, `AGENTLANE_\u003CSERVICE>_PORT`, `AGENTLANE_WEB_URL`, the resources' values); they are non-interactive and fail with a non-zero exit when they didn't do their job.\n- **Sign-in:** on a device, `signin` signs the launched app in through the project's seam. On the web, `signin` writes the lane's saved login to the file at `$AGENTLANE_STORAGE_STATE`, in Playwright's storage-state format (`{\"cookies\": [...], \"origins\": [...]}`), for the web app's origin; the lane's browser starts with it, and the project's tests can load it. Get the session the way a real client does, through the app's own sign-in endpoint with a test account, and write the cookie or token it returns. In a project with both apps, one `signin` hook branches on `$AGENTLANE_PLATFORM`. `up` checks the file and keeps its values out of every log.\n- **First-run sheets:** a lane's simulator or emulator may never have run the app, so `up` can meet the app's first launch: onboarding, a what's-new sheet, a permission prompt, a rating or cookie banner. Each covers the screen an agent came to capture and takes its taps. On a simulator, `up`'s capture hygiene already marks the keyboard's slide-to-type intro as shown; the app's own sheets are the project's to clear, before anything is captured. Clear each through the app's own seam where there is one, the default or launch argument its debug build reads to mark the sheet seen, set from the `signin` or `launch` hook. A permission prompt stays away once `node_modules\u002F.bin\u002Fagentlane device permission grant \u003Cservice> \u003Cbundle id>` has granted the permission before the app asks. Dismiss any other sheet in the sign-in flow with an `optional` tap on its id or label. The run skill names each sheet and how it's cleared, and the feature map's baseline is the screen the app shows once they're gone.\n- **Build cache,** for a mobile app: `buildCache.inputs` lists what the native build reads (the app config, the lockfile, native folders, plugins, assets, the build scripts, per platform where they differ), so an unchanged worktree installs a cached build instead of building. The key already covers Xcode, Android's JDK, Gradle and SDK packages and the env file; add a `command` input for every other tool whose version changes the native output, such as `pod --version` for CocoaPods, or a cached build outlives that tool's upgrade.\n- **Preconditions** go in `preconditions` for whatever would otherwise fail a slow step late, each with the fix it names:\n  - one per tool a hook or a start command calls that the project doesn't install itself (`command -v pod`, `command -v uv`), one tool to a check, with its install command as the fix;\n  - one that the project's dependencies are installed (`test -d node_modules`, `before: build`, with the install command as its fix), so `up --no-setup` in a fresh worktree stops there with that fix instead of failing inside the build;\n  - one per env file a hook or the app needs, and, when the repo documents a failure that stays silent without a particular variable (an app that accepts a sign-in link and stays signed out without its seam key, say), one that the variable has a value, not just that the file exists: `grep -q '^SEAM_KEY=.' .env.test`. The check prints nothing, so the value stays out of every log;\n  - any other state the repo warns about, such as a dirty native project.\n\n## 3. Adapt the flows and tests, then write the run skill\n\nThe project's committed flows and tests are its proof, and they keep passing where they ran before (CI, a person's machine). Adapt them to run in a lane as well; don't replace them.\n\n- **Maestro flows:** a hard-coded port, host or account becomes a flow variable (`${API_PORT}`), passed under exec as `maestro test -e API_PORT=\"$AGENTLANE_API_PORT\" \u003Cflow>`. Point `driver.flows` at their folder. A script that collects what a flow wrote (its `takeScreenshot` files, a failure's bundle) reads it from `$AGENTLANE_EVIDENCE` in a lane, at `\u003Cstamp>-maestro-test-\u003Cpid>\u002F.maestro\u002Ftests\u002F\u003Crun>\u002F\u003Cflow>\u002F`, ending `-failed` when the test failed. The toolkit also links each run into Maestro's own `~\u002F.maestro\u002Ftests`, so a script that reads that folder keeps working, but there it can pick up another lane's run.\n- **Waits in a sign-in or setup flow:** a flow a hook runs on every `up` pays the full timeout of each wait or tap that never matches, and the driver only warns about it (Maestro marks an optional step WARNED and moves on), so a broken step costs every lane its timeout without failing anything. Wait on a handle the driver can see in the screen's accessibility tree, an id or a label, rather than on text inside a system sheet, web view or other view the driver doesn't read. A wait that guards readiness is required, with a timeout no longer than the step needs, so a broken step fails at once and says where; keep `optional` for a screen that may or may not appear. A WARNED step in a sign-in or setup flow is a defect to fix, not a pass.\n- **Playwright suites:** the config reads the lane when it's there and keeps its own behaviour when it isn't.\n  - Pin `@playwright\u002Ftest` to the toolkit's Playwright version (`node_modules\u002F.bin\u002Fagentlane browser status` names it). Under exec the tests launch the toolkit's pinned browsers, and another Playwright version looks for a browser build that isn't there.\n  - Exec sets `PLAYWRIGHT_TEST_BASE_URL` to the lane's web app, which Playwright Test uses as `baseURL` when the config sets none. A config that sets `baseURL` itself uses that variable when it is set. Skip the config's own `webServer` in a lane (when `AGENTLANE_WEB_URL` is set), since the lane's services already run.\n  - Give the tests that start signed in `storageState: process.env.AGENTLANE_STORAGE_STATE`.\n  - Keep traces on failure (`trace: 'retain-on-failure'`) and, when `AGENTLANE_EVIDENCE` is set, write `outputDir` to a folder of its own per run under it, such as `` `${process.env.AGENTLANE_EVIDENCE}\u002F${stamp}-playwright-test` ``. Playwright empties `outputDir` at the start of every run, and each worker loads the config again, so compute the stamp once and keep it in `process.env` (`process.env.RUN_STAMP ??= new Date().toISOString().replace(\u002F[-:.]\u002Fg, '')`). The trace of a failed run then survives the next run and `release`.\n  - Run them as `node_modules\u002F.bin\u002Fagentlane exec -- npx playwright test` or the project's script.\n\n`.agents\u002Fskills\u002Frun\u002FSKILL.md` needs frontmatter (`name: run`, and a description naming the app, its surfaces and when to reach for it) and the sections `dev-loop` lists, for each app, each grounded in what the interview found, with no placeholders left. Write every toolkit command in it as `node_modules\u002F.bin\u002Fagentlane …`, run from the project root: Codex, Cursor, Copilot and Gemini run the skill's commands in a plain shell, where a bare `agentlane` isn't found, and only Claude Code with the toolkit's plugin has one on the PATH. Any helper ships as an executable script whose invocation the skill shows; a helper the reader has to reverse-engineer is not a helper.\n\nWhen agents keep writing throwaway scripts to click through the app, add a command to the project's CLI instead: a few composable commands that each do real work, `--dry-run` on anything destructive, errors that say what to do, and machine-readable output.\n\n## 4. Seed the feature map\n\nCreate `.agents\u002Fskills\u002Frun\u002Ffeatures\u002FREADME.md` and one page per user-facing feature. When the repo lists its features itself (a `docs\u002FINDEX.md` per app, a features folder, the docs site's navigation), seed a page for every feature it lists, so `maintain-verification-skill` has every page to fill in; otherwise find them from routes, deep links, tabs, menus, pages, commands and docs. Write the three to five that matter most in full. Each other page may be thin: what the feature is, where the repo documents it, how a user reaches it, and a first line saying it hasn't been driven yet. The README holds the baseline every page starts from (launch state, seed data, signed in or not, on which platform) and the index of every page.\n\nA full page answers, from the user's side:\n\n- what the feature is, and its sub-features;\n- every way a user reaches it, on each platform it ships on;\n- how to drive each way with the harness, pairing each action with its exact command and the result to look for;\n- the end state that proves it works;\n- the traps that can waste or falsify a run.\n\nLeave implementation details out. Name user paths, stable handles, required state, commands and visible proof.\n\n## 5. Prove it before handing it over\n\nRun the skill's own instructions once, end to end, for each app: `up` (with `--platform` for each), `doctor`, drive one mapped feature, run its committed flow or test under `exec`, capture evidence, `release`. Then confirm the evidence still exists where the skill says it lands; a cleanup that eats the proof fails this step. Read the output of the flows the hooks run during `up` as well (`up` prints each hook's log path): a WARNED step there fails this step until it is fixed. Release after every failed attempt too, so broken tries don't strand processes, ports, devices, browsers or databases. A run skill that was never executed is a draft.\n\n## 6. Hand over\n\nReport what the skill covers, the feature you drove per app and its evidence, the flows and tests you adapted, the pages still thin, and anything the interview couldn't answer. Point at `maintain-verification-skill` for keeping the map true as the app changes.\n",{"name":5,"license":24,"description":7,"when_to_use":25},"Parts adapted from cursor\u002Fplugins (pstack) under the MIT License, Copyright (c) 2026 Lauren Tan; the full notice is in LICENSE beside this skill in the toolkit package","A project has no agentlane.json or no scripted way to drive its app and prove behavior; its run skill lacks drive or evidence sections or a feature map; the setup skill hands over to it; or dev-loop's bootstrap offer was accepted. Not for keeping an existing map current, which maintain-verification-skill does.","main","61b2cd2a983eb96ebd11afc36af0cbf2ccca54b6","skills\u002Fcreate-verification-skill",0,"https:\u002F\u002Fgithub.com\u002Fnorth-star-hq\u002Fagentlane","https:\u002F\u002Fnorth-star-hq.github.io\u002Fagentlane\u002F","https:\u002F\u002Fgithub.com\u002Fnorth-star-hq","2026-11-15 02:16:51",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add north-star-hq\u002Fagentlane --skill create-verification-skill",{"tool":40,"command":41},"bunx","bunx skills add north-star-hq\u002Fagentlane --skill create-verification-skill",{"tool":43,"command":44},"pnpm","pnpm dlx skills add north-star-hq\u002Fagentlane --skill create-verification-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnorth-star-hq\u002Fagentlane\u002Fblob\u002Fmain\u002Fskills\u002Fcreate-verification-skill\u002FSKILL.md",true,[48],{"path":49,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":15},"LICENSE","许可证",1067,[53,61],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":57,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7EMK0PVEJAFSNYB3XTRRV3D","maintain-verification-skill","Keep a project's run skill and feature map true as the app changes, for its mobile app, its web app or both. One read-only reader per feature page checks it against the code, then one live pass drives every feature on the session's own lane (a simulator or emulator, a browser), ending in at most one PR of proven corrections. Product bugs it finds are reported, never written around in the map.","https:\u002F\u002Fgithub.com\u002Fnorth-star-hq\u002Fagentlane\u002Fblob\u002Fmain\u002Fskills\u002Fmaintain-verification-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fnorth-star-hq\u002Fagentlane\u002Fblob\u002Fmain\u002Fskills\u002Fmaintain-verification-skill\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":65,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7EMJFN5C1EX3W8VRWGYQSHR","dev-loop","The contract for running a project's app as an agent with the toolkit - one lane per session and folder (a simulator or emulator, a browser, the ports for Metro, the API and the web app, and per-lane resources such as a database), `agentlane up` from bare worktree to running app, `doctor` before trusting an instance, `keep` while the user looks at the running app, `release` when done - plus what a project's run skill holds and what counts as proof and evidence from a running app. Use when about to run, build, launch or capture a project's mobile or web app, start its dev servers, hand an agent work that runs the app, or when an agent loses turns to ports, simulators, browsers, databases or half-started servers.","https:\u002F\u002Fgithub.com\u002Fnorth-star-hq\u002Fagentlane\u002Fblob\u002Fmain\u002Fskills\u002Fdev-loop\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fnorth-star-hq\u002Fagentlane\u002Fblob\u002Fmain\u002Fskills\u002Fdev-loop\u002FSKILL.md",[],[]]