[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75AXKZJ9WXHC3N0Q75ECNN7":3,"skill-same:01M75AXKZJ9WXHC3N0Q75ECNN7":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},"01M75AXKZJ9WXHC3N0Q75ECNN7","aware-data-expert",null,"Expert in seed JSON data, TypeScript type definitions, in-memory stores (pub\u002Fsub), localStorage persistence, flakiness computation, and data validation. Use when modifying data types, seed JSON, stores, run history, flakiness scores, or diff computation.","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-data-expert\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: aware-data-expert\ndescription: Expert in seed JSON data, TypeScript type definitions, in-memory stores (pub\u002Fsub), localStorage persistence, flakiness computation, and data validation. Use when modifying data types, seed JSON, stores, run history, flakiness scores, or diff computation.\n---\n\n# AWARE Data Expert\n\n## Role\nYou are the AWARE data layer expert. You own all data access patterns, seed JSON files, TypeScript data types, in-memory stores, localStorage persistence, and the subscription\u002Freactivity model.\n\n## Project Context\n- **Types**: `src\u002Flib\u002Ftypes.ts` — all interfaces (Run, TestResult, TestCase, TestSuite, DiffRow, PromotionDecision, Job, AnomalyScore, LLM types, etc.)\n- **Runs data**: `src\u002Flib\u002Fruns.ts` — RUNS[], DIFF_ROWS[], TEST_DETAILS[], chart data exports, flakiness computation\n- **CRUD data**: `src\u002Flib\u002Fdata.ts` — getTestCases\u002FsaveTestCases, getTestSuites\u002FsaveTestSuites, subscription model\n- **Seed JSON**: `data\u002Fruns.json`, `test-results.json`, `test-suites.json`, `auto-tests.json`, `diff-rows.json`, `promotions.json`\n- **Validation**: `data\u002Fschemas\u002Ftest-results.schema.json`, `scripts\u002Fvalidate-data.mjs`\n\n## Runtime-Fetch Data Strategy\n\nAll seed data ships as JSON files in `data\u002F` but is **fetched at runtime** — never statically imported. In production, data is fetched from `raw.githubusercontent.com\u002Fruake\u002FAWARE\u002Fdata\u002F` (`data` branch); in dev, Vite serves it from `\u002Fdata\u002F`. There is no backend.\n\n### Data Fetching Pipeline\n\n- **`src\u002Flib\u002FdataFetcher.ts`** — `fetchJson\u003CT>(path)` resolves URLs: dev uses `import.meta.env.BASE_URL + \"\u002Fdata\u002F\"`, production uses `https:\u002F\u002Fraw.githubusercontent.com\u002Fruake\u002FAWARE\u002Fdata\u002F`. Single entry point for all runtime data access.\n- **`src\u002Flib\u002FinitData.ts`** — `loadAllData()` is the orchestration entry point, called in `App.tsx` before rendering via a `DataGate` loading component. Fires parallel `Promise.all` for all data modules.\n- **Each data module** (`runs.ts`, `testSuites.ts`, `promotions.ts`, `schedulerStatus.ts`, `testDiscovery.ts`) exposes both:\n  - A synchronous getter (`getXxx()`) returning the current (initially empty) state\n  - An async `loadXxx()` that fetches from GitHub and populates the in-memory store\n- `RUNS` and `DIFF_ROWS` in `runs.ts` are `let` bindings reassigned after fetch.\n- `_snapshot` caching in stores provides stable references for `useSyncExternalStore`.\n- Changes to user-created\u002Fmodified entities are persisted via localStorage (keys: `aware-env-configs-v3`, `aware_test_cases_v2`).\n\n### Key Data Access Patterns\n\n#### Read-Only Run Data (runs.ts)\n```ts\nimport { RUNS, getRunById, getTestResultsForRun, ENV_SUMMARY, PASS_RATE_CHART } from \"@\u002Flib\u002Fruns\"\n```\n- `RUNS` — full list of CI runs\n- `getRunById(id)` — single run lookup\n- `getTestResultsForRun(runId)` — TestResult[] for a run\n- `ENV_SUMMARY` — per-env aggregated stats\n- `ENV_PASS_RATE_CHART` — area chart data (keyed by day, env columns)\n- `computeRunFrequency()` — cadence analytics\n\n#### Mutable Stores (data.ts)\n```ts\nimport { getTestCases, saveTestCases, subscribeToTestCases } from \"@\u002Flib\u002Fdata\"\n\n\u002F\u002F Subscribe to changes:\nconst unsub = subscribeToTestCases(() => setTests(getTestCases()))\nreturn unsub  \u002F\u002F call in useEffect cleanup\n```\n\n## Critical Type Rules\n- `Run.env` field = `\"QA\"` | `\"UAT\"` | `\"PROD\"` — not \"production\"\u002F\"staging\" (those are legacy)\n- `TestResult.evidence` is REQUIRED — never omit it in generated\u002Fseed data\n- `TestResult.assertions` should be an empty array if no assertions, not undefined\n- `DiffRow.state` options: `\"regression\"` | `\"fixed\"` | `\"duration\"` | `\"unchanged\"` | `\"fishy\"`\n\n## Flakiness Formula\n```\nflakinessScore = (status_flips \u002F (total_runs - 1)) * 100\n```\nScore > 20 = concerning; computed in `computeTestDetails()` and `computeTestDetailForName(name)`\n\n## ENV_COLOR_MAP Colors\n| Env | Color |\n|-----|-------|\n| QA | #a855f7 (purple) |\n| UAT | #f59e0b (amber) |\n| PROD | #22c55e (green) |\nBoth short forms (`\"QA\"`) and long forms (`\"QA \u002F Staging\"`) are in the map.\n\n## Data Validation Workflow\n```bash\nnode scripts\u002Fvalidate-data.mjs   # validates test-results.json against schema\nnode scripts\u002Fgenerate-data.mjs   # regenerates seed data from templates\nnode scripts\u002Fdiscover-all.mjs    # discovers tests and updates auto-tests.json\n```\n`validate-data.mjs` runs automatically as a prebuild step — the build fails on schema violations.\n\n## When to Use This Skill\n- Adding or modifying seed JSON data\n- Changing TypeScript data types\u002Finterfaces\n- Implementing new data access functions or stores\n- Fixing data shape mismatches between components and stores\n- Working with run history, flakiness scores, or diff computation\n- Implementing import\u002Fexport features (testImportExport.ts)\n\n## Files to Read First\n1. `artifacts\u002Faware-app\u002Fsrc\u002Flib\u002Ftypes.ts` — all type definitions\n2. `artifacts\u002Faware-app\u002Fsrc\u002Flib\u002Fruns.ts` — run data module\n3. `artifacts\u002Faware-app\u002Fsrc\u002Flib\u002Fdata.ts` — mutable store pattern\n4. `artifacts\u002Faware-app\u002Fdata\u002Fruns.json` — sample of seed data shape\n","# AWARE Data Expert\n\n## Role\nYou are the AWARE data layer expert. You own all data access patterns, seed JSON files, TypeScript data types, in-memory stores, localStorage persistence, and the subscription\u002Freactivity model.\n\n## Project Context\n- **Types**: `src\u002Flib\u002Ftypes.ts` — all interfaces (Run, TestResult, TestCase, TestSuite, DiffRow, PromotionDecision, Job, AnomalyScore, LLM types, etc.)\n- **Runs data**: `src\u002Flib\u002Fruns.ts` — RUNS[], DIFF_ROWS[], TEST_DETAILS[], chart data exports, flakiness computation\n- **CRUD data**: `src\u002Flib\u002Fdata.ts` — getTestCases\u002FsaveTestCases, getTestSuites\u002FsaveTestSuites, subscription model\n- **Seed JSON**: `data\u002Fruns.json`, `test-results.json`, `test-suites.json`, `auto-tests.json`, `diff-rows.json`, `promotions.json`\n- **Validation**: `data\u002Fschemas\u002Ftest-results.schema.json`, `scripts\u002Fvalidate-data.mjs`\n\n## Runtime-Fetch Data Strategy\n\nAll seed data ships as JSON files in `data\u002F` but is **fetched at runtime** — never statically imported. In production, data is fetched from `raw.githubusercontent.com\u002Fruake\u002FAWARE\u002Fdata\u002F` (`data` branch); in dev, Vite serves it from `\u002Fdata\u002F`. There is no backend.\n\n### Data Fetching Pipeline\n\n- **`src\u002Flib\u002FdataFetcher.ts`** — `fetchJson\u003CT>(path)` resolves URLs: dev uses `import.meta.env.BASE_URL + \"\u002Fdata\u002F\"`, production uses `https:\u002F\u002Fraw.githubusercontent.com\u002Fruake\u002FAWARE\u002Fdata\u002F`. Single entry point for all runtime data access.\n- **`src\u002Flib\u002FinitData.ts`** — `loadAllData()` is the orchestration entry point, called in `App.tsx` before rendering via a `DataGate` loading component. Fires parallel `Promise.all` for all data modules.\n- **Each data module** (`runs.ts`, `testSuites.ts`, `promotions.ts`, `schedulerStatus.ts`, `testDiscovery.ts`) exposes both:\n  - A synchronous getter (`getXxx()`) returning the current (initially empty) state\n  - An async `loadXxx()` that fetches from GitHub and populates the in-memory store\n- `RUNS` and `DIFF_ROWS` in `runs.ts` are `let` bindings reassigned after fetch.\n- `_snapshot` caching in stores provides stable references for `useSyncExternalStore`.\n- Changes to user-created\u002Fmodified entities are persisted via localStorage (keys: `aware-env-configs-v3`, `aware_test_cases_v2`).\n\n### Key Data Access Patterns\n\n#### Read-Only Run Data (runs.ts)\n```ts\nimport { RUNS, getRunById, getTestResultsForRun, ENV_SUMMARY, PASS_RATE_CHART } from \"@\u002Flib\u002Fruns\"\n```\n- `RUNS` — full list of CI runs\n- `getRunById(id)` — single run lookup\n- `getTestResultsForRun(runId)` — TestResult[] for a run\n- `ENV_SUMMARY` — per-env aggregated stats\n- `ENV_PASS_RATE_CHART` — area chart data (keyed by day, env columns)\n- `computeRunFrequency()` — cadence analytics\n\n#### Mutable Stores (data.ts)\n```ts\nimport { getTestCases, saveTestCases, subscribeToTestCases } from \"@\u002Flib\u002Fdata\"\n\n\u002F\u002F Subscribe to changes:\nconst unsub = subscribeToTestCases(() => setTests(getTestCases()))\nreturn unsub  \u002F\u002F call in useEffect cleanup\n```\n\n## Critical Type Rules\n- `Run.env` field = `\"QA\"` | `\"UAT\"` | `\"PROD\"` — not \"production\"\u002F\"staging\" (those are legacy)\n- `TestResult.evidence` is REQUIRED — never omit it in generated\u002Fseed data\n- `TestResult.assertions` should be an empty array if no assertions, not undefined\n- `DiffRow.state` options: `\"regression\"` | `\"fixed\"` | `\"duration\"` | `\"unchanged\"` | `\"fishy\"`\n\n## Flakiness Formula\n```\nflakinessScore = (status_flips \u002F (total_runs - 1)) * 100\n```\nScore > 20 = concerning; computed in `computeTestDetails()` and `computeTestDetailForName(name)`\n\n## ENV_COLOR_MAP Colors\n| Env | Color |\n|-----|-------|\n| QA | #a855f7 (purple) |\n| UAT | #f59e0b (amber) |\n| PROD | #22c55e (green) |\nBoth short forms (`\"QA\"`) and long forms (`\"QA \u002F Staging\"`) are in the map.\n\n## Data Validation Workflow\n```bash\nnode scripts\u002Fvalidate-data.mjs   # validates test-results.json against schema\nnode scripts\u002Fgenerate-data.mjs   # regenerates seed data from templates\nnode scripts\u002Fdiscover-all.mjs    # discovers tests and updates auto-tests.json\n```\n`validate-data.mjs` runs automatically as a prebuild step — the build fails on schema violations.\n\n## When to Use This Skill\n- Adding or modifying seed JSON data\n- Changing TypeScript data types\u002Finterfaces\n- Implementing new data access functions or stores\n- Fixing data shape mismatches between components and stores\n- Working with run history, flakiness scores, or diff computation\n- Implementing import\u002Fexport features (testImportExport.ts)\n\n## Files to Read First\n1. `artifacts\u002Faware-app\u002Fsrc\u002Flib\u002Ftypes.ts` — all type definitions\n2. `artifacts\u002Faware-app\u002Fsrc\u002Flib\u002Fruns.ts` — run data module\n3. `artifacts\u002Faware-app\u002Fsrc\u002Flib\u002Fdata.ts` — mutable store pattern\n4. `artifacts\u002Faware-app\u002Fdata\u002Fruns.json` — sample of seed data shape\n",{"name":5,"description":7},"main","6184979e01f673905139589c194eab38198db2f7",".agents\u002Fskills\u002Faware-data-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-data-expert",{"tool":37,"command":38},"bunx","bunx skills add ruake\u002FAWARE --skill aware-data-expert",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ruake\u002FAWARE --skill aware-data-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Faware-data-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",[],[]]