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.

Install it, pinned
mdr add sdsrss/code-graph-mcp/windows-compat@git:20260727.5739dad

Pins 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

The exact contents, by fingerprint
mdr add sdsrss/code-graph-mcp/windows-compat@sha256:65b3b3afdfd2319b

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_sve3x7oklq64cyyc.svg)](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.

versioncommittedcommitsizeaudit
git:20260727.5739dad latest2026-07-27 5739dad 9,131 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from sdsrss/code-graph-mcp

explore SKILL.md skill
sdsrss/code-graph-mcp · claude-plugin/skills/explore/SKILL.md · Understand code structure with the AST index before reading files one by one — when starting work in unfamiliar code…
git:20260929.c7817b4 · audit A · 89 stars
index SKILL.md skill
sdsrss/code-graph-mcp · claude-plugin/skills/index/SKILL.md · Diagnose and fix code-graph index issues. Use when: search returns unexpected/empty results, or after major codebase…
git:20260913.7dc7eb4 · audit A · 89 stars

Every file in sdsrss/code-graph-mcp

Browse by kind, by grade A, or by owner.