brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
development-and-testingGuide TorchRL code changes, tests, docs, CI labels, deprecations, and contributor policy for maintainer-safe edits.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user wants to modify TorchRL code, add or change a public API, write tests, update docs or tutorials, add a benchmark, decide CI labels, handle CUDA/optional backend test markers, maintain Hydra config parity, or prepare a maintainer-quality PR.
Do not use this sub-skill as the primary source for runtime API recipes. Route API usage and debugging to the workflow sub-skills first, then return here for edit policy, testing, documentation, and CI decisions.
step_mdp implementation details: route to the envs/transforms workflow owner, then apply this sub-skill for tests/docs.Read these in order for development tasks:
scripts/list_relevant_tests.py: suggest likely test files and CI focus areas from touched paths.scripts/check_gpu_marker_policy.py: statically flag CUDA-only skip conditions that are missing pytest.mark.gpu.Both scripts are standalone and only inspect files or paths explicitly passed to them.
Before claiming a TorchRL code change is ready:
.py files start with from __future__ import annotations._has_<name> probe.torchrl.implement_for for version dispatch rather than hand-rolled version checks.torchrl.timeit; do not add print() to library code or time.time() timing blocks.NestedKey for TensorDict keys, and Literal[...] for fixed string modes.NestedKey.pytest.mark.gpu to CUDA-only tests that also use CUDA/Triton skip conditions.*Config companion, keep constructor kwargs, config fields, factory popping/forwarding, defaults, and doc cross-references in parity.