windows-compat SKILL.md skillA
windows-compat from sdsrss/code-graph-mcp is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sdsrss/code-graph-mcp/windows-compat@git:20260727.5739dadPins git:20260727.5739dad in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sdsrss/code-graph-mcp
- Path
docs/skills/windows-compat/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260727.5739dad, committed Jul 27, 2026
- Size
- 9,131 bytes
- Repository stars
- 89
- License
- MIT
Audit and harden this Rust repo (code-graph-mcp) for Windows correctness: path-spelling drift between producers, the 32,767-char command-line cap, index-key mismatches, and path predicates that assume one ecosystem's layout. Use whenever touching code that builds, compares, prints, or stores a filesystem path; that spawns a process with a variable number of arguments (rg, git); that matches an executable name; or that classifies files by path shape — and whenever triaging a bug that reproduces…
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
# Windows compatibility (code-graph-mcp) Three defects reached a Windows user from **one** root cause: two spellings of the same path compared unequal. CI already ran `windows-latest` and caught none of them, because nothing asserted on path spellings at all. Closing that gap is what this skill is for. ## The invariant everything hangs off `indexer::merkle::normalize_rel_path` stores every indexed path as a **`/`-separated relative path**, rewriting separators only under `#[cfg(windows)]`. So any path that becomes a lookup key, a dedup key, or stdout must land in *exactly* that spelling. Almost every defect below is one producer handing over a different spelling of the same file. The producer table and the full catalogue are in [references/failure-modes.md](references/failure-modes.md) — read it before changing path-handling code. It is short and every entry is a real defect with its shipped fix. ## The doctrine: platform is a parameter, not a `cfg!` This is the single rule that makes everything else testable. ```rust // NO — the Windows branch only runs on Windows, so the Linux and macOS legs // prove nothing, and a Windows-only CI failure is expensive to debug. …
Read the whole file at its exact version.
How to install
mdr add sdsrss/code-graph-mcp/windows-compat@sha256:65b3b3afdfd2319bThe line at the top of this page pins the label git:20260727.5739dad, 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_sve3x7oklq64cyyc)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jul 27, 2026.
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 (9131 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
sdsrss/code-graph-mcp · 89 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_sve3x7oklq64cyyc GET https://markdownregistry.com/api/v1/resolve?ref=sdsrss/code-graph-mcp/windows-compat GET https://markdownregistry.com/api/v1/blob/65b3b3afdfd2319b6ee3d902f5ebb9bad7b33541bba9ef718f74a3a1ffac3cca
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.