sw-lint SKILL.md skillA
sw-lint from mhmtsrfglu/superwiki is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mhmtsrfglu/superwiki/sw-lint@git:20261008.42c6752Pins git:20261008.42c6752 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mhmtsrfglu/superwiki
- Path
skills/sw-lint/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261008.42c6752, committed Oct 8, 2026
- First version recorded
- Oct 4, 2026
- Size
- 4,320 bytes
- Repository stars
- 30
- License
- MIT
Use when the user asks to check, lint, health-check, clean up or audit the Superwiki vault or wiki, after bulk edits or a migration, or invokes sw-lint.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# sw-lint Two passes. The first is a script and costs almost nothing. The second reads pages and costs tokens, so it runs only when the user approves it. ## Pass 1: structure (always) 1. Run `node docs/.sw/sw.mjs lint` from the project root. Read only its output, not the vault. It exits with code 1 while errors remain; that is expected. 2. **Fix broken links first, then run lint again**, because one rename produces several findings (`broken-link` in every page that linked the old name, plus `not-in-index` and `orphan-page` for the new one). - A rename is established when exactly one page is reported `not-in-index` or `orphan-page` and its name is a variation of the broken target. Re-point every `[[old]]` to `[[new]]` in the files lint named, including `index.md` and task files. - Two candidates, or no resemblance: do not guess. Report it. 3. Fix what else has one correct answer: | Finding | Fix | |---|---| | `stale-board`, `missing-board` | `node docs/.sw/sw.mjs index`: it rewrites the task list in `index.md` from the task files. Never edit that list by hand | | `not-in-index` | add `- [[page]]: summary` to `index.md`, using the page's `summary:` | …
Read the whole file at its exact version.
How to install
mdr add mhmtsrfglu/superwiki/sw-lint@sha256:f2a49c9617d9ff50The line at the top of this page pins the label git:20261008.42c6752, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_tdsayu2hiw7qr3by)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Oct 4, 2026 and Oct 8, 2026, about one every day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261008.42c6752 latest | 2026-10-08 | 42c6752 | 4,320 B | A | view · diff |
| git:20261005.3a12b96 | 2026-10-05 | 3a12b96 | 4,334 B | A | view · diff |
| git:20261005.4dc7b5f | 2026-10-05 | 4dc7b5f | 4,176 B | A | view · diff |
| git:20261004.2bcdaa8 | 2026-10-04 | 2bcdaa8 | 4,016 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4320 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
mhmtsrfglu/superwiki · 30 stars · license MIT · pushed 2026-10-31 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tdsayu2hiw7qr3by GET https://markdownregistry.com/api/v1/resolve?ref=mhmtsrfglu/superwiki/sw-lint GET https://markdownregistry.com/api/v1/blob/f2a49c9617d9ff504fe151137b939e38fc62e1a32a844877cbe1c6579b41c3b8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.