agentleFS
NVIDIAKnown publisherNVIDIA/NeMo-Fabric/.agents/skills/validate-change/SKILL.md

validate-change

Skill73 starsChanged 58 days agoApache-2.0View on GitHub

Choose and run the right NeMo Fabric validation matrix for a change instead of using one fixed test list

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 7 are distinctive, and 17 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 17

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use karpathy-guidelines alongside this skill for implementation or review work.

    line 13
  2. Distinctive:

    Use this skill to choose the smallest validation set that still covers the surfaces touched by a change.

    line 17
  3. Very specific:

    If Rust code changed, run cargo fmt --all -- --check and just test-rust.

    line 24
  4. Very specific:

    If Python code or a Python-facing adapter changed, run just test-python.

    line 25
  5. Very specific:

    If the TypeScript adapter contract or one of its source schemas changed, run just test-typescript.

    line 26
  6. Very specific:

    If crates/fabric-core changed in a way exposed through Python, run both the Rust and Python suites.

    line 28
  7. Very specific:

    If the PyO3 bridge or package metadata changed, run just build-python and cargo check -p fabric-python --locked.

    line 30
  8. Very specific:

    If public configuration types changed, confirm the schema snapshot tests in just test-rust pass and review generated schema diffs.

    line 32
  9. Distinctive:

    If an adapter or integration changed, run its focused tests.

    line 34
  10. Very specific:

    If a Cargo or Python manifest or lockfile changed, run uv run --no-project python scripts/licensing/license_diff.py --base-ref origin/main, …

    line 35
  11. Very specific:

    If the TypeScript manifest or npm lockfile changed, inspect the complete npm dependency tree and license fields, confirm the package still …

    line 39
  12. Very specific:

    If documentation or examples changed, run just docs when practical and verify documented commands against the current repository.

    line 43
  13. Distinctive:

    If code changes alter APIs, commands, paths, packaging behavior, telemetry semantics, or documented best practices, update dependent …

    line 45
  14. Distinctive:

    Run Rust formatting and tests.

    line 54
  15. Very specific:

    Use python-tests, run focused pytest tests first, then run just test-python.

    line 56
  16. Very specific:

    Run the focused adapter tests under tests/adapters, then just test-python.

    line 60
  17. Very specific:

    Use qualify-harbor for real inference and container checks across the adapter catalog or a developer subset.

    line 62
  18. Very specific:

    Run the Rust, Python, and TypeScript suites and review changes under schemas/, the checked-in Python adapter-contract representations, …

    line 69
  19. Very specific:

    Use contribute-docs and review-doc-style.

    line 73
  20. Very specific:

    Use maintain-ci or maintain-packaging, then run the recipes and checks whose behavior changed.

    line 76
  21. Distinctive:

    Before review or handoff:

    line 122
  22. Distinctive:

    Verify README and docs entry points still match current package names and paths.

    line 124
  23. Very specific:

    Verify examples use current just recipes and public commands.

    line 126
  24. Distinctive:

    Call out checks that were not run and why.

    line 127

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Validate a Change

Companion Guidance

Use karpathy-guidelines alongside this skill for implementation or review work. Keep changes scoped, surface assumptions, and define focused validation before editing.

Use this skill to choose the smallest validation set that still covers the surfaces touched by a change.

Mandatory Rules

  • Format changed files with the language-native formatter before the final test pass.
  • If Rust code changed, run cargo fmt --all -- --check and just test-rust.
  • If Python code or a Python-facing adapter changed, run just test-python.
  • If the TypeScript adapter contract or one of its source schemas changed, run just test-typescript.
  • If crates/fabric-core changed in a way exposed through Python, run both the Rust and Python suites.
  • If the PyO3 bridge or package metadata changed, run just build-python and cargo check -p fabric-python --locked.
  • If public configuration types changed, confirm the schema snapshot tests in just test-rust pass and review generated schema diffs.
  • If an adapter or integration changed, run its focused tests.
  • If a Cargo or Python manifest or lockfile changed, run uv run --no-project python scripts/licensing/license_diff.py --base-ref origin/main, review the transitive license changes, then run the attributions-rust and attributions-python pre-commit hooks.
  • If the TypeScript manifest or npm lockfile changed, inspect the complete npm dependency tree and license fields, confirm the package still has zero production dependencies, run the attributions-node pre-commit hook, and run its package and audit checks.
  • If documentation or examples changed, run just docs when practical and verify documented commands against the current repository.
  • If code changes alter APIs, commands, paths, packaging behavior, telemetry semantics, or documented best practices, update dependent maintainer skills in the same branch. Because the consumer skills under skills/ restate SDK guide, Pydantic model, and Rust type details, update them in parity whenever those surfaces change.

Start With the Change Shape

  • Rust core, CLI, or shared runtime semantics changed Run Rust formatting and tests. Add Python tests when the behavior is exposed through the SDK, and run relevant tests for CLI behavior.
  • Python SDK or PyO3 binding changed Use python-tests, run focused pytest tests first, then run just test-python. Rebuild with just build-python when native code or packaging changed.
  • Adapter behavior changed Run the focused adapter tests under tests/adapters, then just test-python.
  • Harbor integration changed Use qualify-harbor for real inference and container checks across the adapter catalog or a developer subset. Retain its complete catalog report; deterministic tests alone do not establish an all-harness integration pass. Run tests/integrations/test_harbor_runner.py and tests/python/test_adapter_capabilities.py, then just test-python. For host admission changes, verify metadata inspection without harness SDKs or task discovery, selected telemetry claims, and task-side descriptor drift rejection before startup.
  • Schema or public contract changed Run the Rust, Python, and TypeScript suites and review changes under schemas/, the checked-in Python adapter-contract representations, generated TypeScript sources, and generated API references.
  • Documentation-only change Use contribute-docs and review-doc-style. Run just docs for docs-site or generated-reference changes.
  • CI or packaging changed Use maintain-ci or maintain-packaging, then run the recipes and checks whose behavior changed.

Core Validation Matrix

just test-rust
just test-python
just test-typescript

Common Targeted Commands

# Rust
just build-rust
just test-rust
cargo fmt --all -- --check
cargo check -p fabric-python --locked

# Python and native extension
just build-python
just test-python
uv run --no-sync pytest -k "<pattern>"

# TypeScript adapter contract
just build-typescript
just test-typescript
just pack-typescript

# Documentation
just docs

# Dependency licenses
uv run --no-project python scripts/licensing/license_diff.py --base-ref origin/main
uv run pre-commit run --all-files attributions-rust
uv run pre-commit run --all-files attributions-python
uv run pre-commit run --all-files attributions-node

# Justfile and patch hygiene
just --fmt --check
git diff --check

Hygiene Checks

Before review or handoff:

  • Verify README and docs entry points still match current package names and paths.
  • Verify examples use current just recipes and public commands.
  • Call out checks that were not run and why.
  • Run git diff --check.

References

  • Python test guidance: python-tests
  • Build and test recipes: justfile
  • Python CI: .github/workflows/ci_python.yml
  • Rust CI: .github/workflows/ci_rust.yml
  • TypeScript CI: .github/workflows/ci_typescript.yml
  • Documentation CI: .github/workflows/fern-docs.yml
  • Public Python contract: docs/python-sdk-contract.md
  • Public adapter contract: schemas/SCHEMA.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.