[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CPKBBPQ9K36YRT8J5J05HT":3,"skill-same:01M7CPKBBPQ9K36YRT8J5J05HT":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M7CPKBBPQ9K36YRT8J5J05HT","jetson-link-docs",null,"Bind pre-downloaded Jetson reference docs (developer guide, design guide, pinmux, schematics) into the active profile documents block. Use after staging docs on disk; not for downloading.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fnvidia-skills\u002Fjetson-link-docs\u002Fskills\u002Fjetson-link-docs\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: jetson-link-docs\ndescription: >-\n  Bind pre-downloaded Jetson reference docs (developer guide, design\n  guide, pinmux, schematics) into the active profile documents\n  block. Use after staging docs on disk; not for downloading.\nversion: 0.0.1\nlicense: \"Apache-2.0\"\nmetadata:\n  data-classification: public\n  author: \"Jetson Team\"\n  tags:\n    - target-platform\n    - documents\n    - setup\n  domain: meta\n---\n\n# jetson-link-docs\n\n## Overview\n\nThis skill **writes** the `documents:` block of the active Jetson \u002F\nIGX target-platform profile YAML so downstream skills\n(`\u002Fjetson-generate-kb`, `\u002Fjetson-customize-pinmux`, camera \u002F pcie \u002F\nuphy, etc.) can resolve doc paths by name. It walks the user through\nevery document slot in the profile schema, tries to auto-bind each\nslot to a file under `\u003Cdocuments.root_path>\u002F` via case-insensitive\nglob matching, and writes the resulting paths back into the active\nprofile.\n\nScope is **registering pointers only** — this skill does **not** fetch\nor download. The files must already exist on disk under\n`\u003Cdocuments.root_path>\u002F`.\n\n## When to invoke\n\n- After `\u002Fjetson-init-target` finishes and the user has documents\n  on disk to register.\n- The user wants to add, change, or remove document references on an\n  existing profile.\n- A downstream skill (e.g. `jetson-generate-kb`) reports \"no documents\n  recorded\" and the user wants to fix that.\n\n## Procedure\n\n### Resolve the active target\n\nResolve the active profile + `\u003Cworkspace>` per the contract in\n[`..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md`](..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md).\nCache the loaded profile in memory — this skill mutates it in\nthe \"Write the `documents:` block back to the profile\" step.\n\n### Load the document-slot schema\n\nLoad\n[`..\u002F..\u002Freferences\u002Fplatform_template.yaml`](..\u002F..\u002Freferences\u002Fplatform_template.yaml).\nParse the `documents:` block. Each per-document field is marked\n`\u003COPTIONAL: description>`. Use the marker description as prompt text\nverbatim. Match markers with the regex\n`^\u003C(REQUIRED|OPTIONAL|DERIVED):\\s*(.*)>$` after YAML parsing strips\nsurrounding quotes.\n\nSkip `custom_carrier_schematic` and `custom_carrier_pinmux_xls`\nentirely when the active profile has no `custom_carrier:` block —\nboth are meaningless without one. This filter applies through the \"Scan and auto-match\" and \"Manual prompts for unmatched fields\" steps.\n\n### Resolve `documents.root_path`\n\nDefault: `\u003Cworkspace>\u002FDocuments`. If the profile already records\n`documents.root_path`, use it. Otherwise, if `\u003Cworkspace>\u002FDocuments\u002F`\nexists, use it (the field is **omitted** from the written profile —\ndownstream skills fall back to the workspace default). If neither is\navailable, prompt the user for an absolute path, or accept Enter \u002F\n`cancel` to skip the auto-scan. A user-provided path that doesn't\nexist is treated as skipped (warn, don't refuse — the field is\nOPTIONAL); manual prompts in the \"Manual prompts for unmatched fields\" step still run.\n\n### Resolve the product token\n\nRead the **Product Token** column from\n[`..\u002F..\u002Freferences\u002Fbsp-platforms-catalogue.md`](..\u002F..\u002Freferences\u002Fbsp-platforms-catalogue.md)\nfor the row matching `reference_devkit.name`. The token is a\ncase-insensitive glob fragment (e.g. `*orin*nano*`, `*agx*thor*`)\nconsumed by the fallback patterns in the \"Scan and auto-match\" step.\n\nIf `reference_devkit.name` has no row in the catalogue, log a warning\nand proceed without a product-token fallback — the \"Scan and auto-match\" step still works\nwith strictly SKU-keyed matching.\n\nFor custom carriers, derive `\u003Ccustom-token>` from `custom_carrier.name`\nusing this recipe: lowercase, replace each space with `*`, wrap in\n`*` on both ends. E.g. \"Acme Vision X1\" → `*acme*vision*x1*`.\n\n### Scan and auto-match\n\nSkip this step entirely if `documents.root_path` did not resolve in\nthe \"Resolve `documents.root_path`\" step (no scan target → no auto-suggest; fall through to manual\nprompts in the \"Manual prompts for unmatched fields\" step).\n\nScan the directory once (one level deep) and try to auto-match each\nremaining `\u003COPTIONAL:…>` field using the case-insensitive globs below.\nUse the lower-case `module.id` \u002F `carrier.id` \u002F `custom_carrier.id`\nstrings from the profile in the SKU column.\n\n| Field | SKU glob (primary) | Product-token glob (fallback) |\n|---|---|---|\n| `bsp_developer_guide`         | `*developer*guide*.pdf`, `*BSP*guide*.pdf` | _(no fallback — pattern is product-agnostic)_ |\n| `soc_tech_ref_manual`         | `*TRM*.pdf`, `*tech*ref*manual*.pdf` | _(no fallback — same)_ |\n| `module_data_sheet`           | `*\u003Cmodule.id>*data*sheet*.pdf`, `*\u003Cmodule.id>*datasheet*.pdf` | `\u003Ctoken>data*sheet*.pdf`, `\u003Ctoken>datasheet*.pdf` |\n| `module_design_guide`         | `*\u003Cmodule.id>*design*guide*.pdf`, `*\u003Cmodule.id>*PDG*.pdf` | `\u003Ctoken>design*guide*.pdf`, `\u003Ctoken>PDG*.pdf` |\n| `module_thermal_design_guide` | `*\u003Cmodule.id>*thermal*.pdf` (covers \"Thermal Design Guide\" \u002F \"TDG\") | `\u003Ctoken>thermal*.pdf` |\n| `module_schematic`            | `*\u003Cmodule.id>*schem*.pdf` | `\u003Ctoken>schem*.pdf` |\n| `carrier_board_spec`          | `*\u003Ccarrier.id>*board*spec*.pdf`, `*\u003Ccarrier.id>*spec*.pdf` | `\u003Ctoken>carrier*spec*.pdf` |\n| `carrier_schematic`           | `*\u003Ccarrier.id>*schem*.pdf` | `\u003Ctoken>carrier*schem*.pdf` |\n| `custom_carrier_schematic`    | `*\u003Ccustom_carrier.id>*schem*.pdf` (only if custom carrier) | `\u003Ccustom-token>schem*.pdf` (only if custom carrier) |\n| `ref_devkit_pinmux_xls`       | `*\u003Ccarrier.id>*pinmux*.xls*` (matches `.xls`, `.xlsx`, `.xlsm`) | `\u003Ctoken>pinmux*.xls*` |\n| `custom_carrier_pinmux_xls`   | `*\u003Ccustom_carrier.id>*pinmux*.xls*` (only if custom carrier) | `\u003Ccustom-token>pinmux*.xls*` (only if custom carrier) |\n\n`\u003Ctoken>` is the catalogue-resolved product token; `\u003Ccustom-token>`\nis derived from `custom_carrier.name` per the \"Resolve the product token\" step. Tokens already\ninclude leading\u002Ftrailing `*`, so the table does not repeat them.\n\n### Match policy per field\n\nFor each field that has auto-match results:\n\n- Take the **union** of hits across the SKU glob and the product-\n  token glob, then **deduplicate by absolute path** — a file matched\n  by both globs counts once.\n- **Exactly 1 unique hit** → show the path and prompt\n  `use this? (yes\u002Fno, default yes)`. On `yes`, record it and **skip**\n  the manual prompt for that field. On `no`, fall through to the\n  manual prompt in the \"Manual prompts for unmatched fields\" step.\n- **0 hits** → skip auto-suggest entirely for that field; fall\n  through to the \"Manual prompts for unmatched fields\" step.\n- **2+ unique hits** → present them as a numbered list in the \"Manual prompts for unmatched fields\" step so\n  the user can pick by number rather than typing a path; include a\n  `skip \u002F NA` option. Never silently bind a multi-hit candidate.\n- **Never silently bind** without user confirmation —\n  wrong-schematic \u002F wrong-pinmux bindings are real and costly.\n\nIf `documents.root_path` is folder-organised one level deeper than\nflat (NVIDIA archives often are: `Schematics\u002F`, `Design-Guides\u002F`,\n`Pinmux\u002F`, etc.), the file globs may return zero hits even when the\nright documents exist. v0.2 only scans one level deep — when 0 hits\nis suspicious (`documents.root_path` exists but no fields auto-bound),\nsurface the limitation to the user and offer to fall through to\nmanual prompts.\n\n### Manual prompts for unmatched fields\n\nFor every field that wasn't auto-bound (and wasn't filtered out in\nthe \"Load the document-slot schema\" step), prompt using the marker description from the \"Load the document-slot schema\" step as prompt\ntext, in document order. Accept Enter and `NA` interchangeably as\n\"skip this field\". When the \"Match policy per field\" step produced 2+ candidate hits for a\nfield, present them as a numbered list with a `skip \u002F NA` option\nrather than asking for a free-text path.\n\nValidate that user-provided paths exist on disk (warn if not, but do\nnot refuse — the user may be recording a planned path). URLs (values\nstarting with `http:\u002F\u002F`, `https:\u002F\u002F`, or `ftp:\u002F\u002F`) are accepted\nverbatim and not validated.\n\n### Write the `documents:` block back to the profile\n\nEdit `target-platform\u002F\u003Cactive>.yaml` in place. Preserve all other\ntop-level blocks (`reference_devkit:`, `custom_carrier:`,\n`bsp_image:`, `source:`) and their comments verbatim. Write only the\nfields the user provided — omit skipped \u002F `NA` fields entirely (no\n`NA` placeholders, no empty keys).\n\nEdge behavior: when every field was skipped (including\n`documents.root_path`), drop the `documents:` block entirely from\nthe profile — never write `documents: {}` or a block of `NA` values.\nWhen only `documents.root_path` was provided (no per-document\nbinding), record it alone — the path has value as a hint for future\nre-runs. On re-run with an existing `documents:` block, merge:\nexisting bindings are preserved unless the user picks a new file or\n`NA`; newly bound fields are added.\n\n### Confirm\n\nPrint a summary:\n\n- Profile path written.\n- `documents.root_path` — resolved value (or \"default — omitted\").\n- Auto-bound fields: count + per-field one-line list.\n- Manually entered fields: count + list.\n- Skipped fields: count.\n- A reminder that `jetson-generate-kb` re-reads `documents.*` and\n  should be re-run if a KB exists.\n\nIf a downstream skill triggered this run, tell the user to re-issue\ntheir original request; do not silently re-trigger it.\n\n## Gotchas\n\n- **Active profile must exist.** This skill writes back to whichever\n  profile is active. If no profile is active, refuse and route to\n  `jetson-set-target` \u002F `jetson-init-target`.\n- **Product-token globs are intentionally broad.** A token like\n  `*orin*nano*` matches both Orin-Nano-specific docs and combined\n  Orin-NX\u002FNano docs (e.g. `Jetson-Orin-NX-Nano-Design-Guide_…`). That\n  is usually correct for module-side docs (NVIDIA ships combined\n  manuals), but verify on schematic \u002F pinmux \u002F spec fields where\n  wrong-product binding is costly.\n- **Update `bsp-platforms-catalogue.md` when adding new product\n  rows.** The **Product Token** column is consumed by the \"Resolve the product token\" step; a\n  missing token degrades the auto-scan to SKU-only matching (the\n  skill warns and continues, but doc-rich `documents.root_path`\n  scans will degrade silently from \"5 auto-binds\" to \"fewer auto-\n  binds\").\n- **Use a round-tripping YAML loader.** the \"Write the `documents:` block back to the profile\" step mutates an existing\n  YAML file. Plain `yaml.safe_load` + `yaml.safe_dump` loses comments,\n  block ordering, and quoting style — use `ruamel.yaml` or\n  equivalent so hand-edited fields and comments survive.\n- **Re-runnable.** Re-running merges new bindings; existing\n  bindings are preserved unless the user explicitly changes them.\n  Safe to invoke as part of a profile refresh.\n\n## Prerequisites\n\n- Active target profile resolved per\n  `..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md`.\n- Documents available either under the recorded `documents.root_path`,\n  under default `\u003Cworkspace>\u002FDocuments\u002F`, or as user-provided paths \u002F\n  URLs during manual prompts. A missing root only disables auto-scan; it\n  is not a hard prerequisite.\n- `ruamel.yaml` or another round-tripping YAML writer for the profile\n  edit step.\n\n## Limitations\n\n- Registers pointers only; never downloads, copies, or renames files.\n- Per-document field set is fixed to the schema in\n  `..\u002F..\u002Freferences\u002Fplatform_template.yaml` — no ad-hoc keys.\n- Glob matching is filename-only; bad filenames in\n  `documents.root_path` will under-bind and require manual selection.\n\n## Troubleshooting\n\n- **`documents.root_path` missing** — auto-scan is skipped. Provide an\n  absolute root path, enter individual document paths \u002F URLs manually,\n  or skip the fields you do not want to bind.\n- **Multiple files match a single slot** — the skill stops and prompts;\n  pick or rename the file. Example: two\n  `Jetson-Linux-Developer-Guide*.pdf` files → keep the active version,\n  rename the stale one.\n- **Profile comments lost after write** — a non-round-tripping YAML\n  writer was used; switch to `ruamel.yaml` and rerun against a fresh\n  pristine copy.\n- **Validation fails because a binding points outside\n  `documents.root_path`** — `documents.*` are relative paths only; move\n  the file under the root and retry.\n\n## References\n\n- [`..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md`](..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md) — target-platform contract; this skill consumes and mutates the active profile.\n- [`..\u002F..\u002Freferences\u002Fbsp-platforms-catalogue.md`](..\u002F..\u002Freferences\u002Fbsp-platforms-catalogue.md) — source of the **Product Token** column for the \"Resolve the product token\" step.\n- [`..\u002F..\u002Freferences\u002Fplatform_template.yaml`](..\u002F..\u002Freferences\u002Fplatform_template.yaml) — schema for the `documents:` block (source of truth for prompts and field list).\n- [`..\u002Fjetson-init-target\u002FSKILL.md`](..\u002Fjetson-init-target\u002FSKILL.md) — sibling skill that authors target identity (`reference_devkit:`, optional `custom_carrier:`).\n- [`..\u002Fjetson-init-image\u002FSKILL.md`](..\u002Fjetson-init-image\u002FSKILL.md) — sibling skill that authors `bsp_image:`.\n- [`..\u002Fjetson-init-source\u002FSKILL.md`](..\u002Fjetson-init-source\u002FSKILL.md) — sibling skill: clones shared repos and handles `source.root_path` overrides.\n- [`..\u002Fjetson-generate-kb\u002FSKILL.md`](..\u002Fjetson-generate-kb\u002FSKILL.md) — sibling skill: consumes the `documents:` block this skill writes.\n","# jetson-link-docs\n\n## Overview\n\nThis skill **writes** the `documents:` block of the active Jetson \u002F\nIGX target-platform profile YAML so downstream skills\n(`\u002Fjetson-generate-kb`, `\u002Fjetson-customize-pinmux`, camera \u002F pcie \u002F\nuphy, etc.) can resolve doc paths by name. It walks the user through\nevery document slot in the profile schema, tries to auto-bind each\nslot to a file under `\u003Cdocuments.root_path>\u002F` via case-insensitive\nglob matching, and writes the resulting paths back into the active\nprofile.\n\nScope is **registering pointers only** — this skill does **not** fetch\nor download. The files must already exist on disk under\n`\u003Cdocuments.root_path>\u002F`.\n\n## When to invoke\n\n- After `\u002Fjetson-init-target` finishes and the user has documents\n  on disk to register.\n- The user wants to add, change, or remove document references on an\n  existing profile.\n- A downstream skill (e.g. `jetson-generate-kb`) reports \"no documents\n  recorded\" and the user wants to fix that.\n\n## Procedure\n\n### Resolve the active target\n\nResolve the active profile + `\u003Cworkspace>` per the contract in\n[`..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md`](..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md).\nCache the loaded profile in memory — this skill mutates it in\nthe \"Write the `documents:` block back to the profile\" step.\n\n### Load the document-slot schema\n\nLoad\n[`..\u002F..\u002Freferences\u002Fplatform_template.yaml`](..\u002F..\u002Freferences\u002Fplatform_template.yaml).\nParse the `documents:` block. Each per-document field is marked\n`\u003COPTIONAL: description>`. Use the marker description as prompt text\nverbatim. Match markers with the regex\n`^\u003C(REQUIRED|OPTIONAL|DERIVED):\\s*(.*)>$` after YAML parsing strips\nsurrounding quotes.\n\nSkip `custom_carrier_schematic` and `custom_carrier_pinmux_xls`\nentirely when the active profile has no `custom_carrier:` block —\nboth are meaningless without one. This filter applies through the \"Scan and auto-match\" and \"Manual prompts for unmatched fields\" steps.\n\n### Resolve `documents.root_path`\n\nDefault: `\u003Cworkspace>\u002FDocuments`. If the profile already records\n`documents.root_path`, use it. Otherwise, if `\u003Cworkspace>\u002FDocuments\u002F`\nexists, use it (the field is **omitted** from the written profile —\ndownstream skills fall back to the workspace default). If neither is\navailable, prompt the user for an absolute path, or accept Enter \u002F\n`cancel` to skip the auto-scan. A user-provided path that doesn't\nexist is treated as skipped (warn, don't refuse — the field is\nOPTIONAL); manual prompts in the \"Manual prompts for unmatched fields\" step still run.\n\n### Resolve the product token\n\nRead the **Product Token** column from\n[`..\u002F..\u002Freferences\u002Fbsp-platforms-catalogue.md`](..\u002F..\u002Freferences\u002Fbsp-platforms-catalogue.md)\nfor the row matching `reference_devkit.name`. The token is a\ncase-insensitive glob fragment (e.g. `*orin*nano*`, `*agx*thor*`)\nconsumed by the fallback patterns in the \"Scan and auto-match\" step.\n\nIf `reference_devkit.name` has no row in the catalogue, log a warning\nand proceed without a product-token fallback — the \"Scan and auto-match\" step still works\nwith strictly SKU-keyed matching.\n\nFor custom carriers, derive `\u003Ccustom-token>` from `custom_carrier.name`\nusing this recipe: lowercase, replace each space with `*`, wrap in\n`*` on both ends. E.g. \"Acme Vision X1\" → `*acme*vision*x1*`.\n\n### Scan and auto-match\n\nSkip this step entirely if `documents.root_path` did not resolve in\nthe \"Resolve `documents.root_path`\" step (no scan target → no auto-suggest; fall through to manual\nprompts in the \"Manual prompts for unmatched fields\" step).\n\nScan the directory once (one level deep) and try to auto-match each\nremaining `\u003COPTIONAL:…>` field using the case-insensitive globs below.\nUse the lower-case `module.id` \u002F `carrier.id` \u002F `custom_carrier.id`\nstrings from the profile in the SKU column.\n\n| Field | SKU glob (primary) | Product-token glob (fallback) |\n|---|---|---|\n| `bsp_developer_guide`         | `*developer*guide*.pdf`, `*BSP*guide*.pdf` | _(no fallback — pattern is product-agnostic)_ |\n| `soc_tech_ref_manual`         | `*TRM*.pdf`, `*tech*ref*manual*.pdf` | _(no fallback — same)_ |\n| `module_data_sheet`           | `*\u003Cmodule.id>*data*sheet*.pdf`, `*\u003Cmodule.id>*datasheet*.pdf` | `\u003Ctoken>data*sheet*.pdf`, `\u003Ctoken>datasheet*.pdf` |\n| `module_design_guide`         | `*\u003Cmodule.id>*design*guide*.pdf`, `*\u003Cmodule.id>*PDG*.pdf` | `\u003Ctoken>design*guide*.pdf`, `\u003Ctoken>PDG*.pdf` |\n| `module_thermal_design_guide` | `*\u003Cmodule.id>*thermal*.pdf` (covers \"Thermal Design Guide\" \u002F \"TDG\") | `\u003Ctoken>thermal*.pdf` |\n| `module_schematic`            | `*\u003Cmodule.id>*schem*.pdf` | `\u003Ctoken>schem*.pdf` |\n| `carrier_board_spec`          | `*\u003Ccarrier.id>*board*spec*.pdf`, `*\u003Ccarrier.id>*spec*.pdf` | `\u003Ctoken>carrier*spec*.pdf` |\n| `carrier_schematic`           | `*\u003Ccarrier.id>*schem*.pdf` | `\u003Ctoken>carrier*schem*.pdf` |\n| `custom_carrier_schematic`    | `*\u003Ccustom_carrier.id>*schem*.pdf` (only if custom carrier) | `\u003Ccustom-token>schem*.pdf` (only if custom carrier) |\n| `ref_devkit_pinmux_xls`       | `*\u003Ccarrier.id>*pinmux*.xls*` (matches `.xls`, `.xlsx`, `.xlsm`) | `\u003Ctoken>pinmux*.xls*` |\n| `custom_carrier_pinmux_xls`   | `*\u003Ccustom_carrier.id>*pinmux*.xls*` (only if custom carrier) | `\u003Ccustom-token>pinmux*.xls*` (only if custom carrier) |\n\n`\u003Ctoken>` is the catalogue-resolved product token; `\u003Ccustom-token>`\nis derived from `custom_carrier.name` per the \"Resolve the product token\" step. Tokens already\ninclude leading\u002Ftrailing `*`, so the table does not repeat them.\n\n### Match policy per field\n\nFor each field that has auto-match results:\n\n- Take the **union** of hits across the SKU glob and the product-\n  token glob, then **deduplicate by absolute path** — a file matched\n  by both globs counts once.\n- **Exactly 1 unique hit** → show the path and prompt\n  `use this? (yes\u002Fno, default yes)`. On `yes`, record it and **skip**\n  the manual prompt for that field. On `no`, fall through to the\n  manual prompt in the \"Manual prompts for unmatched fields\" step.\n- **0 hits** → skip auto-suggest entirely for that field; fall\n  through to the \"Manual prompts for unmatched fields\" step.\n- **2+ unique hits** → present them as a numbered list in the \"Manual prompts for unmatched fields\" step so\n  the user can pick by number rather than typing a path; include a\n  `skip \u002F NA` option. Never silently bind a multi-hit candidate.\n- **Never silently bind** without user confirmation —\n  wrong-schematic \u002F wrong-pinmux bindings are real and costly.\n\nIf `documents.root_path` is folder-organised one level deeper than\nflat (NVIDIA archives often are: `Schematics\u002F`, `Design-Guides\u002F`,\n`Pinmux\u002F`, etc.), the file globs may return zero hits even when the\nright documents exist. v0.2 only scans one level deep — when 0 hits\nis suspicious (`documents.root_path` exists but no fields auto-bound),\nsurface the limitation to the user and offer to fall through to\nmanual prompts.\n\n### Manual prompts for unmatched fields\n\nFor every field that wasn't auto-bound (and wasn't filtered out in\nthe \"Load the document-slot schema\" step), prompt using the marker description from the \"Load the document-slot schema\" step as prompt\ntext, in document order. Accept Enter and `NA` interchangeably as\n\"skip this field\". When the \"Match policy per field\" step produced 2+ candidate hits for a\nfield, present them as a numbered list with a `skip \u002F NA` option\nrather than asking for a free-text path.\n\nValidate that user-provided paths exist on disk (warn if not, but do\nnot refuse — the user may be recording a planned path). URLs (values\nstarting with `http:\u002F\u002F`, `https:\u002F\u002F`, or `ftp:\u002F\u002F`) are accepted\nverbatim and not validated.\n\n### Write the `documents:` block back to the profile\n\nEdit `target-platform\u002F\u003Cactive>.yaml` in place. Preserve all other\ntop-level blocks (`reference_devkit:`, `custom_carrier:`,\n`bsp_image:`, `source:`) and their comments verbatim. Write only the\nfields the user provided — omit skipped \u002F `NA` fields entirely (no\n`NA` placeholders, no empty keys).\n\nEdge behavior: when every field was skipped (including\n`documents.root_path`), drop the `documents:` block entirely from\nthe profile — never write `documents: {}` or a block of `NA` values.\nWhen only `documents.root_path` was provided (no per-document\nbinding), record it alone — the path has value as a hint for future\nre-runs. On re-run with an existing `documents:` block, merge:\nexisting bindings are preserved unless the user picks a new file or\n`NA`; newly bound fields are added.\n\n### Confirm\n\nPrint a summary:\n\n- Profile path written.\n- `documents.root_path` — resolved value (or \"default — omitted\").\n- Auto-bound fields: count + per-field one-line list.\n- Manually entered fields: count + list.\n- Skipped fields: count.\n- A reminder that `jetson-generate-kb` re-reads `documents.*` and\n  should be re-run if a KB exists.\n\nIf a downstream skill triggered this run, tell the user to re-issue\ntheir original request; do not silently re-trigger it.\n\n## Gotchas\n\n- **Active profile must exist.** This skill writes back to whichever\n  profile is active. If no profile is active, refuse and route to\n  `jetson-set-target` \u002F `jetson-init-target`.\n- **Product-token globs are intentionally broad.** A token like\n  `*orin*nano*` matches both Orin-Nano-specific docs and combined\n  Orin-NX\u002FNano docs (e.g. `Jetson-Orin-NX-Nano-Design-Guide_…`). That\n  is usually correct for module-side docs (NVIDIA ships combined\n  manuals), but verify on schematic \u002F pinmux \u002F spec fields where\n  wrong-product binding is costly.\n- **Update `bsp-platforms-catalogue.md` when adding new product\n  rows.** The **Product Token** column is consumed by the \"Resolve the product token\" step; a\n  missing token degrades the auto-scan to SKU-only matching (the\n  skill warns and continues, but doc-rich `documents.root_path`\n  scans will degrade silently from \"5 auto-binds\" to \"fewer auto-\n  binds\").\n- **Use a round-tripping YAML loader.** the \"Write the `documents:` block back to the profile\" step mutates an existing\n  YAML file. Plain `yaml.safe_load` + `yaml.safe_dump` loses comments,\n  block ordering, and quoting style — use `ruamel.yaml` or\n  equivalent so hand-edited fields and comments survive.\n- **Re-runnable.** Re-running merges new bindings; existing\n  bindings are preserved unless the user explicitly changes them.\n  Safe to invoke as part of a profile refresh.\n\n## Prerequisites\n\n- Active target profile resolved per\n  `..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md`.\n- Documents available either under the recorded `documents.root_path`,\n  under default `\u003Cworkspace>\u002FDocuments\u002F`, or as user-provided paths \u002F\n  URLs during manual prompts. A missing root only disables auto-scan; it\n  is not a hard prerequisite.\n- `ruamel.yaml` or another round-tripping YAML writer for the profile\n  edit step.\n\n## Limitations\n\n- Registers pointers only; never downloads, copies, or renames files.\n- Per-document field set is fixed to the schema in\n  `..\u002F..\u002Freferences\u002Fplatform_template.yaml` — no ad-hoc keys.\n- Glob matching is filename-only; bad filenames in\n  `documents.root_path` will under-bind and require manual selection.\n\n## Troubleshooting\n\n- **`documents.root_path` missing** — auto-scan is skipped. Provide an\n  absolute root path, enter individual document paths \u002F URLs manually,\n  or skip the fields you do not want to bind.\n- **Multiple files match a single slot** — the skill stops and prompts;\n  pick or rename the file. Example: two\n  `Jetson-Linux-Developer-Guide*.pdf` files → keep the active version,\n  rename the stale one.\n- **Profile comments lost after write** — a non-round-tripping YAML\n  writer was used; switch to `ruamel.yaml` and rerun against a fresh\n  pristine copy.\n- **Validation fails because a binding points outside\n  `documents.root_path`** — `documents.*` are relative paths only; move\n  the file under the root and retry.\n\n## References\n\n- [`..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md`](..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md) — target-platform contract; this skill consumes and mutates the active profile.\n- [`..\u002F..\u002Freferences\u002Fbsp-platforms-catalogue.md`](..\u002F..\u002Freferences\u002Fbsp-platforms-catalogue.md) — source of the **Product Token** column for the \"Resolve the product token\" step.\n- [`..\u002F..\u002Freferences\u002Fplatform_template.yaml`](..\u002F..\u002Freferences\u002Fplatform_template.yaml) — schema for the `documents:` block (source of truth for prompts and field list).\n- [`..\u002Fjetson-init-target\u002FSKILL.md`](..\u002Fjetson-init-target\u002FSKILL.md) — sibling skill that authors target identity (`reference_devkit:`, optional `custom_carrier:`).\n- [`..\u002Fjetson-init-image\u002FSKILL.md`](..\u002Fjetson-init-image\u002FSKILL.md) — sibling skill that authors `bsp_image:`.\n- [`..\u002Fjetson-init-source\u002FSKILL.md`](..\u002Fjetson-init-source\u002FSKILL.md) — sibling skill: clones shared repos and handles `source.root_path` overrides.\n- [`..\u002Fjetson-generate-kb\u002FSKILL.md`](..\u002Fjetson-generate-kb\u002FSKILL.md) — sibling skill: consumes the `documents:` block this skill writes.\n",{"name":5,"license":15,"version":24,"metadata":25,"description":7},"0.0.1",{"tags":26,"author":30,"domain":31,"data-classification":32},[27,28,29],"target-platform","documents","setup","Jetson Team","meta","public","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fnvidia-skills\u002Fjetson-link-docs\u002Fskills\u002Fjetson-link-docs",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill jetson-link-docs",{"tool":47,"command":48},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill jetson-link-docs",{"tool":50,"command":51},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill jetson-link-docs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fnvidia-skills\u002Fjetson-link-docs\u002Fskills\u002Fjetson-link-docs\u002FSKILL.md",true,[],[56,64,69,76,81,88],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":65,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":77,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":89,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]