Skip to main content

nativelink-config-protocol

Use when changing NativeLink JSON5 configuration, deployment examples, protobuf/service protocol surfaces, or compatibility-sensitive config behavior.

소스 정보

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

설치 방법

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

소스 파일 검토

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

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
nativelink-config-protocol
description
Use when changing NativeLink JSON5 configuration, deployment examples, protobuf/service protocol surfaces, or compatibility-sensitive config behavior.
# NativeLink Config And Protocol Changes Use this skill when a task touches `nativelink-config`, JSON5 examples, deployment config, protobuf definitions, generated protocol code, or service APIs. ## Config Changes NativeLink config changes usually require more than editing one struct. Check: - `nativelink-config/` for config structs and serialization behavior. - `nativelink-config/examples/` for JSON5 examples. - `deployment-examples/`, `deploy/`, `kubernetes/`, and `templates/` for user-facing config samples. - Tests that load example config files. Preserve compatibility where practical: - Add default values when old config files should continue to load. - Avoid renaming public fields without aliases or migration notes. - Keep comments in JSON5 examples accurate and actionable. - Treat config validation errors as user-facing diagnostics. ## Protocol Changes For service or proto work, inspect both the generated API surface and the implementation layer: - `nativelink-proto/` for protobuf definitions and generated interfaces. - `nativelink-service/` for REAPI, bytestream, BEP, worker API, and health service behavior. - `nativelink-util/` for shared digest/proto conversion helpers. Don't manually edit generated code unless the repository's generation workflow requires checked-in generated changes. ## Testing Start focused: ```bash bazel test //nativelink-config/... bazel test //nativelink-service/... ``` Then broaden when the change crosses service boundaries: ```bash bazel build //:nativelink bazel test //... ``` For docs or examples: ```bash bazel build docs bazel build nativelink-config:docs bazel test doctests ``` ## Review Checklist - Existing config files still load. - New fields have defaults where needed. - Error messages identify the invalid field or service behavior. - Examples and templates match the implementation. - Protocol changes are reflected in service tests and consumers.
GitHub에서 보기