npx skills add ...
npx skills add nvidia/skills --skill holohub-module-lifecycle
Use for reusable Holoscan Module work with ./holohub: scaffold, tests, editable install, DEB/WHEEL packaging, and clean-consumer proof.
npx skills add nvidia/skills --skill holohub-module-lifecycle
Take a reusable Holoscan Module from layout and API contract through producer, consumer, and clean artifact-install proof.
Require the API contract, checkout, layout, identities, SDK floor, license, maintainer, package formats, and acceptance checks from the request or an authoritative repository source. If consequential release metadata remains unknown, stop before scaffolding or packaging rather than guessing.
Route an ordinary app to holohub-app-lifecycle and a concrete failing or
wrong ./holohub command to holohub-debug-build-run. If the matching skill
is unavailable, preserve the handoff context and name the skill to install
instead of broadening this workflow.
The selected checkout's AGENTS.md, local help, module guidance, schemas,
templates, tutorials, and nearby examples are the live technical authority
where they do not conflict with user, system, or safety constraints.
At any step, a failing effect-bearing wrapper command ends this happy path; follow Troubleshooting with its exact context. Parse read-only diagnostic results and stop only when a failed capability is required by the module, consumer, packaging environment, or requested proof.
holoscan-<name> repository for
independent release or an in-tree descriptor under modules/ for code
maintained with HoloHub.snake_case
module/namespace, holoscan-<kebab-case> repository/package, and
snake_case_op operator slug consistent.test <module> is not module-scoped. In a generated repository, combine its
repository-wide test with focused pytest or CTest targets.env-info --json. Record the hook and remove it even if a later step fails;
if removal fails, report the exact environment and hook state.git diff --check, and final status. In a dirty checkout, restrict
auto-fixing lint to task paths; before a requested commit, validate the
exact candidate change with the repository-required full lint in a clean
disposable checkout. Confirm no generated artifacts or editable hooks are
staged. Do not commit, push, upload, publish, or release unless requested.If a wrapper command fails, stop the happy path and hand off its exact command,
revision, dirty state, inputs, and observed result to
holohub-debug-build-run.
sudo ./holohub; obtain approval for host packages, host-local
execution, root containers, devices/capabilities, or permission changes.Return layout and identities, public API/demo, metadata and registrations, preview and real command results, honest test scope, consumer proof, artifact identity/contents/install results, licensing and publication limits, and final worktree state.
For a planning-only request, return the proposed order, authoritative metadata sources, approval boundaries, and proof requirements without claiming results.