[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F209B9BK919G2MFSJJRDGR":3,"skill-same:01M7F209B9BK919G2MFSJJRDGR":47},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7F209B9BK919G2MFSJJRDGR","seaworthy-verify",null,"Runs the Seaworthy verify-and-fix loop on a built static site — verify the built output, read the findings by check ID and location, fix the source, re-verify, and stop at the exit-code gate. Use when an agent has just built or changed a website and needs to know what is broken and how to fix it, when the user asks to \"verify the site\", \"run seaworthy\", or check a site for broken links, accessibility, or agent-readability problems, or before the agent says a site is done. Do not use it to adopt Seaworthy into CI or to park existing debt; that is a separate skill.","arminazimi\u002Fseaworthy","arminazimi","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F33401832?v=4","01M7F1ZTKSXGKQGEXS7MJAEB2N","Armin Azimi","01M7F1ZTMA96V6JKVV97NVGRA6",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Farminazimi\u002Fseaworthy\u002Fblob\u002Fmain\u002Fskills\u002Fseaworthy-verify\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: seaworthy-verify\ndescription: Runs the Seaworthy verify-and-fix loop on a built static site — verify the built output, read the findings by check ID and location, fix the source, re-verify, and stop at the exit-code gate. Use when an agent has just built or changed a website and needs to know what is broken and how to fix it, when the user asks to \"verify the site\", \"run seaworthy\", or check a site for broken links, accessibility, or agent-readability problems, or before the agent says a site is done. Do not use it to adopt Seaworthy into CI or to park existing debt; that is a separate skill.\n---\n\n# Seaworthy: the verify-and-fix loop\n\nSeaworthy verifies **built output**, never source: build first, then point it at the\noutput folder. It reports and suggests; it never edits files. Applying a fix is your move.\n\nThe full reference is [`docs\u002Fagent-loop.md`](..\u002F..\u002Fdocs\u002Fagent-loop.md) — measured timings,\nevery flag, and what each one costs. This skill is the executable distillation of it:\nevery command and flag below is what the CLI accepts today.\n\n## Setup (pre-alpha: no npm package yet)\n\nRequires Node.js 22+. `seaworthy` is not published on npm — do not run `npm i seaworthy`.\nPick one launcher:\n\n- **From a built checkout** (works today):\n  ```bash\n  git clone https:\u002F\u002Fgithub.com\u002Farminazimi\u002Fseaworthy && cd seaworthy\n  npm ci && npm run build\n  npm link -w @seaworthy\u002Fverify     # puts `seaworthy` on PATH; or invoke\n                                    # node packages\u002Fverify\u002Fdist\u002Fsrc\u002Fcli.js directly\n  ```\n- **Pinned into the site's own repo** as a devDependency, installed *after* the site's\n  `npm ci` (a later `npm ci` wipes it):\n  `npm install --save-dev github:arminazimi\u002Fseaworthy#\u003Ccommit>`\n\nOnce the npm release lands, the same commands run as `npx seaworthy …`. Below, `seaworthy`\nmeans whichever launcher you set up. If a flag is rejected, the CLI's `--help` is newer\nthan this skill — trust `--help`.\n\n## The loop\n\n1. **Build, then get the whole picture once:**\n   ```bash\n   npm run build   # or astro build, hugo, jekyll build, …\n   seaworthy verify dist --format llm\n   ```\n   With no folder it picks the first of `dist`, `build`, `out`, `public`, `_site`, `site`\n   that exists. `--format llm` is the reading format for an agent in a context window:\n   one line per finding, fix hint first, then `checkId severity | file:line:col | message`,\n   grouped by file. Checks skipped for a reason (browser, network) are listed at the end.\n\n2. **Fix the source, not the built file.** Locations name built output; edit the file that\n   generates it, rebuild. Every finding carries a stable check ID — the rule and the fix\n   in prose live at `docs\u002Fchecks\u002F\u003CcheckId>.md` (e.g. `meta.description`, `links.internal`).\n\n3. **Re-verify only what changed:**\n   ```bash\n   npm run build && seaworthy verify dist --format llm --changed\n   ```\n   `--changed` reports findings in files whose content hash changed since the last run\n   (cache in `.seaworthy\u002Fcache.json`; the first run counts everything as changed). It\n   shrinks the *output*, not the compute; a link broken *from* an unchanged file is still\n   real, so CI runs the full check, never `--changed`. If your build output is committed,\n   `--changed-since \u003Cgit-ref>` filters by `git diff` instead (the two are mutually exclusive).\n\n4. **While iterating, keep one watch open instead of re-spawning:**\n   ```bash\n   seaworthy verify dist --watch\n   ```\n   The first run prints the full report; each later change to the build folder prints only\n   `+ new` \u002F `- fixed` findings. It replaces `--changed` (do not combine them); Ctrl-C stops.\n\n5. **Gate and stop.** Save the machine-readable report and let the exit code decide:\n   ```bash\n   seaworthy verify dist --fail-on warning --format json --out seaworthy-report.json\n   ```\n   `--fail-on` takes `error` (the default), `warning`, `note`, or `none`. Exit codes:\n   `0` clean at that level · `1` findings at or above it · `2` usage error ·\n   `4` a check or the engine crashed · `130` Ctrl-C during `--watch`. A green run means\n   clean, not truncated: even when `--max-findings` caps the report, the exit code is\n   decided from all findings.\n\n## Reading and acting on findings programmatically\n\n- `--format json` is the contract: each finding has `checkId`, `severity`, `message`,\n  `location` (`file`, `line`, `column`), `fix.summary`, `fix.edits` (exact `find`\u002F`replace`\n  on a `line`; `needsInput: true` means a human must supply real content, e.g. alt text),\n  and a self-contained `prompt`. `--out \u003Cfile>` writes the report and prints a one-line summary.\n- `--format prompt` renders one copy-pasteable instruction that fixes every finding,\n  grouped by file, fewest-findings file first.\n- `--format ndjson` streams one JSON finding per line as each check finishes — for large\n  sites and pipelines; line order follows check completion.\n- To preview every safe edit at once: `seaworthy fix \u003Cdir> --dry-run` prints one unified\n  diff (paths relative to the site folder, so `git apply` from that folder takes it) and\n  lists findings that need a human on stderr. `--dry-run` is the only mode; passing\n  anything else to `fix` is a usage error by design.\n\n## Keeping the noise down\n\n- `--update-baseline \u003Cfile>` records all current findings and exits 0; `--baseline \u003Cfile>`\n  then reports and fails only on findings the baseline does not accept. The baseline\n  stores fingerprints with counts, so it survives edits that move a finding. The two flags\n  are mutually exclusive, and `--update-baseline` cannot combine with `--changed` or `--watch`.\n- `--new-only` reports only findings the *previous run* did not have, reading\n  `.seaworthy\u002Fhistory`; it cannot combine with `--no-history`, and without a previous\n  run's keys it reports everything and says so.\n- `seaworthy diff before.json after.json` compares two saved `--format json` reports by\n  fingerprint (new \u002F fixed \u002F unchanged), so the same problem moved to a new line stays \"unchanged\".\n\n## Opt-in checks\n\nBy default a run is fully offline and launches nothing. `--rendered` runs the checks that\nneed a browser (`--browser-path \u003Cexe>` picks it); `--network` runs the checks that make\nreal requests. Both are slow relative to the rest of the loop — keep them off inside the\nedit cycle and run them before shipping.\n\n## Rules of the road\n\n- Fix the generator's source (templates, front matter, config), never the built HTML, and\n  rebuild before re-verifying — otherwise the next run \"fixes\" nothing.\n- Prefer the smallest safe change per finding; each check page under\n  [`docs\u002Fchecks\u002F`](..\u002F..\u002Fdocs\u002Fchecks\u002FREADME.md) explains what \"fixed\" means for it.\n- Seaworthy never writes to your site. Do not make it do so by other names: apply an edit\n  only after reading the finding it comes from.\n","# Seaworthy: the verify-and-fix loop\n\nSeaworthy verifies **built output**, never source: build first, then point it at the\noutput folder. It reports and suggests; it never edits files. Applying a fix is your move.\n\nThe full reference is [`docs\u002Fagent-loop.md`](..\u002F..\u002Fdocs\u002Fagent-loop.md) — measured timings,\nevery flag, and what each one costs. This skill is the executable distillation of it:\nevery command and flag below is what the CLI accepts today.\n\n## Setup (pre-alpha: no npm package yet)\n\nRequires Node.js 22+. `seaworthy` is not published on npm — do not run `npm i seaworthy`.\nPick one launcher:\n\n- **From a built checkout** (works today):\n  ```bash\n  git clone https:\u002F\u002Fgithub.com\u002Farminazimi\u002Fseaworthy && cd seaworthy\n  npm ci && npm run build\n  npm link -w @seaworthy\u002Fverify     # puts `seaworthy` on PATH; or invoke\n                                    # node packages\u002Fverify\u002Fdist\u002Fsrc\u002Fcli.js directly\n  ```\n- **Pinned into the site's own repo** as a devDependency, installed *after* the site's\n  `npm ci` (a later `npm ci` wipes it):\n  `npm install --save-dev github:arminazimi\u002Fseaworthy#\u003Ccommit>`\n\nOnce the npm release lands, the same commands run as `npx seaworthy …`. Below, `seaworthy`\nmeans whichever launcher you set up. If a flag is rejected, the CLI's `--help` is newer\nthan this skill — trust `--help`.\n\n## The loop\n\n1. **Build, then get the whole picture once:**\n   ```bash\n   npm run build   # or astro build, hugo, jekyll build, …\n   seaworthy verify dist --format llm\n   ```\n   With no folder it picks the first of `dist`, `build`, `out`, `public`, `_site`, `site`\n   that exists. `--format llm` is the reading format for an agent in a context window:\n   one line per finding, fix hint first, then `checkId severity | file:line:col | message`,\n   grouped by file. Checks skipped for a reason (browser, network) are listed at the end.\n\n2. **Fix the source, not the built file.** Locations name built output; edit the file that\n   generates it, rebuild. Every finding carries a stable check ID — the rule and the fix\n   in prose live at `docs\u002Fchecks\u002F\u003CcheckId>.md` (e.g. `meta.description`, `links.internal`).\n\n3. **Re-verify only what changed:**\n   ```bash\n   npm run build && seaworthy verify dist --format llm --changed\n   ```\n   `--changed` reports findings in files whose content hash changed since the last run\n   (cache in `.seaworthy\u002Fcache.json`; the first run counts everything as changed). It\n   shrinks the *output*, not the compute; a link broken *from* an unchanged file is still\n   real, so CI runs the full check, never `--changed`. If your build output is committed,\n   `--changed-since \u003Cgit-ref>` filters by `git diff` instead (the two are mutually exclusive).\n\n4. **While iterating, keep one watch open instead of re-spawning:**\n   ```bash\n   seaworthy verify dist --watch\n   ```\n   The first run prints the full report; each later change to the build folder prints only\n   `+ new` \u002F `- fixed` findings. It replaces `--changed` (do not combine them); Ctrl-C stops.\n\n5. **Gate and stop.** Save the machine-readable report and let the exit code decide:\n   ```bash\n   seaworthy verify dist --fail-on warning --format json --out seaworthy-report.json\n   ```\n   `--fail-on` takes `error` (the default), `warning`, `note`, or `none`. Exit codes:\n   `0` clean at that level · `1` findings at or above it · `2` usage error ·\n   `4` a check or the engine crashed · `130` Ctrl-C during `--watch`. A green run means\n   clean, not truncated: even when `--max-findings` caps the report, the exit code is\n   decided from all findings.\n\n## Reading and acting on findings programmatically\n\n- `--format json` is the contract: each finding has `checkId`, `severity`, `message`,\n  `location` (`file`, `line`, `column`), `fix.summary`, `fix.edits` (exact `find`\u002F`replace`\n  on a `line`; `needsInput: true` means a human must supply real content, e.g. alt text),\n  and a self-contained `prompt`. `--out \u003Cfile>` writes the report and prints a one-line summary.\n- `--format prompt` renders one copy-pasteable instruction that fixes every finding,\n  grouped by file, fewest-findings file first.\n- `--format ndjson` streams one JSON finding per line as each check finishes — for large\n  sites and pipelines; line order follows check completion.\n- To preview every safe edit at once: `seaworthy fix \u003Cdir> --dry-run` prints one unified\n  diff (paths relative to the site folder, so `git apply` from that folder takes it) and\n  lists findings that need a human on stderr. `--dry-run` is the only mode; passing\n  anything else to `fix` is a usage error by design.\n\n## Keeping the noise down\n\n- `--update-baseline \u003Cfile>` records all current findings and exits 0; `--baseline \u003Cfile>`\n  then reports and fails only on findings the baseline does not accept. The baseline\n  stores fingerprints with counts, so it survives edits that move a finding. The two flags\n  are mutually exclusive, and `--update-baseline` cannot combine with `--changed` or `--watch`.\n- `--new-only` reports only findings the *previous run* did not have, reading\n  `.seaworthy\u002Fhistory`; it cannot combine with `--no-history`, and without a previous\n  run's keys it reports everything and says so.\n- `seaworthy diff before.json after.json` compares two saved `--format json` reports by\n  fingerprint (new \u002F fixed \u002F unchanged), so the same problem moved to a new line stays \"unchanged\".\n\n## Opt-in checks\n\nBy default a run is fully offline and launches nothing. `--rendered` runs the checks that\nneed a browser (`--browser-path \u003Cexe>` picks it); `--network` runs the checks that make\nreal requests. Both are slow relative to the rest of the loop — keep them off inside the\nedit cycle and run them before shipping.\n\n## Rules of the road\n\n- Fix the generator's source (templates, front matter, config), never the built HTML, and\n  rebuild before re-verifying — otherwise the next run \"fixes\" nothing.\n- Prefer the smallest safe change per finding; each check page under\n  [`docs\u002Fchecks\u002F`](..\u002F..\u002Fdocs\u002Fchecks\u002FREADME.md) explains what \"fixed\" means for it.\n- Seaworthy never writes to your site. Do not make it do so by other names: apply an edit\n  only after reading the finding it comes from.\n",{"name":5,"description":7},"main","c1de140d32fe7166eb2b0fcd2a949ee71e831097","skills\u002Fseaworthy-verify",3,"https:\u002F\u002Fgithub.com\u002Farminazimi\u002Fseaworthy","https:\u002F\u002Fgithub.com\u002Farminazimi","https:\u002F\u002Fvelella.sh","I make codebases confess what they’ve been hiding.","2026-11-07 04:09:05",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add arminazimi\u002Fseaworthy --skill seaworthy-verify",{"tool":39,"command":40},"bunx","bunx skills add arminazimi\u002Fseaworthy --skill seaworthy-verify",{"tool":42,"command":43},"pnpm","pnpm dlx skills add arminazimi\u002Fseaworthy --skill seaworthy-verify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Farminazimi\u002Fseaworthy\u002Fblob\u002Fmain\u002Fskills\u002Fseaworthy-verify\u002FSKILL.md",true,[],[48,55,61],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7F204ZAQR0946Z0Q8BMDJ0M","seaworthy-adopt","Adopt Seaworthy verification in an existing site in four moves - a first honest look that fails nothing, a committed baseline that freezes today's findings, a CI gate that fails only on new ones, and a status badge once the gate is green. Use when a site already has findings and a day-one gate would start the project with red CI.","https:\u002F\u002Fgithub.com\u002Farminazimi\u002Fseaworthy\u002Fblob\u002Fmain\u002Fskills\u002Fseaworthy-adopt\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7F203NMTC35BFDSR5S0DCQB","stale","https:\u002F\u002Fgithub.com\u002Farminazimi\u002Fseaworthy\u002Fblob\u002Fmain\u002Ffixtures\u002Fbroken\u002Freadability-agent-skills\u002Fsite\u002Fskills\u002Fstale\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7F202DCT3G1Z92GAZ6K63BY","lint","https:\u002F\u002Fgithub.com\u002Farminazimi\u002Fseaworthy\u002Fblob\u002Fmain\u002Ffixtures\u002Fbroken\u002Freadability-agent-skills\u002Fsite\u002Fskills\u002Flint\u002FSKILL.md",[],[]]