Skip to main content

nativelink-dependency-update

Use when updating NativeLink Cargo dependencies, Bazel module dependencies, rules_rust pins, lock files, toolchains, or generated dependency metadata.

소스 정보

저장소
tracemachina/nativelink
최근 소스 활동
2026년 4월 30일 14:40
감지된 SKILL.md 언어
영어
스타
1,610
포크
248

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
nativelink-dependency-update
description
Use when updating NativeLink Cargo dependencies, Bazel module dependencies, rules_rust pins, lock files, toolchains, or generated dependency metadata.
# NativeLink Dependency Updates Use this skill for dependency bumps, Rust toolchain changes, Bazel module changes, lock file updates, and dependency cleanup. ## Files To Inspect NativeLink keeps Cargo and Bazel dependency state connected. Check the relevant set before editing: - `Cargo.toml` - crate-level `Cargo.toml` files - `Cargo.lock` - `MODULE.bazel` - `MODULE.bazel.lock` - `.bazelrc` - `flake.nix` and `flake.lock` when tooling comes from Nix `MODULE.bazel` uses `crate.from_cargo` with workspace crate manifests. Cargo changes can affect Bazel resolution. ## Update Rules - Prefer the repository's established tooling over hand-editing generated lock content. - Use `cargo update -p <crate>` for targeted Cargo bumps when appropriate. - Use Bazel module tooling for Bazel dependency lock updates when required. - If changing workspace lints or flags, check whether `.bazelrc` must be regenerated. The file notes that lint config is kept in sync with the top-level Cargo config through `tools/generate-bazel-rc`. - Don't delete or regenerate broad lock files unless the task explicitly requires it. - Keep feature changes narrow. Feature unification can change behavior across crates. ## Validation Use a dependency-specific verification ladder: ```bash cargo check --all bazel build //:nativelink ``` For Rust dependency bumps: ```bash cargo test --all --profile=smol bazel test //... ``` For Bazel, rules, or toolchain changes: ```bash bazel build //... bazel test //... ``` When tool versions mismatch locally, enter the Nix development shell: ```bash nix --extra-experimental-features nix-command --extra-experimental-features flakes develop ``` ## Final Report Include: - Dependency names and old/new versions. - Lock files or generated metadata changed. - Commands run. - Any known resolver, feature, or platform risk.
GitHub에서 보기