[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F25FZM8E230JE9HBV1QVSW":3,"skill-same:01M7F25FZM8E230JE9HBV1QVSW":166},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7F25FZM8E230JE9HBV1QVSW","ci-pipeline-and-gates",null,"Builds GitHub Actions CI for Expo apps - verify on every PR, SHA-pinned actions, pinned runners and Node, device lanes, manual EAS releases. Use when editing .github\u002Fworkflows or CI fails. Not for local gates (quality-gates).","zakariaf\u002FReactNative-Skills","zakariaf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2259803?v=4","01M7DEF0YMPS6Y6RQ4WGA0JH9R","Zakaria Fatahi","01M7F1VKYEK96M7SYJE1EPGD0A",13,"MIT","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: ci-pipeline-and-gates\ndescription: Builds GitHub Actions CI for Expo apps - verify on every PR, SHA-pinned actions, pinned runners and Node, device lanes, manual EAS releases. Use when editing .github\u002Fworkflows or CI fails. Not for local gates (quality-gates).\n---\n\n# CI pipeline and gates\n\nCI repeats the local gate on GitHub's machines, adds the device lanes a laptop cannot run every\nnight, and starts store builds only when a person decides. Three workflows do it (`ci.yml`: `npm\nrun verify` on every pull request and push; `devices.yml`: Android emulator and iOS simulator lanes\nnightly; `release.yml`: an EAS build by hand behind a protected environment), with every action\npinned to a commit SHA and every runner and tool pinned to a version. Two checkers prove it. Verified\non 2026-10-14 against the `ubuntu-24.04` and `macos-26` runner-image READMEs, actionlint 1.7.12, Expo\nSDK 57, Node 26.4.0, Xcode 26.6 and eas-cli 24.10.0; the device jobs were not run on GitHub.\n\n## Rules that must hold\n\n1. **CI runs the local gate, byte for byte: `npm ci`, then `npm run verify`, on every pull request\n   and every push to `main`** (no `paths`\u002F`branches` filter on `pull_request`, no `if:` on the job\n   or the two steps). No hand-written lint, test or build steps, no `npx jest` beside it,\n   only npm scripts that exist; a job that sets `APP_VARIANT` sets `EXPO_PUBLIC_APP_VARIANT` to the\n   same value. Why: the guardrail compares the scripts, not YAML copies; CI that checks something else\n   passes what the pre-push hook would stop.\n2. **Every runner and tool is pinned:** `runs-on: ubuntu-24.04` \u002F `macos-26` (never `-latest`), Node\n   from `.nvmrc` through `setup-node` `node-version-file`, JDK 17 where Gradle or Maestro runs, Xcode\n   selected by version inside the repo's build script. Why: the Ubuntu image's npm 10.9 fails \u003C!-- stack-pin-ignore: the runner image's npm, not the project's -->\n   `engine-strict`, no image's Node is the one `.nvmrc` pins, and a moving label (`macos-latest`,\n   `macos-latest-xlarge`) changes the build with no diff to review.\n3. **Every action is pinned to a full 40-character commit SHA with a `# vX.Y.Z` comment, at least 7\n   days old, and Dependabot proposes updates with `cooldown: default-days: 7`.** Why: a tag can be\n   repointed to malicious code; the comment keeps the pin reviewable; the cooldown matches the npm\n   release age.\n4. **Least privilege, no untrusted code in privileged context:** top-level `permissions: contents:\n   read`, `pull_request` (never `pull_request_target` or `workflow_run`), `actions\u002Fcheckout` with\n   `persist-credentials: false`, no `${{ }}` of contributor-controlled or secret context inside a\n   `run:` script (pass it through `env:`). Why: these are the routes by which a pull request reaches\n   a write token or runs as code.\n5. **Secrets live only in jobs with a protected `environment:` (never in the workflow-level `env:`,\n   never passed to a reusable workflow), and those jobs restore no cache.**\n   Why: the environment's reviewers and branch rule protect the secret; a cache any branch can write\n   would run next to it.\n6. **Every workflow has a concurrency group and every job a `timeout-minutes` (at most 180); a\n   release workflow never cancels in progress, and the merge gate cancels only pull request runs.**\n   Why: stale runs waste minutes, a hung simulator burns six hours, a cancelled release leaves a\n   half-made build, and a cancelled run on `main` leaves a merged commit unverified.\n7. **A red step stays red:** no `continue-on-error`, `|| true`, `|| exit 0`, `set +e` or other `||`\n   fallback after a gate command, no pipe after one (`| tee`) without pipefail, no `NPM_CONFIG_*` override, no weakening `npm ci` flag;\n   `LEFTHOOK: '0'` is the one switch, set in every workflow that installs. Why: each turns a failing gate green or drops part of the `.npmrc`\n   policy, silently.\n8. **Caches are keyed on the file that pins their content and never hold `node_modules`.** npm\n   downloads on `package-lock.json`, Gradle on `package-lock.json`, the Maestro zip on its installer.\n   Why: a key without `hashFiles` never invalidates, and `npm ci` deletes `node_modules` anyway.\n9. **Every device lane the app has a script for runs in CI on its own schedule:** Android\n   (`build:android:emu`, `e2e:android`) on Linux with KVM, iOS (`build:ios:sim`, `e2e:ios`) on macOS,\n   nightly and on demand; a lane not run is a decision with its reason in `contracts\u002Fci.json`. Why:\n   macOS arm64 runners cannot nest virtualization, and a lane nobody runs proves nothing.\n10. **Workflows never touch a device or a licence directly:** no `maestro`, `adb`, `emulator`,\n    `avdmanager`, `xcrun simctl`, `xcode-select` lines or device actions, no `sdkmanager --licenses`.\n    Why: the repo's scripts create `\u003Cproject>-\u003Cpurpose>` devices and address them by id; accepting a\n    licence is the developer's legal decision.\n11. **Every gate and device job uploads its reports with `if: ${{ always() }}`** (or `!cancelled()`). Why: screenshots,\n    junit files and coverage are the evidence, and they die with the runner.\n12. **Release lanes start by hand:** `workflow_dispatch` (or a pushed tag) only, a protected\n    environment, the EAS CLI installed as one exact version with `--min-release-age=7\n    --ignore-scripts` (never `npx eas-cli`, never `eas-version: latest`), `--non-interactive`, and\n    eas-build-and-submit's preflight first; no `eas submit` or `eas update` on a push, also not behind\n    an npm script (`npm run release:eas`, `release:ios`, `release:android`). Why: a store build, a\n    submission or an OTA update reaches people, so a person decides.\n13. **A workflow is a gate.** `quality-gates.json` `gatedPaths` covers `.github\u002Fworkflows\u002F**` and\n    `.github\u002Fdependabot.yml`, so a change carries a `Gate-Change:` trailer; pushing a workflow and\n    starting a release run are the developer's calls. Why: weakening CI is the quietest way to weaken\n    every gate at once.\n\n## Workflow\n\n1. **Know what the repo has:** `ls .github\u002Fworkflows .github\u002Fdependabot.yml .nvmrc`, the\n   `package.json` scripts, and whether quality-gates is adopted (`quality-gates.json`, `npm run\n   verify`). Without `verify`, adopt quality-gates first: CI repeats a gate, it never invents one.\n   Read [references\u002Fworkflow-anatomy.md](references\u002Fworkflow-anatomy.md) for what each workflow does\n   and why there are three.\n2. **Copy the templates** (line 1 of each names its repo path):\n\n   | Template | Goes to | When |\n   |---|---|---|\n   | `templates\u002Fworkflows\u002Fci.yml` | `.github\u002Fworkflows\u002Fci.yml` | always |\n   | `templates\u002Fdependabot.yml` | `.github\u002Fdependabot.yml` | always |\n   | `templates\u002Fworkflows\u002Fdevices.yml` | `.github\u002Fworkflows\u002Fdevices.yml` | the app has a device script; delete a job whose lane the app does not have |\n   | `templates\u002Fworkflows\u002Frelease.yml` | `.github\u002Fworkflows\u002Frelease.yml` | the app releases through EAS (eas-build-and-submit) |\n   | `templates\u002Fcontracts\u002Fci.json` + `ci.schema.json` | `contracts\u002F` | always (`laneOptOuts: {}` until the developer decides otherwise) |\n\n   In an existing workflow, replace ad-hoc steps with the npm scripts instead of adding a fourth file.\n   Another skill's checker reaches CI as an npm script in quality-gates' `verifyExtraSteps`, never as\n   a step of its own; one that compares with the target branch needs `fetch-depth: 0`\n   ([workflow-anatomy.md](references\u002Fworkflow-anatomy.md), \"Adding a skill's checker to CI\").\n3. **Pin and harden:** read [references\u002Fsecurity-hardening.md](references\u002Fsecurity-hardening.md);\n   resolve any new action to a commit SHA of a release at least 7 days old\n   (`git ls-remote --tags \u003Crepo> '\u003Ctag>' '\u003Ctag>^{}'`) and add the `# vX.Y.Z` comment.\n4. **Device lanes:** read [references\u002Fdevice-lanes.md](references\u002Fdevice-lanes.md) before changing a\n   runner, the Android packages, the JDK step or the cadence. A lane the app will not run in CI gets a\n   `laneOptOuts` entry only after the developer agrees, with their reason.\n5. **Release lane:** read [references\u002Frelease-lane.md](references\u002Frelease-lane.md); list the human\n   setup (EAS token, the `production` environment with reviewers and branch rule) in the report. The\n   agent never creates tokens, environments or branch rules.\n6. **Gate the files:** check that `quality-gates.json` `gatedPaths` holds `.github\u002Fworkflows\u002F**` and\n   `.github\u002Fdependabot.yml`; adding them is a quality-gates gate change (`Gate-Change:` trailer).\n7. **Run the checks:** `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-workflows.mjs .` and\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-ci-lanes.mjs .` (repo root positional, never `--root`).\n   Fix every `FAIL` line (each names the file, line, rule and fix; [references\u002Fchecks.md](references\u002Fchecks.md)\n   explains every rule), rerun until both print `RESULT: PASS`. Then run actionlint from a pinned,\n   checksum-verified binary (checks.md, \"actionlint\").\n8. **Ask before pushing:** a workflow runs on GitHub's machines under the repository's name. When CI\n   later fails, triage as in [examples\u002Fred-run-triage.md](examples\u002Fred-run-triage.md): same command,\n   same Node, same files, then the uploaded reports; fix the cause, never the workflow's strictness.\n\n**When multi-package:** the workflows stay at the repository root; `npm ci` and `npm run verify` run\nthere; device scripts run with `--workspace apps\u002F\u003Capp>` (either side of the script name); pass\n`--app-dir apps\u002F\u003Capp>` to `check-ci-lanes.mjs` (a workspace command is looked up in that package, any\nother in the root `package.json`); one device job per shipping app.\n\n## Definition of done\n\n- [ ] `ci.yml` runs `npm ci` then `npm run verify` on `pull_request` and on push to `main`, with no\n      other gate commands; `dependabot.yml` updates `github-actions` with a 7-day cooldown.\n- [ ] Every `uses:` is a 40-character SHA with a `# vX.Y.Z` comment; no `-latest` runner; Node from\n      `.nvmrc`; JDK 17 in every Gradle or Maestro job.\n- [ ] Each device script in `package.json` has a scheduled job on the right runner, or a\n      `laneOptOuts` entry the developer agreed to.\n- [ ] `release.yml` (if present) starts only by hand, in a protected environment, with the pinned EAS\n      CLI and the preflight first.\n- [ ] actionlint (pinned release) prints nothing; the human settings (environment, branch protection,\n      required `verify` check) are listed in the report for the developer.\n- [ ] Expected SKIP lines only, each until its owner skill is adopted: `SKIP ... [script-missing] npm\n      script \"\u003Cbuild:android:emu|e2e:android|e2e:ios|build:ios:sim>\" not yet created (\u003Cowner> creates\n      it)` and `SKIP .github\u002Fworkflows\u002Frelease.yml [script-missing] scripts\u002Feas\u002Frelease-preflight.ts not\n      yet created (eas-build-and-submit creates it)`, and `SKIP quality-gates.json [workflows-gated]\n      not yet created (quality-gates creates it)` until quality-gates is adopted. Once the templates are copied both checkers count\n      what they read (`check-workflows: N files checked`, `check-ci-lanes: N workflows checked`);\n      `NOT APPLICABLE` means `.github\u002Fworkflows\u002F` was never created, so the skill is not applied yet.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-workflows.mjs .` prints `RESULT: PASS`\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-ci-lanes.mjs .` prints `RESULT: PASS`\n\n## Anti-patterns\n\n- **`run: npx eslint . && npx tsc && npx jest` in the workflow.** It drifts from `verify` the day a\n  gate changes, and the guardrail never sees it. Run `npm run verify`.\n- **`uses: actions\u002Fcheckout@v7`.** Pin the commit SHA with the release as a comment; let Dependabot\n  move it.\n- **`runs-on: macos-latest` for the Android emulator.** No nested virtualization on Apple silicon\n  runners; the emulator never boots. Linux with KVM.\n- **`continue-on-error: true` on the E2E job \"while it is flaky\".** The lane is then decoration. Fix\n  the flow or the app; read the uploaded screenshots.\n- **`npm install` in CI.** It can rewrite the lockfile and install unreviewed versions; `npm ci`.\n- **`NPM_CONFIG_MIN_RELEASE_AGE: '0'` to get a fresh package installed.** Wait for the release age or\n  add a dated exclude block (dependency-management).\n- **`echo \"${{ github.event.pull_request.title }}\"` in a script** (or `\"${{ env.TITLE }}\"` after\n  moving it to `env:`). A crafted title runs as code; pass it through `env:` and read `\"$TITLE\"`.\n- **`pull_request_target` \"so forks get the token\".** That is exactly the attack; use\n  `pull_request`.\n- **`yes | sdkmanager --licenses`.** Accepting a licence is the developer's decision; the hosted\n  images ship with them accepted.\n- **`expo\u002Fexpo-github-action` with `eas-version: latest`, or `npx eas-cli build` on every push to\n  `main`.** An unpinned CLI building and spending credits without a decision; start releases by hand\n  with the pinned CLI.\n- **Caching `node_modules` or restoring the npm cache in the release job.** Wasted or poisoned;\n  lockfile-keyed download caches in unprivileged jobs only.\n- **Raising `timeout-minutes` until a hanging lane \"passes\".** Read the logs; the hang is the bug.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Fworkflow-anatomy.md](references\u002Fworkflow-anatomy.md) | The three workflows line by line, the runners and their images, the pinned toolchain, caches, reports, adopting, when multi-package, what CI cannot prove | Workflow step 1 |\n| [references\u002Fsecurity-hardening.md](references\u002Fsecurity-hardening.md) | SHA pins (with the verified pins), finding a SHA, Dependabot cooldown, permissions, `pull_request_target`, checkout credentials, script injection, environments, cache poisoning, the repository settings a human sets | Workflow step 3 |\n| [references\u002Fdevice-lanes.md](references\u002Fdevice-lanes.md) | Android on Linux with KVM, the SDK packages and licences, iOS on macOS with the pinned Xcode, JDK 17, named devices, flaky lanes, failures | Workflow step 4, and when a device job fails |\n| [references\u002Frelease-lane.md](references\u002Frelease-lane.md) | The manual EAS release job, the human setup, what never runs from CI, Expo's EAS Workflows, apps without EAS | Workflow step 5 |\n| [references\u002Fchecks.md](references\u002Fchecks.md) | Every rule of both checkers with its reason, `contracts\u002Fci.json`, expected SKIP lines, the YAML subset, actionlint, when multi-package | Workflow step 7, and when a check fails |\n| [examples\u002Fred-run-triage.md](examples\u002Fred-run-triage.md) | A red CI run on a Tasks app traced to a case-only rename git did not record on macOS, and what was not done | When CI fails and local passes |\n| `templates\u002Fworkflows\u002Fci.yml` | The merge gate: `npm ci` + `npm run verify` on pull requests and pushes | Workflow step 2 |\n| `templates\u002Fworkflows\u002Fdevices.yml` | Nightly Android (Linux + KVM) and iOS (macOS) build and E2E lanes | Workflow step 2 |\n| `templates\u002Fworkflows\u002Frelease.yml` | The manual EAS build behind the `production` environment | Workflow step 2 |\n| `templates\u002Fdependabot.yml` | Weekly SHA-pin updates for actions with a 7-day cooldown | Workflow step 2 |\n| `templates\u002Fcontracts\u002Fci.json` | The CI contract: `laneOptOuts`, the device lanes the developer decided not to run, with reasons | Workflow steps 2 and 4 |\n| `templates\u002Fcontracts\u002Fci.schema.json` | The contract's JSON schema (lane names, a reason of at least 20 characters) | When editing the contract |\n| `scripts\u002Fcheck-workflows.mjs` | Pins, runners, permissions, triggers, credentials, injection, secrets, concurrency, timeouts, soft fails, npm config, LEFTHOOK, caches, Dependabot (16 rules) | Workflow step 7 and the definition of done |\n| `scripts\u002Fcheck-ci-lanes.mjs` | The verify gate, installs, ad-hoc commands, Node pin, scripts, device lanes and runners, JDK, raw device commands, licences, reports, release trigger, environment and CLI, variant pairs, gated paths, opt-outs (19 rules) | Workflow step 7 and the definition of done |\n| `scripts\u002Flib\u002Fworkflow-yaml.mjs` | The zero-dependency YAML reader (lines and comments kept) | Read only to change the parser |\n| `scripts\u002Flib\u002Fworkflows.mjs` | The workflow model both checkers share (triggers, jobs, steps, shell commands, lanes, owners) | Read only to change a rule |\n| `scripts\u002Fselftest.mjs` | Proves both checkers on the templates and every planted bug | After changing a checker, a template or a fixture |\n| `scripts\u002Fcheck-lib.mjs` | Shared script helper, synced from the library (do not edit here) | Never by hand |\n| `assets\u002Fshared.json` | Declares the synced files | When adding a shared file |\n| `tests\u002Fbases\u002Fapp\u002F` | The minimal app the suites start from (scripts, `.nvmrc`, gated paths, a preflight stub) | When adding a case |\n| `tests\u002Ffixtures\u002F` | Overlay cases: `good\u002F`, one `bad-*` per rule, `pass-*` for SKIP and NOT APPLICABLE, `error-*` | When adding a rule |\n\n## Related skills\n\n- `quality-gates` - what `npm run verify` runs, `gatedPaths`, `LEFTHOOK` outside workflows, the never list.\n- `dependency-management` - `.npmrc`, release age, install scripts, `check:deps`, Node and npm pins.\n- `ios-simulator-build`, `android-emulator-build` - the build scripts the device lanes call.\n- `e2e-maestro` - the E2E scripts, the Maestro installer and flake rules.\n- `eas-build-and-submit` - `eas.json`, the release preflight, submitting a build.\n- `ota-updates` - EAS Update channels; never published from a push.\n- `app-variants-and-environment` - `APP_VARIANT` and `EXPO_PUBLIC_*` values in build jobs.\n- `git-commits-and-reporting` - the `Gate-Change:` trailer and the report that cites the run.\n- `troubleshooting-playbook` - tool failures behind a red job.\n","# CI pipeline and gates\n\nCI repeats the local gate on GitHub's machines, adds the device lanes a laptop cannot run every\nnight, and starts store builds only when a person decides. Three workflows do it (`ci.yml`: `npm\nrun verify` on every pull request and push; `devices.yml`: Android emulator and iOS simulator lanes\nnightly; `release.yml`: an EAS build by hand behind a protected environment), with every action\npinned to a commit SHA and every runner and tool pinned to a version. Two checkers prove it. Verified\non 2026-10-14 against the `ubuntu-24.04` and `macos-26` runner-image READMEs, actionlint 1.7.12, Expo\nSDK 57, Node 26.4.0, Xcode 26.6 and eas-cli 24.10.0; the device jobs were not run on GitHub.\n\n## Rules that must hold\n\n1. **CI runs the local gate, byte for byte: `npm ci`, then `npm run verify`, on every pull request\n   and every push to `main`** (no `paths`\u002F`branches` filter on `pull_request`, no `if:` on the job\n   or the two steps). No hand-written lint, test or build steps, no `npx jest` beside it,\n   only npm scripts that exist; a job that sets `APP_VARIANT` sets `EXPO_PUBLIC_APP_VARIANT` to the\n   same value. Why: the guardrail compares the scripts, not YAML copies; CI that checks something else\n   passes what the pre-push hook would stop.\n2. **Every runner and tool is pinned:** `runs-on: ubuntu-24.04` \u002F `macos-26` (never `-latest`), Node\n   from `.nvmrc` through `setup-node` `node-version-file`, JDK 17 where Gradle or Maestro runs, Xcode\n   selected by version inside the repo's build script. Why: the Ubuntu image's npm 10.9 fails \u003C!-- stack-pin-ignore: the runner image's npm, not the project's -->\n   `engine-strict`, no image's Node is the one `.nvmrc` pins, and a moving label (`macos-latest`,\n   `macos-latest-xlarge`) changes the build with no diff to review.\n3. **Every action is pinned to a full 40-character commit SHA with a `# vX.Y.Z` comment, at least 7\n   days old, and Dependabot proposes updates with `cooldown: default-days: 7`.** Why: a tag can be\n   repointed to malicious code; the comment keeps the pin reviewable; the cooldown matches the npm\n   release age.\n4. **Least privilege, no untrusted code in privileged context:** top-level `permissions: contents:\n   read`, `pull_request` (never `pull_request_target` or `workflow_run`), `actions\u002Fcheckout` with\n   `persist-credentials: false`, no `${{ }}` of contributor-controlled or secret context inside a\n   `run:` script (pass it through `env:`). Why: these are the routes by which a pull request reaches\n   a write token or runs as code.\n5. **Secrets live only in jobs with a protected `environment:` (never in the workflow-level `env:`,\n   never passed to a reusable workflow), and those jobs restore no cache.**\n   Why: the environment's reviewers and branch rule protect the secret; a cache any branch can write\n   would run next to it.\n6. **Every workflow has a concurrency group and every job a `timeout-minutes` (at most 180); a\n   release workflow never cancels in progress, and the merge gate cancels only pull request runs.**\n   Why: stale runs waste minutes, a hung simulator burns six hours, a cancelled release leaves a\n   half-made build, and a cancelled run on `main` leaves a merged commit unverified.\n7. **A red step stays red:** no `continue-on-error`, `|| true`, `|| exit 0`, `set +e` or other `||`\n   fallback after a gate command, no pipe after one (`| tee`) without pipefail, no `NPM_CONFIG_*` override, no weakening `npm ci` flag;\n   `LEFTHOOK: '0'` is the one switch, set in every workflow that installs. Why: each turns a failing gate green or drops part of the `.npmrc`\n   policy, silently.\n8. **Caches are keyed on the file that pins their content and never hold `node_modules`.** npm\n   downloads on `package-lock.json`, Gradle on `package-lock.json`, the Maestro zip on its installer.\n   Why: a key without `hashFiles` never invalidates, and `npm ci` deletes `node_modules` anyway.\n9. **Every device lane the app has a script for runs in CI on its own schedule:** Android\n   (`build:android:emu`, `e2e:android`) on Linux with KVM, iOS (`build:ios:sim`, `e2e:ios`) on macOS,\n   nightly and on demand; a lane not run is a decision with its reason in `contracts\u002Fci.json`. Why:\n   macOS arm64 runners cannot nest virtualization, and a lane nobody runs proves nothing.\n10. **Workflows never touch a device or a licence directly:** no `maestro`, `adb`, `emulator`,\n    `avdmanager`, `xcrun simctl`, `xcode-select` lines or device actions, no `sdkmanager --licenses`.\n    Why: the repo's scripts create `\u003Cproject>-\u003Cpurpose>` devices and address them by id; accepting a\n    licence is the developer's legal decision.\n11. **Every gate and device job uploads its reports with `if: ${{ always() }}`** (or `!cancelled()`). Why: screenshots,\n    junit files and coverage are the evidence, and they die with the runner.\n12. **Release lanes start by hand:** `workflow_dispatch` (or a pushed tag) only, a protected\n    environment, the EAS CLI installed as one exact version with `--min-release-age=7\n    --ignore-scripts` (never `npx eas-cli`, never `eas-version: latest`), `--non-interactive`, and\n    eas-build-and-submit's preflight first; no `eas submit` or `eas update` on a push, also not behind\n    an npm script (`npm run release:eas`, `release:ios`, `release:android`). Why: a store build, a\n    submission or an OTA update reaches people, so a person decides.\n13. **A workflow is a gate.** `quality-gates.json` `gatedPaths` covers `.github\u002Fworkflows\u002F**` and\n    `.github\u002Fdependabot.yml`, so a change carries a `Gate-Change:` trailer; pushing a workflow and\n    starting a release run are the developer's calls. Why: weakening CI is the quietest way to weaken\n    every gate at once.\n\n## Workflow\n\n1. **Know what the repo has:** `ls .github\u002Fworkflows .github\u002Fdependabot.yml .nvmrc`, the\n   `package.json` scripts, and whether quality-gates is adopted (`quality-gates.json`, `npm run\n   verify`). Without `verify`, adopt quality-gates first: CI repeats a gate, it never invents one.\n   Read [references\u002Fworkflow-anatomy.md](references\u002Fworkflow-anatomy.md) for what each workflow does\n   and why there are three.\n2. **Copy the templates** (line 1 of each names its repo path):\n\n   | Template | Goes to | When |\n   |---|---|---|\n   | `templates\u002Fworkflows\u002Fci.yml` | `.github\u002Fworkflows\u002Fci.yml` | always |\n   | `templates\u002Fdependabot.yml` | `.github\u002Fdependabot.yml` | always |\n   | `templates\u002Fworkflows\u002Fdevices.yml` | `.github\u002Fworkflows\u002Fdevices.yml` | the app has a device script; delete a job whose lane the app does not have |\n   | `templates\u002Fworkflows\u002Frelease.yml` | `.github\u002Fworkflows\u002Frelease.yml` | the app releases through EAS (eas-build-and-submit) |\n   | `templates\u002Fcontracts\u002Fci.json` + `ci.schema.json` | `contracts\u002F` | always (`laneOptOuts: {}` until the developer decides otherwise) |\n\n   In an existing workflow, replace ad-hoc steps with the npm scripts instead of adding a fourth file.\n   Another skill's checker reaches CI as an npm script in quality-gates' `verifyExtraSteps`, never as\n   a step of its own; one that compares with the target branch needs `fetch-depth: 0`\n   ([workflow-anatomy.md](references\u002Fworkflow-anatomy.md), \"Adding a skill's checker to CI\").\n3. **Pin and harden:** read [references\u002Fsecurity-hardening.md](references\u002Fsecurity-hardening.md);\n   resolve any new action to a commit SHA of a release at least 7 days old\n   (`git ls-remote --tags \u003Crepo> '\u003Ctag>' '\u003Ctag>^{}'`) and add the `# vX.Y.Z` comment.\n4. **Device lanes:** read [references\u002Fdevice-lanes.md](references\u002Fdevice-lanes.md) before changing a\n   runner, the Android packages, the JDK step or the cadence. A lane the app will not run in CI gets a\n   `laneOptOuts` entry only after the developer agrees, with their reason.\n5. **Release lane:** read [references\u002Frelease-lane.md](references\u002Frelease-lane.md); list the human\n   setup (EAS token, the `production` environment with reviewers and branch rule) in the report. The\n   agent never creates tokens, environments or branch rules.\n6. **Gate the files:** check that `quality-gates.json` `gatedPaths` holds `.github\u002Fworkflows\u002F**` and\n   `.github\u002Fdependabot.yml`; adding them is a quality-gates gate change (`Gate-Change:` trailer).\n7. **Run the checks:** `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-workflows.mjs .` and\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-ci-lanes.mjs .` (repo root positional, never `--root`).\n   Fix every `FAIL` line (each names the file, line, rule and fix; [references\u002Fchecks.md](references\u002Fchecks.md)\n   explains every rule), rerun until both print `RESULT: PASS`. Then run actionlint from a pinned,\n   checksum-verified binary (checks.md, \"actionlint\").\n8. **Ask before pushing:** a workflow runs on GitHub's machines under the repository's name. When CI\n   later fails, triage as in [examples\u002Fred-run-triage.md](examples\u002Fred-run-triage.md): same command,\n   same Node, same files, then the uploaded reports; fix the cause, never the workflow's strictness.\n\n**When multi-package:** the workflows stay at the repository root; `npm ci` and `npm run verify` run\nthere; device scripts run with `--workspace apps\u002F\u003Capp>` (either side of the script name); pass\n`--app-dir apps\u002F\u003Capp>` to `check-ci-lanes.mjs` (a workspace command is looked up in that package, any\nother in the root `package.json`); one device job per shipping app.\n\n## Definition of done\n\n- [ ] `ci.yml` runs `npm ci` then `npm run verify` on `pull_request` and on push to `main`, with no\n      other gate commands; `dependabot.yml` updates `github-actions` with a 7-day cooldown.\n- [ ] Every `uses:` is a 40-character SHA with a `# vX.Y.Z` comment; no `-latest` runner; Node from\n      `.nvmrc`; JDK 17 in every Gradle or Maestro job.\n- [ ] Each device script in `package.json` has a scheduled job on the right runner, or a\n      `laneOptOuts` entry the developer agreed to.\n- [ ] `release.yml` (if present) starts only by hand, in a protected environment, with the pinned EAS\n      CLI and the preflight first.\n- [ ] actionlint (pinned release) prints nothing; the human settings (environment, branch protection,\n      required `verify` check) are listed in the report for the developer.\n- [ ] Expected SKIP lines only, each until its owner skill is adopted: `SKIP ... [script-missing] npm\n      script \"\u003Cbuild:android:emu|e2e:android|e2e:ios|build:ios:sim>\" not yet created (\u003Cowner> creates\n      it)` and `SKIP .github\u002Fworkflows\u002Frelease.yml [script-missing] scripts\u002Feas\u002Frelease-preflight.ts not\n      yet created (eas-build-and-submit creates it)`, and `SKIP quality-gates.json [workflows-gated]\n      not yet created (quality-gates creates it)` until quality-gates is adopted. Once the templates are copied both checkers count\n      what they read (`check-workflows: N files checked`, `check-ci-lanes: N workflows checked`);\n      `NOT APPLICABLE` means `.github\u002Fworkflows\u002F` was never created, so the skill is not applied yet.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-workflows.mjs .` prints `RESULT: PASS`\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-ci-lanes.mjs .` prints `RESULT: PASS`\n\n## Anti-patterns\n\n- **`run: npx eslint . && npx tsc && npx jest` in the workflow.** It drifts from `verify` the day a\n  gate changes, and the guardrail never sees it. Run `npm run verify`.\n- **`uses: actions\u002Fcheckout@v7`.** Pin the commit SHA with the release as a comment; let Dependabot\n  move it.\n- **`runs-on: macos-latest` for the Android emulator.** No nested virtualization on Apple silicon\n  runners; the emulator never boots. Linux with KVM.\n- **`continue-on-error: true` on the E2E job \"while it is flaky\".** The lane is then decoration. Fix\n  the flow or the app; read the uploaded screenshots.\n- **`npm install` in CI.** It can rewrite the lockfile and install unreviewed versions; `npm ci`.\n- **`NPM_CONFIG_MIN_RELEASE_AGE: '0'` to get a fresh package installed.** Wait for the release age or\n  add a dated exclude block (dependency-management).\n- **`echo \"${{ github.event.pull_request.title }}\"` in a script** (or `\"${{ env.TITLE }}\"` after\n  moving it to `env:`). A crafted title runs as code; pass it through `env:` and read `\"$TITLE\"`.\n- **`pull_request_target` \"so forks get the token\".** That is exactly the attack; use\n  `pull_request`.\n- **`yes | sdkmanager --licenses`.** Accepting a licence is the developer's decision; the hosted\n  images ship with them accepted.\n- **`expo\u002Fexpo-github-action` with `eas-version: latest`, or `npx eas-cli build` on every push to\n  `main`.** An unpinned CLI building and spending credits without a decision; start releases by hand\n  with the pinned CLI.\n- **Caching `node_modules` or restoring the npm cache in the release job.** Wasted or poisoned;\n  lockfile-keyed download caches in unprivileged jobs only.\n- **Raising `timeout-minutes` until a hanging lane \"passes\".** Read the logs; the hang is the bug.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Fworkflow-anatomy.md](references\u002Fworkflow-anatomy.md) | The three workflows line by line, the runners and their images, the pinned toolchain, caches, reports, adopting, when multi-package, what CI cannot prove | Workflow step 1 |\n| [references\u002Fsecurity-hardening.md](references\u002Fsecurity-hardening.md) | SHA pins (with the verified pins), finding a SHA, Dependabot cooldown, permissions, `pull_request_target`, checkout credentials, script injection, environments, cache poisoning, the repository settings a human sets | Workflow step 3 |\n| [references\u002Fdevice-lanes.md](references\u002Fdevice-lanes.md) | Android on Linux with KVM, the SDK packages and licences, iOS on macOS with the pinned Xcode, JDK 17, named devices, flaky lanes, failures | Workflow step 4, and when a device job fails |\n| [references\u002Frelease-lane.md](references\u002Frelease-lane.md) | The manual EAS release job, the human setup, what never runs from CI, Expo's EAS Workflows, apps without EAS | Workflow step 5 |\n| [references\u002Fchecks.md](references\u002Fchecks.md) | Every rule of both checkers with its reason, `contracts\u002Fci.json`, expected SKIP lines, the YAML subset, actionlint, when multi-package | Workflow step 7, and when a check fails |\n| [examples\u002Fred-run-triage.md](examples\u002Fred-run-triage.md) | A red CI run on a Tasks app traced to a case-only rename git did not record on macOS, and what was not done | When CI fails and local passes |\n| `templates\u002Fworkflows\u002Fci.yml` | The merge gate: `npm ci` + `npm run verify` on pull requests and pushes | Workflow step 2 |\n| `templates\u002Fworkflows\u002Fdevices.yml` | Nightly Android (Linux + KVM) and iOS (macOS) build and E2E lanes | Workflow step 2 |\n| `templates\u002Fworkflows\u002Frelease.yml` | The manual EAS build behind the `production` environment | Workflow step 2 |\n| `templates\u002Fdependabot.yml` | Weekly SHA-pin updates for actions with a 7-day cooldown | Workflow step 2 |\n| `templates\u002Fcontracts\u002Fci.json` | The CI contract: `laneOptOuts`, the device lanes the developer decided not to run, with reasons | Workflow steps 2 and 4 |\n| `templates\u002Fcontracts\u002Fci.schema.json` | The contract's JSON schema (lane names, a reason of at least 20 characters) | When editing the contract |\n| `scripts\u002Fcheck-workflows.mjs` | Pins, runners, permissions, triggers, credentials, injection, secrets, concurrency, timeouts, soft fails, npm config, LEFTHOOK, caches, Dependabot (16 rules) | Workflow step 7 and the definition of done |\n| `scripts\u002Fcheck-ci-lanes.mjs` | The verify gate, installs, ad-hoc commands, Node pin, scripts, device lanes and runners, JDK, raw device commands, licences, reports, release trigger, environment and CLI, variant pairs, gated paths, opt-outs (19 rules) | Workflow step 7 and the definition of done |\n| `scripts\u002Flib\u002Fworkflow-yaml.mjs` | The zero-dependency YAML reader (lines and comments kept) | Read only to change the parser |\n| `scripts\u002Flib\u002Fworkflows.mjs` | The workflow model both checkers share (triggers, jobs, steps, shell commands, lanes, owners) | Read only to change a rule |\n| `scripts\u002Fselftest.mjs` | Proves both checkers on the templates and every planted bug | After changing a checker, a template or a fixture |\n| `scripts\u002Fcheck-lib.mjs` | Shared script helper, synced from the library (do not edit here) | Never by hand |\n| `assets\u002Fshared.json` | Declares the synced files | When adding a shared file |\n| `tests\u002Fbases\u002Fapp\u002F` | The minimal app the suites start from (scripts, `.nvmrc`, gated paths, a preflight stub) | When adding a case |\n| `tests\u002Ffixtures\u002F` | Overlay cases: `good\u002F`, one `bad-*` per rule, `pass-*` for SKIP and NOT APPLICABLE, `error-*` | When adding a rule |\n\n## Related skills\n\n- `quality-gates` - what `npm run verify` runs, `gatedPaths`, `LEFTHOOK` outside workflows, the never list.\n- `dependency-management` - `.npmrc`, release age, install scripts, `check:deps`, Node and npm pins.\n- `ios-simulator-build`, `android-emulator-build` - the build scripts the device lanes call.\n- `e2e-maestro` - the E2E scripts, the Maestro installer and flake rules.\n- `eas-build-and-submit` - `eas.json`, the release preflight, submitting a build.\n- `ota-updates` - EAS Update channels; never published from a push.\n- `app-variants-and-environment` - `APP_VARIANT` and `EXPO_PUBLIC_*` values in build jobs.\n- `git-commits-and-reporting` - the `Gate-Change:` trailer and the report that cites the run.\n- `troubleshooting-playbook` - tool failures behind a red job.\n",{"name":5,"description":7},"main","41a0e66d4d09de5b46e6537f59a97c7192473486","skills\u002Fci-pipeline-and-gates",2,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills","https:\u002F\u002Fzakaria.dev\u002FReactNative-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fzakariaf","https:\u002F\u002Fzakaria.dev","Seniore Software Engineer","2026-10-22 07:05:00",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add zakariaf\u002FReactNative-Skills --skill ci-pipeline-and-gates",{"tool":40,"command":41},"bunx","bunx skills add zakariaf\u002FReactNative-Skills --skill ci-pipeline-and-gates",{"tool":43,"command":44},"pnpm","pnpm dlx skills add zakariaf\u002FReactNative-Skills --skill ci-pipeline-and-gates","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002FSKILL.md",true,[48,54,60,64,68,72,76,80,86,90,94,98,102,106,110,114,118,122,126,130,136,140,144,148,152,156,159,163],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"assets\u002Fshared.json","ASSET","资产文件",73,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Fassets\u002Fshared.json",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"examples\u002Fred-run-triage.md","REFERENCE","参考文档",3438,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Fexamples\u002Fred-run-triage.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fchecks.md",16152,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Freferences\u002Fchecks.md",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fdevice-lanes.md",10371,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Freferences\u002Fdevice-lanes.md",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Frelease-lane.md",7031,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Freferences\u002Frelease-lane.md",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fsecurity-hardening.md",11539,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Freferences\u002Fsecurity-hardening.md",{"path":77,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fworkflow-anatomy.md",16778,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Freferences\u002Fworkflow-anatomy.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fcheck-ci-lanes.mjs","SCRIPT","脚本",33648,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Fscripts\u002Fcheck-ci-lanes.mjs",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fcheck-lib.mjs",119923,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Fscripts\u002Fcheck-lib.mjs",{"path":91,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fcheck-workflows.mjs",24655,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Fscripts\u002Fcheck-workflows.mjs",{"path":95,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Flib\u002Fworkflow-yaml.mjs",14398,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Fscripts\u002Flib\u002Fworkflow-yaml.mjs",{"path":99,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Flib\u002Fworkflows.mjs",14485,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Fscripts\u002Flib\u002Fworkflows.mjs",{"path":103,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fselftest.mjs",837,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Fscripts\u002Fselftest.mjs",{"path":107,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":108,"sourceHtmlUrl":109},"templates\u002Fcontracts\u002Fci.json",321,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftemplates\u002Fcontracts\u002Fci.json",{"path":111,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":112,"sourceHtmlUrl":113},"templates\u002Fcontracts\u002Fci.schema.json",749,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftemplates\u002Fcontracts\u002Fci.schema.json",{"path":115,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":116,"sourceHtmlUrl":117},"templates\u002Fdependabot.yml",612,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftemplates\u002Fdependabot.yml",{"path":119,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":120,"sourceHtmlUrl":121},"templates\u002Fworkflows\u002Fci.yml",1824,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftemplates\u002Fworkflows\u002Fci.yml",{"path":123,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":124,"sourceHtmlUrl":125},"templates\u002Fworkflows\u002Fdevices.yml",4487,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftemplates\u002Fworkflows\u002Fdevices.yml",{"path":127,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":128,"sourceHtmlUrl":129},"templates\u002Fworkflows\u002Frelease.yml",2259,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftemplates\u002Fworkflows\u002Frelease.yml",{"path":131,"resourceType":132,"resourceTypeDesc":133,"sizeBytes":134,"sourceHtmlUrl":135},"tests\u002Fbases\u002Fapp\u002F.nvmrc","OTHER","其他",7,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftests\u002Fbases\u002Fapp\u002F.nvmrc",{"path":137,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":138,"sourceHtmlUrl":139},"tests\u002Fbases\u002Fapp\u002Fpackage-lock.json",27,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftests\u002Fbases\u002Fapp\u002Fpackage-lock.json",{"path":141,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":142,"sourceHtmlUrl":143},"tests\u002Fbases\u002Fapp\u002Fpackage.json",427,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftests\u002Fbases\u002Fapp\u002Fpackage.json",{"path":145,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":146,"sourceHtmlUrl":147},"tests\u002Fbases\u002Fapp\u002Fquality-gates.json",93,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftests\u002Fbases\u002Fapp\u002Fquality-gates.json",{"path":149,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":150,"sourceHtmlUrl":151},"tests\u002Fbases\u002Fapp\u002Fscripts\u002Feas\u002Frelease-preflight.ts",122,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftests\u002Fbases\u002Fapp\u002Fscripts\u002Feas\u002Frelease-preflight.ts",{"path":153,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":154,"sourceHtmlUrl":155},"tests\u002Ffixtures\u002Fcheck-ci-lanes\u002FCASES.json",17864,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftests\u002Ffixtures\u002Fcheck-ci-lanes\u002FCASES.json",{"path":157,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":14,"sourceHtmlUrl":158},"tests\u002Ffixtures\u002Fcheck-ci-lanes\u002Fgood\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftests\u002Ffixtures\u002Fcheck-ci-lanes\u002Fgood\u002FEXPECT.txt",{"path":160,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":161,"sourceHtmlUrl":162},"tests\u002Ffixtures\u002Fcheck-workflows\u002FCASES.json",12193,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftests\u002Ffixtures\u002Fcheck-workflows\u002FCASES.json",{"path":164,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":14,"sourceHtmlUrl":165},"tests\u002Ffixtures\u002Fcheck-workflows\u002Fgood\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fci-pipeline-and-gates\u002Ftests\u002Ffixtures\u002Fcheck-workflows\u002Fgood\u002FEXPECT.txt",[167,174,180,187,194,201],{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":19},"01M7F2S4KZG97D21GEJ2GKKYK1","demo","Planted skill folder (never scanned).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002Ftests\u002Fbases\u002Fapp\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":175,"name":169,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":19},"01M7F2S1F4ATZ49909EDKWA9E6","Planted installed skill (its files must never be scanned).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002Ftests\u002Fbases\u002Fapp\u002F.agents\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":19},"01M7F2RXGPZJ5Q1FV2HQ1PJ6AX","web-support","Ships the web build of an Expo app: platform files, APIs missing in react-native-web, expo-sqlite headers. Use when adding web, a .web.tsx file or expo export --platform web. Not for responsive layout (adaptive-layout).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002FSKILL.md",[],[],{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":19},"01M7F2RQ43JFA4QFWQEHBET08G","value-objects-money-and-units","Stores money as ISO 4217 minor units, quantities in canonical units, instants as epoch ms. Use when adding a price, currency, tax, split, unit or timestamp, or a total is a cent off. Not for calendar days (dates-streaks-and-statistics).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalue-objects-money-and-units\u002FSKILL.md",[],[],{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":19},"01M7F2RHR7H8VVZDP16FJNJV11","unit-and-component-tests","Sets up Jest, checks unit, component and route tests (RNTL 14, renderWithProviders, SDK mocks, fakes, fast-check, Stryker). Use when writing a test or mock, or Jest fails or flakes. Not for goldens (golden-and-snapshot-tests).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Funit-and-component-tests\u002FSKILL.md",[],[],{"skillNo":202,"name":203,"nameZh":6,"description":204,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":205,"categories":206,"keywords":207,"publishedAt":19},"01M7F2RAEDWQ6H4514HFRWJAE6","ui-states-and-feedback","Builds loading, empty, failed and offline states, delayed skeletons, toasts, banners, confirms, Undo. Use when a screen loads data, shows a spinner, toast, retry or delete prompt. Not for failure values (error-handling-typed-results).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fui-states-and-feedback\u002FSKILL.md",[],[]]