Skip to content

[Docs] Document template generation in environment creation skills - #7928

Merged
ooctipus merged 1 commit into
isaac-sim:developfrom
StafaH:docs/environment-creation-skills-pr
Sep 21, 2026
Merged

ooctipus merged 1 commit into
isaac-sim:developfrom
StafaH:docs/environment-creation-skills-pr

Conversation

@StafaH

@StafaH StafaH commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Description

The environment-building skill skipped the template generator, and migration guidance still described the legacy extension layout. Document uv run isaaclab --new, external versus internal scaffolding, the current src/ layout, task discovery, backend selection, and validation. Link conversions and migrations to that workflow and add external/internal project evaluation scenarios.

Related to #5278. This improves the existing environment-authoring skills; it does not implement the proposed two-stage JSON pipeline or establish its benchmark acceptance criteria.

Type of change

  • Documentation update

Validation

  • uv run --no-project python tools/skills/cli.py check: 23 skills validated.
  • uv run python -m pytest --confcutdir=tools/template tools/template/test_cli.py -q: 9 passed. The collection boundary avoids the repository-wide test orchestrator.
  • uv run isaaclab -f: passed with the changelog base set to a local reference fetched from upstream develop.
  • uv run --isolated --extra dev -- make -C docs current-docs: passed with no warnings or errors. The current dev extra supplies Sphinx; test alone no longer includes it.
  • git diff --check: passed.

Release backport

  • Backport this pull request to the active release branch after it merges into develop

Checklist

  • Read the contribution guidelines.
  • Ran formatting and pre-commit checks.
  • Updated documentation and representative skill evaluation scenarios.
  • Ran existing template generator tests.
  • No source packages changed; package changelog fragments are not applicable.
  • Contributor name already exists in CONTRIBUTORS.md.

@StafaH
StafaH requested a review from a team September 21, 2026 04:25
@greptile-apps

greptile-apps Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The documentation changes appear safe to merge, with the updated commands, layouts, links, and discovery behavior aligned with the repository’s current generator and CLI.

Summary

This documentation-only PR updates the environment-authoring skills to use the current template-generator workflow.

  • Documents external versus internal scaffolding and the generated src/ package layout.
  • Explains task discovery, backend selection, registration checks, and simulation validation.
  • Aligns Isaac Gym migration and direct-to-manager conversion guidance with fresh, non-destructive scaffolding.
  • Adds evaluation scenarios covering external projects and internal source-tree tasks.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Environment request] --> B{New package needed?}
  B -- Yes --> C[Run uv run isaaclab --new]
  C --> D{Project type}
  D -- External --> E[Generate standalone src-layout project]
  D -- Internal --> F[Generate under source/isaaclab_tasks]
  B -- No --> G[Preserve existing project layout]
  E --> H[Run uv sync and list_envs.py]
  F --> I[List tasks from Isaac Lab root]
  G --> J[Integrate reference scaffold pieces]
  H --> K[Registration and random-agent checks]
  I --> K
  J --> K
  K --> L{PhysX required?}
  L -- Yes --> M[Use isaacsim extra and isaacsim_physx preset]
  L -- No --> N[Use default Newton runtime]
  M --> O[Short training and behavioral validation]
  N --> O
Loading

Reviews (1) · Last reviewed commit: "Document template generation in environm..."

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

The documentation centralizes new-task scaffolding in the environment-building skill and updates conversion and Isaac Gym migration guidance to use the current uv run isaaclab --new, generated src/ layout, and project-root uv workflow. No actionable finding is supported by the patch.

  • Design and architecture: The reviewed design makes create-environments/SKILL.md#scaffold-a-new-task the shared scaffolding authority while preserving distinct external-project and internal-checkout workflows. Related skills link to that workflow instead of retaining legacy extension, callback, or PYTHONPATH setup. The shortened routing description uses broader sensor terminology, while the contact-specific negative-routing scenario remains documented in the evaluations.
  • API: No source API or registration implementation changes. The affected compatibility surface is documentation for the existing Isaac Lab CLI, generated-project entry point, task discovery commands, and backend selection. The updated relative links and heading anchors are internally consistent in the supplied files.
  • Implementation: The changed paths consistently distinguish external project-root commands from internal checkout commands, replace legacy migration setup with uv sync and isaaclab.tasks discovery, and retain the required skill validation command. PhysX guidance consistently pairs the isaacsim extra with the isaacsim_physx preset, while unqualified generated-project execution is described as Newton-based.

No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.

Automated review; human maintainers own approval decisions.

@StafaH

StafaH commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 21, 2026
@ooctipus
ooctipus merged commit 5d8bcf0 into isaac-sim:develop Sep 21, 2026
55 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as ad5cab3.

isaaclab-bot Bot pushed a commit that referenced this pull request Sep 21, 2026
…7928)

# Description

