simready-foundation-add-validator

작성자: nvidia

실행 가능한 SimReady 검증기를 추가하는 데 사용되며, 요구 사항 ID를 집중된 통과/실패 범위로 보고합니다.

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

  • Protect unrelated local work: before editing shared repository files (spec markdown, requirement/feature JSON, profile TOML, validators, skills, or docs), check git status for unrelated in-progress changes and scope edits to the requested task. Never revert, overwrite, discard, stash, or commit a user's uncommitted or unrelated changes; if a file you must edit already carries pending unrelated edits, surface it and confirm before proceeding.
  • Keep secrets out of the repo and evidence: never write user-provided tokens, credentials, API keys, or other secrets into files, source, logs, validation or evaluation reports, commit messages, or bug/Jira/Confluence attachments, and do not echo them in full; read them from environment variables or an existing credential store and redact them from any output you preserve.
  • 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.

nvidia의 다른 스킬

accelerated-computing-cudf
nvidia
공식 NVIDIA 작성 NVIDIA cuDF GPU 데이터프레임, pandas 가속, dask-cuDF, ETL, 조인, groupby, CSV/Parquet I/O, nullable 의미론 등에 대한 안내
accessibility
nvidia
정적 분석, 런타임 테스트, ARIA 패턴, 키보드 탐색, 색상 대비를 아우르는 통합 접근성 감사 워크플로입니다. 이 스킬을 사용하세요…
accessing-mlflow
nvidia
MLflow에 저장된 평가 결과를 조회하고 탐색합니다. 사용자가 호출 ID로 실행을 조회하거나, 모델 간 메트릭을 비교하거나, 아티팩트를 가져오려 할 때 사용하세요.
add-binding-feature
nvidia
핵심 런타임과 영향을 받는 모든 바인딩에서 공용 NeMo Relay API 표면을 추가하거나 변경합니다.
add-middleware
nvidia
NeMo Relay 미들웨어 파이프라인에 새로운 가드레일 또는 인터셉트 유형을 추가합니다.
aicr-analyzing-snapshots
nvidia
AICR 스냅샷 YAML 파일을 분석하거나, 클러스터 상태를 검토하거나, 공급자 특성을 비교하거나, GPU/네트워크 토폴로지 인사이트를 추출할 때 사용합니다...
aicr-auditing-docs
nvidia
AICR의 Markdown 문서를 검토할 때 중복, 표류, 비대, 공백을 확인하여 프로젝트가 발전함에 따라 문서의 가치를 높게 유지하기 위해 사용합니다. "감사…"로 시작하는 트리거에 반응합니다.
aicr-creating-guided-demos
nvidia
대화형 안내 데모 스크립트(demos/*.sh)를 라이브 또는 자기 주도 방식으로 Frame → Tell → Show → Close 패턴에 따라 구조화한다. "데모 스크립트", "안내…"와 같은 표현에 반응한다.