rust-crate-ci SKILL.md skillA
rust-crate-ci from zaxbyhub/opencode-swarm is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zaxbyhub/opencode-swarm/rust-crate-ci@git:20261012.097422cPins git:20261012.097422c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zaxbyhub/opencode-swarm
- Path
.claude/skills/rust-crate-ci/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261012.097422c, committed Oct 12, 2026
- First version recorded
- May 31, 2026
- Size
- 6,934 bytes
- Repository stars
- 518
- License
- MIT
Load before editing any Rust crate in this repo (currently runners/swarm-sandbox-runner). Covers the mandatory local validation gate, common rustfmt/clippy pitfalls, and Windows-specific Rust correctness patterns that CI enforces but are hard to catch locally without a Windows toolchain.
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
# Rust Crate CI Guide This repo contains a Rust crate at `runners/swarm-sandbox-runner/`. The CI job that validates it is `rust-sandbox-runner` (runs on `windows-latest`). This guide prevents the most common failure modes before they reach CI. ## Mandatory local gate (run in order before pushing) ```powershell cd runners/swarm-sandbox-runner # 1. Format check — CI fails here first; clippy will not run if this fails cargo fmt --check # 2. Clippy — -D warnings makes all warnings hard errors; --all-targets matches CI, # which also lints tests, examples, and benches (ci.yml rust-sandbox-runner job) cargo clippy --all-targets -- -D warnings # 3. Tests — --all-targets matches CI; Windows-specific tests are gated with #[cfg(windows)] cargo test --all-targets # 4. Release build — confirms the binary compiles with optimizations cargo build --release ``` Run them in this exact order. If `cargo fmt --check` fails, fix formatting first — clippy errors may be masked until fmt passes. If `cargo` is not in PATH locally (e.g. you are on a machine without Rust installed), push to a draft PR and let CI run the checks. Read the CI log carefully; do not guess at what failed. …
Read the whole file at its exact version.
How to install
mdr add zaxbyhub/opencode-swarm/rust-crate-ci@sha256:4f065664cf1400daThe line at the top of this page pins the label git:20261012.097422c, 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_rmjtfdnualux3qcx)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between May 31, 2026 and Oct 12, 2026, about one every 45 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261012.097422c latest | 2026-10-12 | 097422c | 6,934 B | A | view · diff |
| git:20260711.5972d3e | 2026-07-11 | 5972d3e | 6,920 B | A | view · diff |
| git:20260702.fa69d6a | 2026-07-02 | fa69d6a | 6,897 B | A | view · diff |
| git:20260531.f06904b | 2026-05-31 | f06904b | 6,707 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 (6934 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
zaxbyhub/opencode-swarm · 518 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rmjtfdnualux3qcx GET https://markdownregistry.com/api/v1/resolve?ref=zaxbyhub/opencode-swarm/rust-crate-ci GET https://markdownregistry.com/api/v1/blob/4f065664cf1400da6614f6eb7dc2a651390b0a19c8ad8e0b7cc729a370286928
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.