@@ -31,13 +31,17 @@ The registry's deploys are not gated on the scan result.
3131
3232Stable URLs, no auth required:
3333
34- + Public site: ` https://coder.github.io/ coder-skill-scanner / `
35- + Per-skill detail: ` https://coder.github.io/ coder-skill-scanner /skills/<namespace>/<slug> `
36- + Run history: ` https://coder.github.io/ coder-skill-scanner /history `
37- + CDN-cached JSON: ` https://coder.github.io/ coder-skill-scanner /latest.json `
34+ + Public site: ` https://scanner.registry. coder.com / `
35+ + Per-skill detail: ` https://scanner.registry. coder.com /skills/<namespace>/<slug> `
36+ + Run history: ` https://scanner.registry. coder.com /history `
37+ + CDN-cached JSON: ` https://scanner.registry. coder.com /latest.json `
3838+ Tagged release: ` https://github.com/coder/coder-skill-scanner/releases/latest/download/latest.json `
39- + Schema: ` https://coder.github.io/coder-skill-scanner/schema.json ` (v1)
40- + Per-scan history (JSON): ` https://coder.github.io/coder-skill-scanner/history/index.json `
39+ + Schema: ` https://scanner.registry.coder.com/schema.json ` (v1)
40+ + Per-scan history (JSON): ` https://scanner.registry.coder.com/history/index.json `
41+
42+ The custom domain is configured via ` site/public/CNAME ` ; the legacy
43+ project-page URL (` https://coder.github.io/coder-skill-scanner/ ` ) is
44+ still redirected by GitHub Pages but should not be used in new code.
4145
4246## Public API (v1)
4347
@@ -68,19 +72,23 @@ Two badges per skill:
6872Embed a status badge in a README:
6973
7074``` markdown
71- ![ skill scan] ( https://coder.github.io/ coder-skill-scanner /api/v1/skills/coder/setup/badge/status.svg )
75+ ![ skill scan] ( https://scanner.registry. coder.com /api/v1/skills/coder/setup/badge/status.svg )
7276```
7377
7478Or via shields.io if you want their renderer:
7579
7680``` markdown
77- ![ skill scan] ( https://img.shields.io/endpoint?url=https://coder.github.io/ coder-skill-scanner /api/v1/skills/coder/setup/badge/status.json )
81+ ![ skill scan] ( https://img.shields.io/endpoint?url=https://scanner.registry. coder.com /api/v1/skills/coder/setup/badge/status.json )
7882```
7983
80- For a fork, swap the host: ` https://<owner>.github.io/<repo>/api/v1/... ` .
81- The scanner derives the public base URL from ` $GITHUB_REPOSITORY ` at
82- publish time, so the same URL pattern is correct for any fork without
83- config changes.
84+ For a fork, swap the host: ` https://<your-host>/api/v1/... ` . The scanner
85+ picks the public base URL at publish time in this order:
86+
87+ 1 . ` site/public/CNAME ` (the custom Pages domain, if set),
88+ 2 . otherwise ` $GITHUB_REPOSITORY ` -> ` https://<owner>.github.io/<repo> ` .
89+
90+ So a fork that just sets a CNAME gets the right URLs everywhere without
91+ touching workflow code.
8492
8593## Running locally
8694
@@ -114,6 +122,7 @@ as `/skills/coder/setup` stay client-side.
114122|-- scanner/ # Python module (CLI + enumerate + combine + aggregate + history)
115123|-- tests/ # pytest, no on-disk fixtures
116124|-- site/ # React SPA (Vite + Tailwind + Radix + react-router-dom)
125+ | `-- public/CNAME # custom Pages domain (drop or change for a fork)
117126|-- pyproject.toml
118127|-- Makefile
119128|-- mise.toml # pinned Python + Node versions
@@ -140,15 +149,19 @@ This scanner is data-driven. To run it against a different registry:
1401492 . Edit ` config.yaml ` 's ` catalogue.registry_repo ` block.
1411503 . Configure GitHub Pages on your fork (Settings, Pages, source:
142151 "GitHub Actions").
143- 4 . Set Actions workflow permissions to "Read and write" so the
152+ 4 . Optional: set a custom domain by editing ` site/public/CNAME ` (one
153+ line, the bare host). Delete the file to publish at the github.io
154+ project-page URL instead. Whichever you choose, DNS for the host
155+ needs to point at ` <owner>.github.io ` separately.
156+ 5 . Set Actions workflow permissions to "Read and write" so the
144157 publish-release job can create releases.
145- 5 . To enable the LLM semantic pass, set the credential secret matching
158+ 6 . To enable the LLM semantic pass, set the credential secret matching
146159 ` config.yaml ` 's ` scanners.skillspector.llm.provider ` on your fork
147160 (for the default ` anthropic ` provider, ` ANTHROPIC_API_KEY ` ), AND
148161 confirm ` .github/workflows/scan.yaml ` exports that secret into the
149162 SkillSpector step. Static-only mode (without the secret) is the
150163 default and works out of the box.
151- 6 . Enable Actions.
164+ 7 . Enable Actions.
152165
153166No source changes required for catalogue changes.
154167
0 commit comments