The environment-building skill skipped the template generator, and
migration guidance still described the legacy extension layout. Document
`uv run isaaclab --new`, external versus internal scaffolding, the
current `src/` layout, task discovery, backend selection, and
validation. Link conversions and migrations to that workflow and add
external/internal project evaluation scenarios.

Related to #5278. This improves the existing environment-authoring
skills; it does not implement the proposed two-stage JSON pipeline or
establish its benchmark acceptance criteria.

## Type of change

- Documentation update

## Validation

- `uv run --no-project python tools/skills/cli.py check`: 23 skills
validated.
- `uv run python -m pytest --confcutdir=tools/template
tools/template/test_cli.py -q`: 9 passed. The collection boundary avoids
the repository-wide test orchestrator.
- `uv run isaaclab -f`: passed with the changelog base set to a local
reference fetched from upstream `develop`.
- `uv run --isolated --extra dev -- make -C docs current-docs`: passed
with no warnings or errors. The current `dev` extra supplies Sphinx;
`test` alone no longer includes it.
- `git diff --check`: passed.

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Checklist

- [x] Read the contribution guidelines.
- [x] Ran formatting and pre-commit checks.
- [x] Updated documentation and representative skill evaluation
scenarios.
- [x] Ran existing template generator tests.
- [x] No source packages changed; package changelog fragments are not
applicable.
- [x] Contributor name already exists in `CONTRIBUTORS.md`.

(cherry picked from commit 5d8bcf0)
ooctipus added a commit that referenced this pull request Sep 24, 2026
…ng docs (#7957)

Backports the three changes from the September 20–23 `develop` audit
that are missing from `release/3.0.0`, alongside the existing
cloning-guide backport:

- #7722 (`4cf439dfeb`): reject a second `SimulationContext` construction
instead of silently discarding its configuration. Includes the original
fixture cleanup and regression coverage.
- #7893 (`22fcd71bc4`): validate DelayBuffer lag values before mutating
its live configuration.
- #7947 (`6e9ef17f59`): make `v3.0.0-EA` the default documentation
version in deployment and local multi-version builds.
- #7129 (`354168560f`): clarify that `replicate_physics=False` skips the
active physics context while other declared replication contexts still
run.

**Compatibility:** repeated `SimulationContext(...)` calls now raise.
Retrieve the live context with `SimulationContext.instance()`, or call
`clear_instance()` before constructing a replacement. The original major
changelog fragment includes this migration.

The runtime and test files match current `develop`. The docs-default
backport adapts the release branch's existing redirect template,
validates the target page, and preserves explicit overrides. The
cloning-guide backport preserves the current release APIs; its obsolete
sections were already removed.

## Release audit

Checked all **35 PRs** merged into `develop` from **2026-09-20 16:43:18
UTC** through `cff81e8473` (September 23), against release head
`5d3e0b695e`. **32 are already covered; the remaining three are included
here.** Git history, patch equivalence, GitHub's merged PR list, and
remaining file differences were checked. Branch-specific
version/changelog compilation and existing release-only changes are
preserved.

<details>
<summary>Already covered PRs</summary>

26 have an equivalent patch in release: #7919, #7922, #7923, #7924,
#7925, #6758, #7928, #7902, #7927, #7891, #7931, #7691, #7861, #7929,
#7916, #7939, #4609, #7942, #7940, #7948, #7937, #7955, #7960, #7961,
#7970, #7958.

Six were squash-merged or adapted: #7530 and #7899 in #7926; #7637 in
#7933; #7860 in #7936; #7954 and #7950 in #7964. Their implementation
differences were checked against the current release tree.

</details>

## Validation

- **276 tests passed**: SimulationContext (51, including CPU/CUDA),
headless context construction (15), nine schema/fragment suites (165),
four manager suites (38), and DelayBuffer (7).
- Both backported regressions reproduce with the original release
implementations.
- Docs redirect recipe: local/deployment EA defaults, explicit override,
and missing-target rejection passed with a stubbed Sphinx builder.
- All 22 changed files match the intended backport scope; `uv run
isaaclab -f` and `git diff --check` passed.
- Fresh Sphinx validation (`-b dummy -W --keep-going`): passed without
warnings, excluding static assets as the HTML builder does. Full HTML
documentation CI is running.

Local runtime validation used PyTorch 2.12.0, CUDA 13.0, Isaac Sim
6.0.1.0, and an RTX 5090. Existing runtime/deprecation warnings
occurred; the CI jobs validate the pinned environments.

The previous [docs CI
failure](https://github.com/isaac-sim/IsaacLab/actions/runs/35795116307/job/106972539281)
was an external connection reset fetching the Omniverse intersphinx
inventory, producing one warning under `-W`. That URL returned HTTP 200
when rechecked. This update starts a fresh docs build.

---------

Co-authored-by: hujc <[email protected]>
Co-authored-by: Zihan Xu <[email protected]>
@StafaH
StafaH deleted the docs/environment-creation-skills-pr branch October 10, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants