[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75BAW737900HGVHGS0ZTG16":3,"skill-same:01M75BAW737900HGVHGS0ZTG16":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":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M75BAW737900HGVHGS0ZTG16","validate-loop",null,"Runs the full validation pipeline — typecheck, lint, format, data validation, unit tests, test discovery, and build — in a loop until all checks pass or the user triages 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\u002Fvalidate-loop\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: validate-loop\ndescription: Runs the full validation pipeline — typecheck, lint, format, data validation, unit tests, test discovery, and build — in a loop until all checks pass or the user triages failures.\nlicense: MIT\nmetadata:\n  author: ruake\n  version: \"1.0.0\"\n  domain: ci-cd\n  triggers: validate, verify, lint, typecheck, build, test, format, pre-commit, pre-push\n  role: specialist\n  scope: implementation\n  output-format: terminal\n---\n\n# Validate Loop\n\nValidation automation for the AWARE project. Runs the full check suite and loops on failure, letting the agent fix issues and re-run.\n\n## When to use\n\nUse this skill when:\n- Asked to \"validate\", \"verify\", \"run checks\", \"run the validation loop\"\n- About to commit or push — run the full pipeline first\n- Fixing CI failures — reproduce locally\n- After making changes to data files, types, components, or tests\n\n## Required project context\n\n- Working directory: `artifacts\u002Faware-app`\n- Package manager: `pnpm` (v10.26.1)\n- Key scripts (from `package.json`):\n\n| Script | Command | Purpose |\n|---|---|---|\n| `validate:data` | `node scripts\u002Fvalidate-data.mjs` | JSON schema contract validation |\n| `typecheck` | `tsc -p tsconfig.json --noEmit` | TypeScript type checking |\n| `lint` | `eslint src\u002F` | ESLint static analysis |\n| `format` | `prettier --check ...` | Prettier formatting check |\n| `test` | `vitest run` | Unit tests (vitest) |\n| `discover:tests` | `node scripts\u002Fdiscover-all.mjs` | Auto-discover pytest\u002FPlaywright\u002FPuppeteer\u002FHTTP tests |\n| `build` | `vite build` | Production build (auto-runs `validate:data`) |\n| `verify` | typecheck + lint + format + test | Quick pre-commit check |\n\n## Instructions\n\n### Execution order\n\nRun these steps **in order**. Stop at the first failure, fix it, then restart the loop from step 1.\n\n1. **Data validation** — `pnpm validate:data`\n   - Checks every JSON data file against its schema\n   - Cross-references IDs between files\n   - If this fails, inspect the error output and fix the malformed data or schema\n2. **TypeScript typecheck** — `pnpm run typecheck`\n   - Full project type checking with `tsc --noEmit`\n   - If this fails, fix type errors (missing imports, incorrect types, etc.)\n3. **Lint** — `pnpm run lint`\n   - ESLint check on `src\u002F`\n   - If this fails, auto-fix with `pnpm run lint:fix` when safe, then re-run lint\n4. **Format** — `pnpm run format`\n   - Prettier check on source files\n   - If this fails, auto-fix with `pnpm run format:fix`, then re-run format\n5. **Unit tests** — `pnpm test`\n   - Vitest runner\n   - If this fails, read the test output to identify the failing test, fix the code, re-run\n6. **Test discovery** — `pnpm discover:tests`\n   - Regenerates `auto-tests.json` from pytest\u002FPlaywright\u002FPuppeteer\u002FHTTP sources\n   - If this fails, check the individual discovery scripts for parse errors\n7. **Build** — `pnpm build`\n   - Vite production build (prebuild hook runs `validate:data` automatically)\n   - If this fails, check Vite\u002FTypeScript errors in build output\n\n### Loop behavior\n\n- After fixing any failure, **restart from step 1**, not from the failed step\n- Keep a counter of iterations; if the loop exceeds 5 iterations without full pass, prompt the user to triage manually\n- Report each step result clearly: `✅ pnpm validate:data` or `❌ pnpm run typecheck`\n- On full pass, print a summary:\n\n```\n✅ Validation loop complete (X iterations)\n   - validate:data  ✅\n   - typecheck      ✅\n   - lint           ✅\n   - format         ✅\n   - test           ✅\n   - discover:tests ✅\n   - build          ✅\n```\n\n### Partial \u002F quick variants\n\n| Request | Steps to run |\n|---|---|\n| \"quick check\" or \"verify\" | typecheck + lint + format + test (same as `pnpm run verify`) |\n| \"validate data only\" | `validate:data` only |\n| \"pre-commit check\" | validate:data + typecheck + lint + format |\n| \"full validation\" | All 7 steps |\n\n### Error handling\n\n- If a command is not found, install dependencies first with `pnpm install`\n- If a step produces warnings but no errors, continue to the next step\n- If the same step fails twice in a row with the same error, stop the loop and show the error to the user — automatic retry is not helping\n- If `build` fails due to a pre-existing issue unrelated to current changes, note it and ask the user whether to proceed\n","# Validate Loop\n\nValidation automation for the AWARE project. Runs the full check suite and loops on failure, letting the agent fix issues and re-run.\n\n## When to use\n\nUse this skill when:\n- Asked to \"validate\", \"verify\", \"run checks\", \"run the validation loop\"\n- About to commit or push — run the full pipeline first\n- Fixing CI failures — reproduce locally\n- After making changes to data files, types, components, or tests\n\n## Required project context\n\n- Working directory: `artifacts\u002Faware-app`\n- Package manager: `pnpm` (v10.26.1)\n- Key scripts (from `package.json`):\n\n| Script | Command | Purpose |\n|---|---|---|\n| `validate:data` | `node scripts\u002Fvalidate-data.mjs` | JSON schema contract validation |\n| `typecheck` | `tsc -p tsconfig.json --noEmit` | TypeScript type checking |\n| `lint` | `eslint src\u002F` | ESLint static analysis |\n| `format` | `prettier --check ...` | Prettier formatting check |\n| `test` | `vitest run` | Unit tests (vitest) |\n| `discover:tests` | `node scripts\u002Fdiscover-all.mjs` | Auto-discover pytest\u002FPlaywright\u002FPuppeteer\u002FHTTP tests |\n| `build` | `vite build` | Production build (auto-runs `validate:data`) |\n| `verify` | typecheck + lint + format + test | Quick pre-commit check |\n\n## Instructions\n\n### Execution order\n\nRun these steps **in order**. Stop at the first failure, fix it, then restart the loop from step 1.\n\n1. **Data validation** — `pnpm validate:data`\n   - Checks every JSON data file against its schema\n   - Cross-references IDs between files\n   - If this fails, inspect the error output and fix the malformed data or schema\n2. **TypeScript typecheck** — `pnpm run typecheck`\n   - Full project type checking with `tsc --noEmit`\n   - If this fails, fix type errors (missing imports, incorrect types, etc.)\n3. **Lint** — `pnpm run lint`\n   - ESLint check on `src\u002F`\n   - If this fails, auto-fix with `pnpm run lint:fix` when safe, then re-run lint\n4. **Format** — `pnpm run format`\n   - Prettier check on source files\n   - If this fails, auto-fix with `pnpm run format:fix`, then re-run format\n5. **Unit tests** — `pnpm test`\n   - Vitest runner\n   - If this fails, read the test output to identify the failing test, fix the code, re-run\n6. **Test discovery** — `pnpm discover:tests`\n   - Regenerates `auto-tests.json` from pytest\u002FPlaywright\u002FPuppeteer\u002FHTTP sources\n   - If this fails, check the individual discovery scripts for parse errors\n7. **Build** — `pnpm build`\n   - Vite production build (prebuild hook runs `validate:data` automatically)\n   - If this fails, check Vite\u002FTypeScript errors in build output\n\n### Loop behavior\n\n- After fixing any failure, **restart from step 1**, not from the failed step\n- Keep a counter of iterations; if the loop exceeds 5 iterations without full pass, prompt the user to triage manually\n- Report each step result clearly: `✅ pnpm validate:data` or `❌ pnpm run typecheck`\n- On full pass, print a summary:\n\n```\n✅ Validation loop complete (X iterations)\n   - validate:data  ✅\n   - typecheck      ✅\n   - lint           ✅\n   - format         ✅\n   - test           ✅\n   - discover:tests ✅\n   - build          ✅\n```\n\n### Partial \u002F quick variants\n\n| Request | Steps to run |\n|---|---|\n| \"quick check\" or \"verify\" | typecheck + lint + format + test (same as `pnpm run verify`) |\n| \"validate data only\" | `validate:data` only |\n| \"pre-commit check\" | validate:data + typecheck + lint + format |\n| \"full validation\" | All 7 steps |\n\n### Error handling\n\n- If a command is not found, install dependencies first with `pnpm install`\n- If a step produces warnings but no errors, continue to the next step\n- If the same step fails twice in a row with the same error, stop the loop and show the error to the user — automatic retry is not helping\n- If `build` fails due to a pre-existing issue unrelated to current changes, note it and ask the user whether to proceed\n",{"name":5,"license":14,"metadata":23,"description":7},{"role":24,"scope":25,"author":9,"domain":26,"version":27,"triggers":28,"output-format":29},"specialist","implementation","ci-cd","1.0.0","validate, verify, lint, typecheck, build, test, format, pre-commit, pre-push","terminal","main","6184979e01f673905139589c194eab38198db2f7",".agents\u002Fskills\u002Fvalidate-loop",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":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add ruake\u002FAWARE --skill validate-loop",{"tool":44,"command":45},"bunx","bunx skills add ruake\u002FAWARE --skill validate-loop",{"tool":47,"command":48},"pnpm","pnpm dlx skills add ruake\u002FAWARE --skill validate-loop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvalidate-loop\u002FSKILL.md",true,[],[53,59,66,73,80,86],{"skillNo":54,"name":55,"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":56,"categories":57,"keywords":58,"publishedAt":18},"01M75BPBYT89TEE87CGBDX2KF5","xlsx","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fxlsx\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},"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":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},"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":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"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":83,"categories":84,"keywords":85,"publishedAt":18},"01M75BP4B1FC4V81QR1VB56H1E","web-artifacts-builder","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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",[],[]]