CLAUDE.mdB
CLAUDE.md from borenchan/sdkmate is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add borenchan/sdkmate/CLAUDE.md@git:20261107.83ddc00Pins git:20261107.83ddc00 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 13 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- borenchan/sdkmate
- Path
CLAUDE.md- Versions recorded
- 19
- Latest version
- git:20261107.83ddc00, committed Nov 7, 2026
- First version recorded
- Sep 11, 2026
- Size
- 19,849 bytes
- Repository stars
- 146
- License
- Apache-2.0
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
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## 项目概述
**sdkmate**(`sdkm`)是一款面向全栈工程师的跨平台 SDK 版本管理器,用 Rust 编写。通过符号链接切换 + 操作系统环境变量操纵,管理 Java、Node.js、Python、Maven、Go 等开发环境的版本。
## 构建与开发命令
```bash
cargo build # 调试构建
cargo build --release # 发布构建(产出 sdkm 二进制)
cargo test # 运行所有测试(workspace 级别)
cargo test -p <crate> # 运行指定 crate 的测试(cli / sdkcore / util)
cargo fmt # 格式化代码
cargo clippy --all-targets --all-features # 代码检查
```
## 工作区架构
三成员 Cargo workspace + 根二进制包:
```
sdkmate (root) → 产出 sdkm 二进制,入口在 main.rs;tests/cli_golden.rs(CLI 集成金样)
crates/cli → CLI 前端:clap 命令定义 + handler 实现 + terminal_sink(事件适配器)
+ terminal.rs/macros.rs(终端渲染原语与输出宏)
crates/sdkcore → 核心业务(纯数据 API):config、init、install、list、switch、version、
env 操作、符号链接;report.rs(事件契约)
crates/util → 共享工具:SDK 类型、配置辅助、路径、shell backend、诊断数据(diagnostics)
```
**依赖关系**:`cli → sdkcore, util`;`sdkcore → util`;`util` 无内部依赖。所有 crate 继承 workspace 元数据,均为 `publish = false`。
**分层铁律(GUI 铺路,2026-11-06 落地)**:
…Read the whole file at its exact version.
How to install
mdr add borenchan/sdkmate/CLAUDE.md@sha256:67d6f55b65e59ec9The line at the top of this page pins the label git:20261107.83ddc00, 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_svrxalv6gd3vejl7)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 19 versions of this file, between Sep 11, 2026 and Nov 7, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261107.83ddc00 latest | 2026-11-07 | 83ddc00 | 19,849 B | B | view · diff |
| git:20261107.27787e0 | 2026-11-07 | 27787e0 | 19,181 B | B | view · diff |
| git:20261107.38054dc | 2026-11-07 | 38054dc | 18,729 B | B | view · diff |
| git:20261107.f73b370 | 2026-11-07 | f73b370 | 18,192 B | B | view · diff |
| git:20261106.80d7a2c | 2026-11-06 | 80d7a2c | 19,615 B | B | view · diff |
| git:20261103.8aa6a43 | 2026-11-03 | 8aa6a43 | 18,828 B | B | view · diff |
| git:20261102.893f791 | 2026-11-02 | 893f791 | 20,669 B | B | view · diff |
| git:20261028.1bdda71 | 2026-10-28 | 1bdda71 | 16,484 B | B | view · diff |
| git:20261028.570ce53 | 2026-10-28 | 570ce53 | 17,362 B | B | view · diff |
| git:20261028.f375eae | 2026-10-28 | f375eae | 16,312 B | B | view · diff |
| git:20261023.ea1b9e2 | 2026-10-23 | ea1b9e2 | 17,692 B | B | view · diff |
| git:20261023.b07c089 | 2026-10-23 | b07c089 | 17,370 B | B | view · diff |
| git:20261021.4440235 | 2026-10-21 | 4440235 | 16,322 B | B | view · diff |
| git:20261021.959bf53 | 2026-10-21 | 959bf53 | 17,086 B | B | view · diff |
| git:20260923.604a164 | 2026-09-23 | 604a164 | 16,007 B | B | view · diff |
| git:20260923.5b397e2 | 2026-09-23 | 5b397e2 | 15,595 B | B | view · diff |
| git:20260923.9109099 | 2026-09-23 | 9109099 | 17,873 B | B | view · diff |
| git:20260911.443ffd5 | 2026-09-11 | 443ffd5 | 14,881 B | B | view · diff |
| git:20260911.94f3b02 | 2026-09-11 | 94f3b02 | 15,615 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:7890)
- pass: Size between 200 bytes and 200 KB (19849 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 script tag
Starting a new one? Use a template for CLAUDE.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
borenchan/sdkmate · 146 stars · license Apache-2.0 · pushed 2026-11-07 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_svrxalv6gd3vejl7 GET https://markdownregistry.com/api/v1/resolve?ref=borenchan/sdkmate/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/67d6f55b65e59ec9483f6d255073d6407d86c942695d7ec2f6f1df852ef5df8c
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: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.
More from borenchan/sdkmate
Every file in borenchan/sdkmate