mir-migration SKILL.md skillA

mir-migration from davidly/dcc is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add davidly/dcc/mir-migration@git:20261002.8a97207

Pins git:20261002.8a97207 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
davidly/dcc
Path
.github/skills/mir-migration/SKILL.md
Versions recorded
5
Latest version
git:20261002.8a97207, committed Oct 2, 2026
First version recorded
Aug 16, 2026
Size
9,075 bytes
Repository stars
17
License
MIT

Maintain and optimize dcc's completed generated-only MIR backend. Use for MIR lowering, verification, selectors, cost policy, register homes, spills, exact machine schedules, coverage censuses, or MIR performance recovery.

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

# dcc generated-only MIR backend

The migration is complete:

- Every production function body is lowered to verified MIR.
- Production Z80 comes only from a selected MIR candidate.
- AST code after parsing is metadata-only: declarations, scopes/VLAs, inline
  temps, strings, labels, diagnostics, and debug events.
- There is no body-codegen fallback, capture/replay stream, discard emitter, or
  legacy register-allocation retry.
- Compatibility `captured_*` census columns are always `-1`.

Use `dcc-project` for build, test, runtime, and baseline conventions.

## Non-negotiable rules

1. Keep `DCC_MIR_REQUIRE_COMPLETE=1` and `DCC_MIR_REQUIRE_EMIT=1` clean.
2. Never use legacy output, app/function names, padding, or performance
   baselines as production selection gates.
3. Identify every changed function before widening a selector or cost gate.
4. Correct output that regresses peep or nopeep remains unfinished.
5. Emit each candidate to its own temporary stream; a declined selector must
   not contaminate the next candidate.
6. Preserve type, volatility, aliasing, call ABI, CFG edges, PHI edge uses,
   VLA restoration, and callee-save state explicitly.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add davidly/dcc/mir-migration@sha256:a44582073fa4ef69

The line at the top of this page pins the label git:20261002.8a97207, 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_ekt3s4sfw2kme26r.svg)](https://markdownregistry.com/a/art_ekt3s4sfw2kme26r)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Aug 16, 2026 and Oct 2, 2026, about one every 12 days.

versioncommittedcommitsizeaudit
git:20261002.8a97207 latest2026-10-02 8a97207 9,075 BA view · diff
git:20261002.24351832026-10-02 2435183 8,747 BA view · diff
git:20260906.a9669e72026-09-06 a9669e7 8,750 BA view · diff
git:20260816.d1639012026-08-16 d163901 8,676 BA view · diff
git:20260816.755e9d12026-08-16 755e9d1 8,662 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 (9075 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

davidly/dcc · 17 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ekt3s4sfw2kme26r
GET https://markdownregistry.com/api/v1/resolve?ref=davidly/dcc/mir-migration
GET https://markdownregistry.com/api/v1/blob/a44582073fa4ef690457283966399687aa01317460f56cf65a90a280196ec221

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 davidly/dcc

dcc-cpm-z80 SKILL.md skill
davidly/dcc · .github/skills/dcc-cpm-z80/SKILL.md · Write, build, run, test, and source-debug C for dcc targeting CP/M 2.2 on the Z80. Use for .c/.h sources compiled with…
git:20260826.8a717b2 · audit A · 17 stars
dcc-project SKILL.md skill
davidly/dcc · .github/skills/dcc-project/SKILL.md · Develop, build, test, debug, and optimize the dcc host toolchain: dcc, dccpeep, dccrtlstrip, dccmake, m80c, l80c…
git:20261002.2435183 · audit A · 17 stars
mkdocs-stdlib-docs SKILL.md skill
davidly/dcc · .github/skills/mkdocs-stdlib-docs/SKILL.md · Create, update, review, or debug the dcc MkDocs standard-library reference pages generated from public C headers. Use…
git:20260823.5b82e9b · audit A · 17 stars

Every file in davidly/dcc

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