Generate Target Knowledge Base
Overview
This skill produces a per-profile markdown reference at
target-platform/<profile-stem>.md (sibling to the profile YAML). It
bundles three things into one file so a future Claude session — or the
user — can see the shape of the active target without re-walking the
filesystem:
- BSP image layout — top-level directories under
bsp_image.root_path, presence of canonical subtrees (rootfs/,
bootloader/, source/, …), and the nvpmodel variants matching
the active module SKU.
- Source tree layout — top-level subtrees under
source.root_path (kernel-jammy-src/, hardware/nvidia/,
nvidia-oot/, etc.) and devicetree files matching the chip family.
- Documents — the
documents.*references recorded in the
profile, with local-path existence checks and one-line descriptions.
The KB is a snapshot, dated in its header. Re-run this skill
whenever the underlying data changes — it is intentionally
re-runnable and overwrites the previous KB on each run.
When to invoke
- After
jetson-init-imageprepares the BSP for a freshly authored
profile.
- After re-extracting a BSP archive or applying patches under
bsp_image.root_path.
- After updating the source tree at
source.root_path. - After editing
bsp_image.*ordocuments.*in the profile YAML. - When a downstream skill asks "where is X in this BSP?" and you'd
rather check the KB than re-walk the tree.
Procedure
Resolve the active target
Resolve the active profile per the contract in