[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HR1SX3RAK5MEABTZYYEDV1":3,"skill-same:01M6HR1SX3RAK5MEABTZYYEDV1":72},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6HR1SX3RAK5MEABTZYYEDV1","repo-verify",null,"Discover every registry hard skill (and which run in check:all), then run the full repo verification pipeline — preferring package.json verify, else TypeScript, lint, format check, test:coverage (or test), check:all, build. Uses hard\u002F.no-auto-run; invoke via npm run repo-verify, not as part of check:all.","midyan\u002Fskissue","midyan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13965184?v=4","01M6HR129RJC96XEWYHVR936QW","Yan Nunes","01M6HR12DGZWQT00J351M1HZB3",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Frepo-verify\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"repo","repo verify","verify","check","test","which","via","as","discover","build","auto","coverage","lint","typescript","format","json","run","pipeline","package","verification","2026-11-10 10:12:30",false,"---\nname: repo-verify\ndescription: Discover every registry hard skill (and which run in check:all), then run the full repo verification pipeline — preferring package.json verify, else TypeScript, lint, format check, test:coverage (or test), check:all, build. Uses hard\u002F.no-auto-run; invoke via npm run repo-verify, not as part of check:all.\n---\n\n# repo-verify\n\n**Meta verification** for repositories that use this registry pattern:\n\n1. **Discover** — scan `registry\u002F*\u002Fhard\u002Findex.ts` and report which skills are included in **`npm run check:all`** (via `registry\u002Frunner.ts`) vs excluded by **`hard\u002F.no-auto-run`**.\n2. **Plan** — if **`package.json`** defines **`scripts.verify`**, use that as the single source of truth for static checks, tests with coverage, harness, and build. Otherwise run a **fallback chain**: `tsc --noEmit` (when `tsconfig.json` exists), then `lint`, `format:check`, **`test:coverage`** if defined else **`test`**, `check:all`, `build` — only for scripts that exist.\n3. **Execute** — run the plan (unless `--plan` \u002F `--dry-run`).\n\nThis skill does **not** replace individual validators; it **orchestrates** them so agents and humans have one entry point that matches CI when `verify` is defined.\n\n## CI and local gate\n\nRun the full pipeline before sharing commits: **`npm run verify`**, or **`npm run repo-verify`** when you want the **discovery table** plus the same run (this registry defines both).\n\n## Git hooks: run verification on `pre-push`\n\n**Agents should configure Husky `pre-push`** so the repo-verify \u002F verify pipeline runs automatically before **`git push`**, not only when invoked manually or from **`pre-commit`**.\n\n| Hook           | Typical use                                                                               |\n| -------------- | ----------------------------------------------------------------------------------------- |\n| **pre-commit** | Fast, commit-local steps (formatters, **`update-skill-checksums`**, lint-staged)          |\n| **pre-push**   | Full gate: **`npm run repo-verify`** (or **`npm run verify`** if `repo-verify` is absent) |\n\n**Setup (Husky already installed with a `prepare` script):**\n\n1. Add an executable **`.husky\u002Fpre-push`** at the repo root.\n2. Run **`npm run repo-verify`** when **`package.json`** defines **`scripts.repo-verify`**; otherwise run **`npm run verify`** (or the closest aggregate your project uses).\n\nExample **`.husky\u002Fpre-push`**:\n\n```sh\n#!\u002Fusr\u002Fbin\u002Fenv sh\nset -eu\nnpm run repo-verify\n```\n\nIf the project has no **`repo-verify`** script, use:\n\n```sh\n#!\u002Fusr\u002Fbin\u002Fenv sh\nset -eu\nnpm run verify\n```\n\n**Why `pre-push`:** **`repo-verify`** can be slower than a minimal **`pre-commit`** (discovery + tests + coverage + **`check:all`**). Blocking **push** catches CI failures before the remote updates while keeping commits lightweight.\n\n**If adding this hook in a repo that lacks it:** create the file, **`chmod +x .husky\u002Fpre-push`**, and confirm **`git push`** triggers the script (a failing step must exit non-zero so the push aborts).\n\n## When to use\n\n- Before a PR or release when you want **everything** (not only `check:all`).\n- When onboarding: see which hard skills exist and which are in the default harness runner.\n- After adding a new **`registry\u002F\u003Cid>\u002Fhard\u002F`** skill — confirm it appears in discovery output.\n\n## Invocation\n\n```bash\nnpm run repo-verify\nnpx tsx registry\u002Frepo-verify\u002Fhard\u002Findex.ts\n```\n\n| Flag                          | Meaning                                      |\n| ----------------------------- | -------------------------------------------- |\n| `--plan`, `-n`, `--dry-run`   | Print what would run; do not execute         |\n| `--discover`, `--list-skills` | Only print the skill discovery table; exit 0 |\n\n## Why `hard\u002F.no-auto-run`?\n\nIf this script were auto-run by **`check:all`**, it would typically invoke **`npm run verify`**, which already runs **`check:all`** — recursion. Keeping **`repo-verify`** out of the runner avoids that. **`npm run verify`** remains the CI\u002Flocal aggregate; **`repo-verify`** adds discovery + the same run with explicit reporting.\n\n## See also\n\n- [docs\u002FHARNESS.md](..\u002F..\u002F..\u002Fdocs\u002FHARNESS.md) — harness commands and invariants for this repo\n- [hard\u002FREADME.md](hard\u002FREADME.md) — executable contract\n- [hard-skills](..\u002Fhard-skills\u002FSKILL.md) — authoring `hard\u002F` checks\n- [implement-ai-harness](..\u002Fimplement-ai-harness\u002FSKILL.md) — harness rollout\n","# repo-verify\n\n**Meta verification** for repositories that use this registry pattern:\n\n1. **Discover** — scan `registry\u002F*\u002Fhard\u002Findex.ts` and report which skills are included in **`npm run check:all`** (via `registry\u002Frunner.ts`) vs excluded by **`hard\u002F.no-auto-run`**.\n2. **Plan** — if **`package.json`** defines **`scripts.verify`**, use that as the single source of truth for static checks, tests with coverage, harness, and build. Otherwise run a **fallback chain**: `tsc --noEmit` (when `tsconfig.json` exists), then `lint`, `format:check`, **`test:coverage`** if defined else **`test`**, `check:all`, `build` — only for scripts that exist.\n3. **Execute** — run the plan (unless `--plan` \u002F `--dry-run`).\n\nThis skill does **not** replace individual validators; it **orchestrates** them so agents and humans have one entry point that matches CI when `verify` is defined.\n\n## CI and local gate\n\nRun the full pipeline before sharing commits: **`npm run verify`**, or **`npm run repo-verify`** when you want the **discovery table** plus the same run (this registry defines both).\n\n## Git hooks: run verification on `pre-push`\n\n**Agents should configure Husky `pre-push`** so the repo-verify \u002F verify pipeline runs automatically before **`git push`**, not only when invoked manually or from **`pre-commit`**.\n\n| Hook           | Typical use                                                                               |\n| -------------- | ----------------------------------------------------------------------------------------- |\n| **pre-commit** | Fast, commit-local steps (formatters, **`update-skill-checksums`**, lint-staged)          |\n| **pre-push**   | Full gate: **`npm run repo-verify`** (or **`npm run verify`** if `repo-verify` is absent) |\n\n**Setup (Husky already installed with a `prepare` script):**\n\n1. Add an executable **`.husky\u002Fpre-push`** at the repo root.\n2. Run **`npm run repo-verify`** when **`package.json`** defines **`scripts.repo-verify`**; otherwise run **`npm run verify`** (or the closest aggregate your project uses).\n\nExample **`.husky\u002Fpre-push`**:\n\n```sh\n#!\u002Fusr\u002Fbin\u002Fenv sh\nset -eu\nnpm run repo-verify\n```\n\nIf the project has no **`repo-verify`** script, use:\n\n```sh\n#!\u002Fusr\u002Fbin\u002Fenv sh\nset -eu\nnpm run verify\n```\n\n**Why `pre-push`:** **`repo-verify`** can be slower than a minimal **`pre-commit`** (discovery + tests + coverage + **`check:all`**). Blocking **push** catches CI failures before the remote updates while keeping commits lightweight.\n\n**If adding this hook in a repo that lacks it:** create the file, **`chmod +x .husky\u002Fpre-push`**, and confirm **`git push`** triggers the script (a failing step must exit non-zero so the push aborts).\n\n## When to use\n\n- Before a PR or release when you want **everything** (not only `check:all`).\n- When onboarding: see which hard skills exist and which are in the default harness runner.\n- After adding a new **`registry\u002F\u003Cid>\u002Fhard\u002F`** skill — confirm it appears in discovery output.\n\n## Invocation\n\n```bash\nnpm run repo-verify\nnpx tsx registry\u002Frepo-verify\u002Fhard\u002Findex.ts\n```\n\n| Flag                          | Meaning                                      |\n| ----------------------------- | -------------------------------------------- |\n| `--plan`, `-n`, `--dry-run`   | Print what would run; do not execute         |\n| `--discover`, `--list-skills` | Only print the skill discovery table; exit 0 |\n\n## Why `hard\u002F.no-auto-run`?\n\nIf this script were auto-run by **`check:all`**, it would typically invoke **`npm run verify`**, which already runs **`check:all`** — recursion. Keeping **`repo-verify`** out of the runner avoids that. **`npm run verify`** remains the CI\u002Flocal aggregate; **`repo-verify`** adds discovery + the same run with explicit reporting.\n\n## See also\n\n- [docs\u002FHARNESS.md](..\u002F..\u002F..\u002Fdocs\u002FHARNESS.md) — harness commands and invariants for this repo\n- [hard\u002FREADME.md](hard\u002FREADME.md) — executable contract\n- [hard-skills](..\u002Fhard-skills\u002FSKILL.md) — authoring `hard\u002F` checks\n- [implement-ai-harness](..\u002Fimplement-ai-harness\u002FSKILL.md) — harness rollout\n",{"name":5,"description":7},"main","52fb76f2f2a48e8f95c02b4e0ae1e134b167b84b",".agents\u002Fskills\u002Frepo-verify","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue","https:\u002F\u002Fgithub.com\u002Fmidyan","https:\u002F\u002Fyannunes.com.br","👨‍💻🚀","2026-05-18 22:37:05",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add midyan\u002Fskissue --skill repo-verify",{"tool":58,"command":59},"bunx","bunx skills add midyan\u002Fskissue --skill repo-verify",{"tool":61,"command":62},"pnpm","pnpm dlx skills add midyan\u002Fskissue --skill repo-verify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Frepo-verify\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"INDEX.md","REFERENCE","参考文档",463,"https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Frepo-verify\u002FINDEX.md",[73,90,104,117,133,147],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":39},"01M6HR5R1RJAWKHHGEDWJRX763","validate-shell-exec","Restrict child_process.spawn\u002Fexec to approved modules (e.g. shell\u002Ftmux helpers) so subprocess usage stays centralized.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-shell-exec\u002FSKILL.md",[],[80,81,82,83,84,85,86,87,88,89],"validate","shell","exec","validate shell exec","tmux","spawn","process","modules","usage","subprocess",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":39},"01M6HR5KZ9HVXZ305J8WCKRYQS","validate-registry-hard","Validates registry.json shape and that each skill path contains SKILL.md at the skill root.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-registry\u002Fhard\u002FSKILL.md",[],[80,97,98,99,34,100,101,102,103],"registry","validate registry","validate registry hard","shape","root","at","path",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M6HR5GF9YJD8Z6J0Q460BCMB","validate-registry","Keep root registry.json consistent with on-disk skill folders so installs and docs do not drift.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-registry\u002FSKILL.md",[],[98,80,97,111,112,113,114,101,34,115,116],"do","keep","drift","with","docs","disk",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":39},"01M6HR5DMXBXXJ8TXDMNB9ECKJ","validate-naming","Enforce kebab-case filenames and PascalCase type names under src\u002F; reports naming drift for consistency.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-naming\u002FSKILL.md",[],[80,124,125,126,127,128,113,129,130,131,132],"naming","validate naming","for","src","reports","enforce","type","case","consistency",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":39},"01M6HR5BB44E1J7V342BNR89RW","validate-logging","Prefer structured logging over raw console.* outside approved CLI entrypoints; keeps observability consistent.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-logging\u002FSKILL.md",[],[140,141,80,142,143,144,145,146],"validate logging","logging","console","cli","observability","structured","structured logging",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":39},"01M6HR59251M2QP9BTCG1831B7","validate-links","Scan markdown for broken relative links across the repo. Run via npm run check:links or the harness hard skill.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-links\u002FSKILL.md",[],[154,155,80,35,156,157,158,19,22,159,160,161,25,126],"validate links","links","harness","npm","markdown","broken","scan","across"]