[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71J4NB18NK420K5J6A7SEPD":3,"skill-same:01M71J4NB18NK420K5J6A7SEPD":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":13,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M71J4NB18NK420K5J6A7SEPD","verify",null,"An integrated skill that runs the combined validation of build \u002F typecheck \u002F test \u002F lint in one shot. The `verify.mjs` engine auto-discovers validation commands via a discovery chain (AGENTS.md's 「検証」 section → package.json scripts → justfile\u002FMakefile\u002Flefthook → language heuristics), executes them serially with their source attached, and returns a result summary. If a higher-priority stage produces a hit, only that stage is executed (no crossing stages).","ozzy-labs\u002Fskills","ozzy-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F246109093?v=4","01M6H0M2K2PZXHWNHJJTWY20FY","01M71J2B6FZ5KPEXPR5VS1TX7Z",0,"MIT","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"stage","build","via","makefile","typecheck","test","with","engine","lint","one","package","auto","only","lefthook","section","discovery","chain","heuristics","combined","2026-11-10 10:12:30",false,"---\nname: verify\ndescription: An integrated skill that runs the combined validation of build \u002F typecheck \u002F test \u002F lint in one shot. The `verify.mjs` engine auto-discovers validation commands via a discovery chain (AGENTS.md's 「検証」 section → package.json scripts → justfile\u002FMakefile\u002Flefthook → language heuristics), executes them serially with their source attached, and returns a result summary. If a higher-priority stage produces a hit, only that stage is executed (no crossing stages).\n---\n\n# verify - Integrated validation (discovery chain + execution)\n\nPerforms the combined validation of \"does build + typecheck + test + lint pass\" in one shot. From an agent's perspective these are always needed together, so the former `lint` \u002F `test` \u002F `lint-rules` have been integrated into `verify` ([ADR-0028](https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fhandbook\u002Fblob\u002Fmain\u002Fadr\u002F0028-skills-architecture-engine-judgment-policy-catalog.md) R4).\n\nThe determinism (the validation command discovery chain, source attribution, serial execution, and rendering of the result summary) is handled by the bundled **`verify.mjs` engine** (ADR-0028 R1, following the precedent of `health-check.mjs` \u002F `usage-check.mjs` \u002F `skill-metrics.mjs`). This SKILL.md is confined to the judgment layer — **when to call the engine, how to report the results, and where to confirm with a human**.\n\n## Principles\n\n- **A single combined validation:** verify always has the same intent (whether build + typecheck + test + lint pass). Selecting individual commands is left to the engine's discovery chain.\n- **Discovery chain, no crossing stages:** If a command is found at a higher-priority stage, only that stage is executed — it does not descend to lower stages. All commands found within the same stage are executed.\n- **Explicit source attribution:** Always include, in the report, which stage (source) each command was found at.\n- **Works in consumer repos:** Rather than relying solely on AGENTS.md assumptions, it falls back as far as package.json \u002F task runners \u002F language heuristics ([#179](https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fissues\u002F179) is absorbed by this).\n\n## Validation command discovery chain\n\nThe engine evaluates the following 4 stages in order from top to bottom, and **settles on the first stage that produces a command** (no crossing stages; everything within the same stage is executed):\n\n| Stage | Source (`source`) | Discovery target |\n|---|---|---|\n| 1 | `agents-md` | Fenced code blocks \u002F inline `command`s in AGENTS.md's 「検証」 section |\n| 2 | `package-json` | Among `package.json`'s scripts: `build` \u002F `typecheck` \u002F `test` \u002F `lint` (whichever exist; the package manager is determined from the lockfile to form `\u003Cpm> run \u003Cscript>`) |\n| 3 | `task-runner` | The corresponding target (`build` \u002F `typecheck` \u002F `test` \u002F `lint`; for lefthook, `pre-commit` \u002F `pre-push`) in whichever of `justfile` > `Makefile` > `lefthook.yaml` exists first |\n| 4 | `language-heuristic` | `go.mod`→`go build .\u002F...` + `go test .\u002F...` \u002F `pyproject.toml`+`uv.lock`→`uv run pytest` \u002F `Cargo.toml`→`cargo build` + `cargo test` |\n\nIf none of the stages find anything, report it as \"not found\" (do not execute).\n\n## Procedure\n\n1. Execute the `verify.mjs` **in the same directory as this SKILL.md** via Bash. In Claude Code that's `~\u002F.claude\u002Fskills\u002Fverify\u002Fverify.mjs` (dogfood: `\u003Crepo>\u002F.claude\u002Fskills\u002Fverify\u002Fverify.mjs`):\n\n   ```bash\n   node \u003Cthis skill's directory>\u002Fverify.mjs [--dry-run] [--json] [--repo-root=\u003Cdir>]\n   ```\n\n2. By default the engine **executes the discovered commands (with source attached) serially** and outputs a formatted result summary to stdout. **Present that output as-is** (do not reformat or reinterpret it — rendering is the engine's responsibility).\n3. `--dry-run` only discovers (does not execute). Use it when you want to check \"which commands are selected, from which source\".\n4. If any command fails, present that fact as-is (command, source, error summary). Do not perform automatic fixing (if a lint auto-fix is needed, that's the responsibility of the discovered lint command itself).\n\n## Input\n\n- No arguments → serially executes the commands of the stage settled on by the discovery chain, and presents a result summary\n- `--dry-run` (alias `--discover`) → discovery only. Does not execute\n- `--json` → outputs structured JSON instead of a human-readable report (for programmatic integration \u002F debugging use; can be used for mechanical judgment from `drive` \u002F `implement`)\n- `--repo-root=\u003Cdir>` → validates a directory other than cwd\n\n## Output (key points of the JSON schema v1)\n\n- `discovery.stage` — the settled stage (`agents-md` \u002F `package-json` \u002F `task-runner` \u002F `language-heuristic` \u002F `null`)\n- `discovery.commands[]` — `{ command, source, kind }` (`source` is the source, `kind` is `build` \u002F `typecheck` \u002F `test` \u002F `lint` \u002F `other`)\n- `results[]` — only when executed. `{ command, source, kind, status, ok, error }`\n- `ok` — `true` if all commands pass, `false` if any fail, `null` if not executed (`--dry-run` \u002F not found)\n\n## Per-extension lint rules (absorbed from the former lint-rules)\n\nThe discovery chain finds project-level commands. Per-file lint \u002F format rules are absorbed into the engine as `LINT_RULES` (absorbing the former `lint-rules` skill):\n\n| Extension | Command |\n|--------|---------|\n| `.ts` \u002F `.tsx` \u002F `.js` \u002F `.jsx` \u002F `.json` | `biome check --write \u003Cfile>` |\n| `.md` | `markdownlint-cli2 --fix \u003Cfile>` |\n| `.yaml` \u002F `.yml` | `yamlfmt \u003Cfile> && yamllint -c .yamllint.yaml \u003Cfile>` |\n| `.toml` | `taplo format \u003Cfile>` |\n| `.sh` | `shfmt -w \u003Cfile> && shellcheck \u003Cfile>` |\n\n## Notes\n\n- Does not read `.env` files.\n- The discovery chain is deterministic. Changes to the stage order \u002F selection rules should be made together in the engine + this SKILL.md.\n- verify only selects and executes commands. It does not perform destructive operations (commit \u002F push \u002F merge).\n- It also works in consumer repos without an AGENTS.md 「検証」 section, since it falls back as far as package.json \u002F task runner \u002F language heuristics.\n","# verify - Integrated validation (discovery chain + execution)\n\nPerforms the combined validation of \"does build + typecheck + test + lint pass\" in one shot. From an agent's perspective these are always needed together, so the former `lint` \u002F `test` \u002F `lint-rules` have been integrated into `verify` ([ADR-0028](https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fhandbook\u002Fblob\u002Fmain\u002Fadr\u002F0028-skills-architecture-engine-judgment-policy-catalog.md) R4).\n\nThe determinism (the validation command discovery chain, source attribution, serial execution, and rendering of the result summary) is handled by the bundled **`verify.mjs` engine** (ADR-0028 R1, following the precedent of `health-check.mjs` \u002F `usage-check.mjs` \u002F `skill-metrics.mjs`). This SKILL.md is confined to the judgment layer — **when to call the engine, how to report the results, and where to confirm with a human**.\n\n## Principles\n\n- **A single combined validation:** verify always has the same intent (whether build + typecheck + test + lint pass). Selecting individual commands is left to the engine's discovery chain.\n- **Discovery chain, no crossing stages:** If a command is found at a higher-priority stage, only that stage is executed — it does not descend to lower stages. All commands found within the same stage are executed.\n- **Explicit source attribution:** Always include, in the report, which stage (source) each command was found at.\n- **Works in consumer repos:** Rather than relying solely on AGENTS.md assumptions, it falls back as far as package.json \u002F task runners \u002F language heuristics ([#179](https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fissues\u002F179) is absorbed by this).\n\n## Validation command discovery chain\n\nThe engine evaluates the following 4 stages in order from top to bottom, and **settles on the first stage that produces a command** (no crossing stages; everything within the same stage is executed):\n\n| Stage | Source (`source`) | Discovery target |\n|---|---|---|\n| 1 | `agents-md` | Fenced code blocks \u002F inline `command`s in AGENTS.md's 「検証」 section |\n| 2 | `package-json` | Among `package.json`'s scripts: `build` \u002F `typecheck` \u002F `test` \u002F `lint` (whichever exist; the package manager is determined from the lockfile to form `\u003Cpm> run \u003Cscript>`) |\n| 3 | `task-runner` | The corresponding target (`build` \u002F `typecheck` \u002F `test` \u002F `lint`; for lefthook, `pre-commit` \u002F `pre-push`) in whichever of `justfile` > `Makefile` > `lefthook.yaml` exists first |\n| 4 | `language-heuristic` | `go.mod`→`go build .\u002F...` + `go test .\u002F...` \u002F `pyproject.toml`+`uv.lock`→`uv run pytest` \u002F `Cargo.toml`→`cargo build` + `cargo test` |\n\nIf none of the stages find anything, report it as \"not found\" (do not execute).\n\n## Procedure\n\n1. Execute the `verify.mjs` **in the same directory as this SKILL.md** via Bash. In Claude Code that's `~\u002F.claude\u002Fskills\u002Fverify\u002Fverify.mjs` (dogfood: `\u003Crepo>\u002F.claude\u002Fskills\u002Fverify\u002Fverify.mjs`):\n\n   ```bash\n   node \u003Cthis skill's directory>\u002Fverify.mjs [--dry-run] [--json] [--repo-root=\u003Cdir>]\n   ```\n\n2. By default the engine **executes the discovered commands (with source attached) serially** and outputs a formatted result summary to stdout. **Present that output as-is** (do not reformat or reinterpret it — rendering is the engine's responsibility).\n3. `--dry-run` only discovers (does not execute). Use it when you want to check \"which commands are selected, from which source\".\n4. If any command fails, present that fact as-is (command, source, error summary). Do not perform automatic fixing (if a lint auto-fix is needed, that's the responsibility of the discovered lint command itself).\n\n## Input\n\n- No arguments → serially executes the commands of the stage settled on by the discovery chain, and presents a result summary\n- `--dry-run` (alias `--discover`) → discovery only. Does not execute\n- `--json` → outputs structured JSON instead of a human-readable report (for programmatic integration \u002F debugging use; can be used for mechanical judgment from `drive` \u002F `implement`)\n- `--repo-root=\u003Cdir>` → validates a directory other than cwd\n\n## Output (key points of the JSON schema v1)\n\n- `discovery.stage` — the settled stage (`agents-md` \u002F `package-json` \u002F `task-runner` \u002F `language-heuristic` \u002F `null`)\n- `discovery.commands[]` — `{ command, source, kind }` (`source` is the source, `kind` is `build` \u002F `typecheck` \u002F `test` \u002F `lint` \u002F `other`)\n- `results[]` — only when executed. `{ command, source, kind, status, ok, error }`\n- `ok` — `true` if all commands pass, `false` if any fail, `null` if not executed (`--dry-run` \u002F not found)\n\n## Per-extension lint rules (absorbed from the former lint-rules)\n\nThe discovery chain finds project-level commands. Per-file lint \u002F format rules are absorbed into the engine as `LINT_RULES` (absorbing the former `lint-rules` skill):\n\n| Extension | Command |\n|--------|---------|\n| `.ts` \u002F `.tsx` \u002F `.js` \u002F `.jsx` \u002F `.json` | `biome check --write \u003Cfile>` |\n| `.md` | `markdownlint-cli2 --fix \u003Cfile>` |\n| `.yaml` \u002F `.yml` | `yamlfmt \u003Cfile> && yamllint -c .yamllint.yaml \u003Cfile>` |\n| `.toml` | `taplo format \u003Cfile>` |\n| `.sh` | `shfmt -w \u003Cfile> && shellcheck \u003Cfile>` |\n\n## Notes\n\n- Does not read `.env` files.\n- The discovery chain is deterministic. Changes to the stage order \u002F selection rules should be made together in the engine + this SKILL.md.\n- verify only selects and executes commands. It does not perform destructive operations (commit \u002F push \u002F merge).\n- It also works in consumer repos without an AGENTS.md 「検証」 section, since it falls back as far as package.json \u002F task runner \u002F language heuristics.\n",{"name":5,"description":7},"main","db212a47efe751fa1c42bd76e61dbfd8328e5b10",".agents\u002Fskills\u002Fverify","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills","https:\u002F\u002Fgithub.com\u002Fozzy-labs","2026-07-13 06:49:42",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add ozzy-labs\u002Fskills --skill verify",{"tool":54,"command":55},"bunx","bunx skills add ozzy-labs\u002Fskills --skill verify",{"tool":57,"command":58},"pnpm","pnpm dlx skills add ozzy-labs\u002Fskills --skill verify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify\u002FSKILL.md",true,[62,68],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"SKILL.claude-code.md","REFERENCE","参考文档",1177,"https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify\u002FSKILL.claude-code.md",{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"verify.mjs","SCRIPT","脚本",18498,"https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify\u002Fverify.mjs",[75,83,109,130,152,173],{"skillNo":76,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":37},"01M71J6R63H4E6ZE6KMDM4CT85","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fverify\u002FSKILL.md",[],[5,36,35,34,80,33,32,31,30,29,28,18,81,27,26,82,25,24,23,22],"repo","Bash","dry",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":37},"01M71J6JW7SAY9PDKAWHG3SJCR","usage-guard","Monitors Claude Code's Usage Limit (5-hour = Current \u002F weekly = Weekly), pauses work when it exceeds 95%, and automatically resumes once the reset restores headroom. Bundles an engine form that a caller such as drive Reads at a checkpoint, and a standalone form, `\u002Fusage-guard \"\u003Ccontinuation command>\"`, that guards arbitrary work. Claude-only (depends on the OAuth usage-rate endpoint + ScheduleWakeup).","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fusage-guard\u002FSKILL.md",[],[90,91,92,93,94,30,95,96,97,98,99,100,101,102,103,104,105,106,107,108],"usage","usage guard","guard","weekly","standalone","guards","when","code","reset","work","command","at","rate","status","endpoint","as","continuation","form","limit",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":37},"01M71J6FRG119REA1G0S99Q4GZ","topics","Selects GitHub topic candidates by having the `topics.mjs` engine perform constraint validation, popularity measurement, broad+narrow \u002F singular-plural comparison, and hardcoded ozzy-labs conventions, then applies them via `gh repo edit --add-topic` following the policy's `externally-visible` gate (default batch-confirm). Scope is limited to use within ozzy-labs.","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftopics\u002FSKILL.md",[],[111,116,117,80,118,119,120,121,122,123,124,81,125,126,127,82,25,128,129,20],"measurement","scope","policy","default","true","gh","plural","use","comparison","apply","candidate","batch","candidates","github",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":37},"01M71J6DC27P4FDSP10SDT2PSN","skill-observability","Defines the skill observability event contract (event.schema.json) and emit substrate (obs-emit.mjs). The SSOT for the measurement layer of the skill improvement loop. Referenced by other skills and hooks.","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-observability\u002FSKILL.md",[],[137,138,116,139,140,141,142,143,144,145,146,147,148,149,150,151],"observability","skill observability","improvement","skill improvement","for","event","hooks","contract","schema","loop","false","substrate","json","improvement loop","layer",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":37},"01M71J6AYECH1J94RAZ49QZ19Y","skill-metrics","Aggregates the local observability event log (~\u002F.agents\u002Fobservability\u002Fevents.jsonl) and presents, read-only, per-skill invocation counts and notable events (fallback \u002F HITL rejection \u002F loop cap reached \u002F abort). Fires on \"show me the skill metrics,\" \"aggregate the observability results,\" \"which skills get used the most?\" Does not send anything.","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-metrics\u002FSKILL.md",[],[159,160,137,161,162,163,164,165,142,166,167,168,169,120,30,146,170,81,171,172],"skill metrics","metrics","event log","which","show","get","read-only","iso","aggregates","send","local","show me","log","jsonl",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":37},"01M71J68TD0QFATGW3BBZVCWA2","ship","Runs verification, commit, and PR creation all at once. An integrated pipeline that runs verify (build + type + test + lint) → commit → PR creation in sequence against the changes.","https:\u002F\u002Fgithub.com\u002Fozzy-labs\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fship\u002FSKILL.md",[],[175,180,181,23,182,183,5,184,19,185,101,186,187,188,120,189,81,190,26],"type","verification","changes","pr","creation","pipeline","read","sequence","grep","pr creation","commit"]