simready-foundation-add-feature
用于添加SimReady功能文档、清单、需求映射、验证策略和索引条目。
npx skills add https://github.com/nvidia/simready-foundation --skill simready-foundation-add-featureSimReady Add Feature
Purpose
Add a brand-new feature under its owning tier. Use
simready-foundation-update-feature when an existing feature contract changes.
Prerequisites
Read AGENTS.md, the feature/profile/adapter guides, feature-template.md, the
shared feature index and dependency graph, neighboring feature definitions,
and every selected requirement/validator.
Inputs
id: exact<name>[.<runtime>].<version>ID, for exampleFET004_Multibody.PhysX.2-0-4.runtime_promise: concrete asset behavior.capabilities: exactCAP-prefixed static contracts.requirements: static requirement IDs local to this runtime feature.dependencies: exact dotted feature IDs; never wildcards.additional_requirements: requirements added by the runtime implementation.adapters: exact adapter modules/entry points.runtime_tests: executable evaluation evidence.profile_targets: profile selectors/versions expected to adopt the feature.
Contract rules
- Feature identity exists only in
id; do not add separate identity fields namedname,runtime, orversion. - The ID has two segments for neutral contracts or three for runtime variants.
- Published IDs are immutable.
- Every runtime feature must declare non-empty
additional_requirements,adapters, andruntime_tests. - A testless FET must be
source=trueand have tested derived FETs; every other static contract is aCAPcapability. - Dependencies and adapter endpoints are exact IDs.
- Profile wildcards are selectors and are not feature or adapter identities.
Workflow
- Define the runtime promise before selecting requirements.
- Confirm the feature name/runtime/version does not already exist.
- Prefer existing CAP-prefixed capability requirements and validators.
- Create strict JSON using the dotted ID and create matching markdown from
feature-template.md. - For a runtime feature, add additional requirements, adapters, runtime tests,
and a conform skill. For a source FET, add
source=trueand confirm tested derived FETs name it. Otherwise create/update a capability instead. - Keep docs and JSON requirement/dependency/adapter/test lists synchronized.
- Update the shared feature index and dependency graph. When the new contract
carries a Foundations 1
legacy_identity, add its(id, version)-> dotted ID mapping to the owning tier'scatalog-map.json. Regenerate the sharedfeatures.md/capabilities.mdhubs withnv_core/tiers/_tooling/migrate_foundations2_catalog.py --write-hubsinstead of hand-editing them. - Resolve every affected profile selector against the complete installed catalog and review wildcard matches.
- Use add/update-profile for profile adoption; never mutate a published profile version.
- Run strict contract, JSON, requirement, dependency, docs, adapter, and runtime checks available in the workspace.
Compatibility
Do not rewrite published Foundations 1 manifests in place. New Foundations 2 content uses dotted IDs. If a legacy loader is still required, expose an alias or compatibility view without making that alias a second identity.
Summary
Report the dotted ID, owning tier, requirements, additional requirements, dependencies, adapters, runtime tests, affected profile selectors, changed files, validation run, and remaining blockers.