simready-foundation-add-validator

bởi nvidia

Dùng để thêm các trình xác thực SimReady có thể thực thi, báo cáo ID yêu cầu với phạm vi đạt/không đạt tập trung.

npx skills add https://github.com/nvidia/simready-foundation --skill simready-foundation-add-validator

SimReady Add Validator

Purpose

Use this skill to implement objective validation for one or more requirement IDs. Validators should report failures against the exact requirement code documented in the capability.

If the rule already exists but is wrong or incomplete, use simready-foundation-update-validator.

Prerequisites

Before editing, read:

  • AGENTS.md
  • nv_core/sr_specs/docs/guides/features/features.md
  • nv_core/sr_specs/docs/guides/features_expansion_workflow.md
  • nv_core/sr_specs/docs/guides/naming_conventions.md
  • target requirement markdown
  • target capability validation.py
  • nearby checker classes in the same capability
  • feature manifests that include the requirement

Inputs

Collect or infer:

InputRequirement
requirement_codesRequirement IDs this validator enforces.
validation_moduleTarget capability validation.py.
rule_nameClear checker class/function name.
asset_scopeStage, prim, property, relationship, material, physics, or runtime evidence.
failure_messageActionable message that names the failed condition.
test_assetsExisting or minimal pass/fail assets, if available.

Instructions

Use this checklist when changing the repository:

  1. Confirm requirement docs exist and the intended check is objective.
  2. Inspect existing validators in the capability and reuse local helper patterns.
  3. Add a checker class or function in validation.py with the correct registration decorators/imports used by the capability.
  4. Register every requirement ID the checker enforces and pass the matching requirement when reporting each failure.
  5. Keep failure messages specific, deterministic, and actionable.
  6. Handle missing default prims, invalid paths, unloaded/abstract prims, variants, and composed stages consistently with neighboring validators.
  7. Add focused pass/fail tests or sample validation instructions where the repo has a test pattern.
  8. Update requirement docs only if implementation clarifies edge cases.
  9. Validate consistency:
    • validator imports successfully where possible
    • requirement IDs match documented codes
    • failure messages match docs
    • feature manifests include only registered requirements when executable validation is expected

Examples

Example request:

Add a validator for a SimReady factory connection point requirement.

Expected result summary:

changed_files: new docs, manifests, indexes, or validation scaffolding
validation: focused static checks and any relevant docs/build checks
remaining_gaps: requirement, validator, adapter, profile, or runtime-test follow-up

Policies

  • Do not validate subjective guidance as a hard failure unless the requirement defines objective criteria.
  • Prefer one clear checker per rule family over tangled mega-checkers.
  • Avoid changing unrelated validators while adding a new one.
  • Use warnings only when the validation framework supports them and the requirement is advisory.
  • If local Omniverse/OAV packages are unavailable, document the narrowed validation you could run.

Limitations

  • Do not mutate published feature or profile versions in place.
  • Do not invent requirement IDs or validator behavior when the contract is ambiguous; record the question.
  • Do not skip index, manifest, validation, or downstream follow-up notes.

Troubleshooting

  • Error: the new concept overlaps an existing artifact. Solution: update the existing capability, requirement, feature, profile, or adapter instead.
  • Error: names or IDs conflict. Solution: re-check naming conventions and nearby indexes before editing further.
  • Error: validation strategy is unclear. Solution: document deferred validation and the exact follow-up skill.

Resources

  • assets/openai.yaml preserves optional UI metadata for clients that read skill display hints. It is not required for the workflow.

Summary Format

Report:

FieldMeaning
requirement_codesRequirements validated.
validation_moduleFile changed.
checkerClass/function added.
docs_alignedRequirement docs checked or updated.
testsTests/assets run or planned.
feature_impactFeatures that now have executable coverage.
validationImport/test result and remaining gaps.

Thêm skills từ nvidia

fhir-basics
nvidia
Dạy các tác nhân cách hoạt động của API FHIR R4, những tài nguyên có sẵn, cách truy vấn chúng với tham số tìm kiếm, và cách phân tích chính xác tất cả các định dạng phản hồi…
compileiq-validate-result
nvidia
Sử dụng SAU KHI tìm kiếm hoàn tất và TRƯỚC KHI yêu cầu tăng tốc hoặc gửi ACF. Tải tệp CSV dump_results, trích xuất các ứng viên top-K (đơn mục tiêu)…
changelog-audit
nvidia
Kiểm tra Warp CHANGELOG.md trước khi phát hành: khôi phục các mục bị mất, sắp xếp theo tác động người dùng, tinh chỉnh ngôn ngữ mục, xuống dòng và (chế độ nhánh phát hành) so sánh bump…
dgx-diagnose
nvidia
Chẩn đoán các sự cố thường gặp của DGX Station GB300 — lỗi CUDA, nhắm sai GPU, lỗi container vLLM/SGLang, vấn đề trạng thái MIG, lỗi NVLink/Fabric Manager,…
aicr-managing-openvex
nvidia
Use when adding, updating, or removing CVE/GHSA suppressions in `.openvex.json` — the OpenVEX document consumed by the daily image vulnerability scan workflow.…
aicr-creating-slide-decks
nvidia
Sử dụng khi xây dựng một bộ trình chiếu HTML độc lập hoặc điểm trình bày trực quan cho một khái niệm kỹ thuật hoặc quy trình làm việc (ví dụ: demos/*.html) — hiển thị toàn màn hình hoặc…
aicr-creating-guided-demos
nvidia
Tạo khung kịch bản demo có hướng dẫn tương tác (demos/*.sh), trực tiếp hoặc tự học, theo mẫu Frame → Tell → Show → Close. Kích hoạt khi có "demo script", "guided…
aicr-analyzing-snapshots
nvidia
Sử dụng khi phân tích tệp YAML snapshot AICR, xem xét trạng thái cụm, so sánh đặc điểm nhà cung cấp, trích xuất thông tin chi tiết về cấu trúc liên kết GPU/mạng, hoặc…