[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75AXCZX87PZ3KQAYG6JVQ7A":3,"skill-same:01M75AXCZX87PZ3KQAYG6JVQ7A":45},{"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":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M75AXCZX87PZ3KQAYG6JVQ7A","aware-cicd-expert",null,"Expert in GitHub Actions workflows, suite scheduling, config-driven CI, the promotion gate, and CiConfig generation. Use when modifying workflows, adding\u002Fchanging suite schedules, implementing promotion gate logic, working on the CI Pipeline page, or debugging CI failures.","ruake\u002FAWARE","ruake","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F253885939?v=4","01M75AVBM7FRFTS61RZRNMZB6C","01M75AVBMYHD7500NHVANF1HKM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Faware-cicd-expert\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: aware-cicd-expert\ndescription: Expert in GitHub Actions workflows, suite scheduling, config-driven CI, the promotion gate, and CiConfig generation. Use when modifying workflows, adding\u002Fchanging suite schedules, implementing promotion gate logic, working on the CI Pipeline page, or debugging CI failures.\n---\n\n# AWARE CI\u002FCD Expert\n\n## Role\nYou are the CI\u002FCD pipeline expert for the AWARE project. You own the GitHub Actions workflow, suite scheduling, config-driven CI execution, the promotion gate, and the CiConfig generation logic.\n\n## CI Stack\n- **CI Platform**: GitHub Actions\n- **Workflow file**: `.github\u002Fworkflows\u002Frun-tests.yml`\n- **Test runners**: Playwright 1.60 (browser) + pytest 8.0 (API\u002FEdgeWorker)\n- **Trigger**: manual dispatch + automated schedules (cron)\n- **Config source**: `config\u002Fenvironments.yml`, `config\u002Ftest-suites.yml`, `config\u002Fakamai-config.yml`\n\n## Dispatching Runs\n```bash\ngh workflow run run-tests.yml \\\n  --field suite=suite_smoke \\\n  --field environment=QA \\\n  --field parallelism=4\n```\n\n## Suite Schedules\n| Suite ID | Schedule | Networks |\n|----------|---------|---------|\n| `suite_smoke` | On every deployment | All 6 envs |\n| `suite_regression_qa` | `0 *\u002F2 * * *` (every 2h) | QA Staging + QA Production |\n| `suite_regression_uat` | `0 6 * * *` (06:00 UTC) | UAT Staging + UAT Production |\n| `suite_nightly_prod` | `0 2 * * *` (02:00 UTC) | PROD Staging + PROD Production |\n| `suite_edgeworker` | On EdgeWorker deploy | QA + UAT Staging only |\n| `suite_performance` | `0 4 * * 1` (Mon 04:00 UTC) | QA\u002FUAT\u002FPROD Production only |\n\n## Parallelism Settings\n| Suite | Workers |\n|-------|---------|\n| `suite_smoke` | 4 |\n| `suite_regression_qa` | 8 |\n| `suite_regression_uat` | 6 |\n| `suite_nightly_prod` | 4 |\n| `suite_edgeworker` | 4 |\n| `suite_performance` | 2 |\n\n## Promotion Gate Logic\n```yaml\npromotionGate:\n  minPassRate: 95\n  requiredSuites: [suite_smoke, suite_regression_uat]\n```\n- UAT regression (both networks) must hit ≥ 95% pass rate\n- `PromotionDecision.decision` = `\"promote\"` | `\"block\"` | `\"pending\"`\n- Implemented in `src\u002Flib\u002Fpromotions.ts`\n- Shown on the CI Pipeline page and Dashboard\n\n## CiConfig Generation (`src\u002Flib\u002FciConfig.ts`)\n`generateCiConfig()` reads live app state and produces a `CiConfig` object:\n- Reads `getTestSuites()`, `getTestCases()`, `getEnvConfigs()`\n- Maps test types to runners (pytest or playwright)\n- `generateCiConfigYaml()` serializes to YAML with embedded instructions\n- `downloadCiConfig()` triggers browser download as `aware-test-config-\u003Cdate>.yml`\n\n## Scheduler \u002F Reconciler Pattern (Kubernetes-inspired)\n\nRun status management follows a K8s-style controller pattern. The reconciler loop lives in `scripts\u002F` and is shared by the scheduler and CI record-run script:\n\n### Core Library (`scripts\u002Flib\u002F`)\n\n- **`reconciler.mjs`** — Base `Reconciler` class with `start()`\u002F`stop()`\u002F`reconcile()` loop; `ResourceReconciler` for list-reconcile workloads. Each tick calls `reconcile()` which should read current state, diff against desired, and take corrective action.\n- **`runStatus.mjs`** — Run conditions (`Dispatched`, `WorkflowRunning`, `Completed`, `Passed`) with `True`\u002F`False`\u002F`Unknown` status. `deriveRunStatus()` computes overall run status from conditions (`PENDING`|`RUNNING`|`PASS`|`FAIL`|`ERROR`). Includes GC pass to mark stale `RUNNING` entries as `ERROR`.\n- **`ghApi.mjs`** — Facade over `gh` CLI for `listWorkflowRuns()`, `getWorkflowRun()`, `dispatchWorkflow()`, `findLatestDispatch()`. Treats workflow runs as resources with status.\n\n### Controller Scripts\n\n- **`scripts\u002Fscheduler.mjs`** — Main controller with phases: **Reconcile** (poll GH for running workflows) → **Cron** (evaluate suite schedules) → **Dispatch** (trigger `run-tests.yml` for due suites × environments) → **GC** (stale cleanup) → **Persist** (commit `runs.json` + `scheduler-status.json` to `data` branch).\n- **`scripts\u002Frecord-run.mjs`** — Called by CI after test execution (via env vars `AWARE_SUITE`, `AWARE_ENV`, `PASS_PCT`, `DURATION_MS`, etc.). Updates or creates runs with full conditions using `completeRunConditions()` and writes back to `runs.json`.\n- **Run types** include `conditions?: RunCondition[]` and `workflowRunId?: number`. All runs use conditions even outside the scheduler for consistent tracking.\n\nFlow: `scheduler.mjs` (reconciler) dispatches GH workflow → `run-tests.yml` runs tests → `record-run.mjs` records result with conditions → scheduler poll phase picks up completed status → GC cleans stale entries >24h.\n\n## Notifications\n```yaml\nnotifications:\n  slack:\n    channel: \"#cdn-alerts\"\n    notifyOn: [fail, regression]\n  githubChecks:\n    requiredForMerge: true\n  pagerduty:\n    triggerOn: [prod_prod_fail, pass_rate_below_80]\n```\n\n## Test Runner Configs\n```yaml\nplaywright:\n  version: \"^1.60.0\"\n  browser: chromium\n  headless: true\n  baseTimeout: 30000\n  retries: 2\n  workers: 4\n\npytest:\n  version: \"^8.0\"\n  markers: [smoke, regression, edgeworker, performance]\n  timeout: 60\n  workers: 4\n```\n\n## CI Pipeline Page (`\u002Fci-pipeline`)\n- Component: `src\u002Fpages\u002FStatus.tsx`\n- Shows: current run status, suite list, environment health\n- Download button calls `downloadCiConfig()` to get the auto-generated YAML\n- `CiConfigBanner.tsx` shows setup instructions for first-time users\n\n## When to Use This Skill\n- Modifying the GitHub Actions workflow\n- Adding or changing suite schedules\n- Implementing or modifying the promotion gate\n- Working on the CI Pipeline page or CiConfig generation\n- Debugging CI failures or misconfigured suites\n- Adding new test runner support\n\n## Files to Read First\n1. `.github\u002Fworkflows\u002Frun-tests.yml` — the actual workflow\n2. `config\u002Ftest-suites.yml` — suite definitions and schedules\n3. `artifacts\u002Faware-app\u002Fsrc\u002Flib\u002FciConfig.ts` — config generation logic\n4. `artifacts\u002Faware-app\u002Fsrc\u002Fpages\u002FStatus.tsx` — CI Pipeline UI page\n","# AWARE CI\u002FCD Expert\n\n## Role\nYou are the CI\u002FCD pipeline expert for the AWARE project. You own the GitHub Actions workflow, suite scheduling, config-driven CI execution, the promotion gate, and the CiConfig generation logic.\n\n## CI Stack\n- **CI Platform**: GitHub Actions\n- **Workflow file**: `.github\u002Fworkflows\u002Frun-tests.yml`\n- **Test runners**: Playwright 1.60 (browser) + pytest 8.0 (API\u002FEdgeWorker)\n- **Trigger**: manual dispatch + automated schedules (cron)\n- **Config source**: `config\u002Fenvironments.yml`, `config\u002Ftest-suites.yml`, `config\u002Fakamai-config.yml`\n\n## Dispatching Runs\n```bash\ngh workflow run run-tests.yml \\\n  --field suite=suite_smoke \\\n  --field environment=QA \\\n  --field parallelism=4\n```\n\n## Suite Schedules\n| Suite ID | Schedule | Networks |\n|----------|---------|---------|\n| `suite_smoke` | On every deployment | All 6 envs |\n| `suite_regression_qa` | `0 *\u002F2 * * *` (every 2h) | QA Staging + QA Production |\n| `suite_regression_uat` | `0 6 * * *` (06:00 UTC) | UAT Staging + UAT Production |\n| `suite_nightly_prod` | `0 2 * * *` (02:00 UTC) | PROD Staging + PROD Production |\n| `suite_edgeworker` | On EdgeWorker deploy | QA + UAT Staging only |\n| `suite_performance` | `0 4 * * 1` (Mon 04:00 UTC) | QA\u002FUAT\u002FPROD Production only |\n\n## Parallelism Settings\n| Suite | Workers |\n|-------|---------|\n| `suite_smoke` | 4 |\n| `suite_regression_qa` | 8 |\n| `suite_regression_uat` | 6 |\n| `suite_nightly_prod` | 4 |\n| `suite_edgeworker` | 4 |\n| `suite_performance` | 2 |\n\n## Promotion Gate Logic\n```yaml\npromotionGate:\n  minPassRate: 95\n  requiredSuites: [suite_smoke, suite_regression_uat]\n```\n- UAT regression (both networks) must hit ≥ 95% pass rate\n- `PromotionDecision.decision` = `\"promote\"` | `\"block\"` | `\"pending\"`\n- Implemented in `src\u002Flib\u002Fpromotions.ts`\n- Shown on the CI Pipeline page and Dashboard\n\n## CiConfig Generation (`src\u002Flib\u002FciConfig.ts`)\n`generateCiConfig()` reads live app state and produces a `CiConfig` object:\n- Reads `getTestSuites()`, `getTestCases()`, `getEnvConfigs()`\n- Maps test types to runners (pytest or playwright)\n- `generateCiConfigYaml()` serializes to YAML with embedded instructions\n- `downloadCiConfig()` triggers browser download as `aware-test-config-\u003Cdate>.yml`\n\n## Scheduler \u002F Reconciler Pattern (Kubernetes-inspired)\n\nRun status management follows a K8s-style controller pattern. The reconciler loop lives in `scripts\u002F` and is shared by the scheduler and CI record-run script:\n\n### Core Library (`scripts\u002Flib\u002F`)\n\n- **`reconciler.mjs`** — Base `Reconciler` class with `start()`\u002F`stop()`\u002F`reconcile()` loop; `ResourceReconciler` for list-reconcile workloads. Each tick calls `reconcile()` which should read current state, diff against desired, and take corrective action.\n- **`runStatus.mjs`** — Run conditions (`Dispatched`, `WorkflowRunning`, `Completed`, `Passed`) with `True`\u002F`False`\u002F`Unknown` status. `deriveRunStatus()` computes overall run status from conditions (`PENDING`|`RUNNING`|`PASS`|`FAIL`|`ERROR`). Includes GC pass to mark stale `RUNNING` entries as `ERROR`.\n- **`ghApi.mjs`** — Facade over `gh` CLI for `listWorkflowRuns()`, `getWorkflowRun()`, `dispatchWorkflow()`, `findLatestDispatch()`. Treats workflow runs as resources with status.\n\n### Controller Scripts\n\n- **`scripts\u002Fscheduler.mjs`** — Main controller with phases: **Reconcile** (poll GH for running workflows) → **Cron** (evaluate suite schedules) → **Dispatch** (trigger `run-tests.yml` for due suites × environments) → **GC** (stale cleanup) → **Persist** (commit `runs.json` + `scheduler-status.json` to `data` branch).\n- **`scripts\u002Frecord-run.mjs`** — Called by CI after test execution (via env vars `AWARE_SUITE`, `AWARE_ENV`, `PASS_PCT`, `DURATION_MS`, etc.). Updates or creates runs with full conditions using `completeRunConditions()` and writes back to `runs.json`.\n- **Run types** include `conditions?: RunCondition[]` and `workflowRunId?: number`. All runs use conditions even outside the scheduler for consistent tracking.\n\nFlow: `scheduler.mjs` (reconciler) dispatches GH workflow → `run-tests.yml` runs tests → `record-run.mjs` records result with conditions → scheduler poll phase picks up completed status → GC cleans stale entries >24h.\n\n## Notifications\n```yaml\nnotifications:\n  slack:\n    channel: \"#cdn-alerts\"\n    notifyOn: [fail, regression]\n  githubChecks:\n    requiredForMerge: true\n  pagerduty:\n    triggerOn: [prod_prod_fail, pass_rate_below_80]\n```\n\n## Test Runner Configs\n```yaml\nplaywright:\n  version: \"^1.60.0\"\n  browser: chromium\n  headless: true\n  baseTimeout: 30000\n  retries: 2\n  workers: 4\n\npytest:\n  version: \"^8.0\"\n  markers: [smoke, regression, edgeworker, performance]\n  timeout: 60\n  workers: 4\n```\n\n## CI Pipeline Page (`\u002Fci-pipeline`)\n- Component: `src\u002Fpages\u002FStatus.tsx`\n- Shows: current run status, suite list, environment health\n- Download button calls `downloadCiConfig()` to get the auto-generated YAML\n- `CiConfigBanner.tsx` shows setup instructions for first-time users\n\n## When to Use This Skill\n- Modifying the GitHub Actions workflow\n- Adding or changing suite schedules\n- Implementing or modifying the promotion gate\n- Working on the CI Pipeline page or CiConfig generation\n- Debugging CI failures or misconfigured suites\n- Adding new test runner support\n\n## Files to Read First\n1. `.github\u002Fworkflows\u002Frun-tests.yml` — the actual workflow\n2. `config\u002Ftest-suites.yml` — suite definitions and schedules\n3. `artifacts\u002Faware-app\u002Fsrc\u002Flib\u002FciConfig.ts` — config generation logic\n4. `artifacts\u002Faware-app\u002Fsrc\u002Fpages\u002FStatus.tsx` — CI Pipeline UI page\n",{"name":5,"description":7},"main","6184979e01f673905139589c194eab38198db2f7",".agents\u002Fskills\u002Faware-cicd-expert",1,"https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE","https:\u002F\u002Fruake.github.io\u002FAWARE","https:\u002F\u002Fgithub.com\u002Fruake","2026-11-15 04:27:27",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ruake\u002FAWARE --skill aware-cicd-expert",{"tool":37,"command":38},"bunx","bunx skills add ruake\u002FAWARE --skill aware-cicd-expert",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ruake\u002FAWARE --skill aware-cicd-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Faware-cicd-expert\u002FSKILL.md",true,[],[46,52,59,66,73,79],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M75BPBYT89TEE87CGBDX2KF5","xlsx","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fxlsx\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M75BPA000S9MTH5MY7CZNYYQ","writing-plans","Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste.","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M75BP80ETH9GYVRH8A7QPCSG","web-design-guidelines","Review files for compliance with Web Interface Guidelines.","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-design-guidelines\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M75BP5XG8SX5Q2WWZB6QRVFT","web-component-design","Build reusable, maintainable UI components using modern frameworks with clean composition patterns and styling approache","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-component-design\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M75BP4B1FC4V81QR1VB56H1E","web-artifacts-builder","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M75BP1XVRW8WQ2XXAJBAYV2V","vueuse-functions","This skill is a decision-and-implementation guide for VueUse composables in Vue.js \u002F Nuxt projects. It maps requirements","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvueuse-functions\u002FSKILL.md",[],[]]