[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AYWR04Y4HMMAQ8VWBN9Z0F":3,"skill-same:01M7AYWR04Y4HMMAQ8VWBN9Z0F":56},{"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":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M7AYWR04Y4HMMAQ8VWBN9Z0F","knowledge-vault-scaffolding",null,"Scaffold vault folders + tracker overviews from a BOK.","oat431\u002Fhermes_config_backup","oat431","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F54722120?v=4","01M7AYD07EH8SYPMYY8CGZKS22","Oralita","01M7AYD0816QDF77E3TWCRSQC9",1,"Unlicense","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fqa\u002Fknowledge-vault-scaffolding\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: knowledge-vault-scaffolding\ndescription: Scaffold vault folders + tracker overviews from a BOK.\ntags: [obsidian, vault, body-of-knowledge, scaffolding, overview, tracker, cs2023, markdown-parsing]\n---\n\n# Knowledge Vault Scaffolding\n\n> Generate the notes-tree scaffold from a machine-readable `body-of-knowledge\u002F` (BOK): one folder per knowledge area (KA), a `00_overview.md` tracker per KA listing sub-topics as future numbered notes, group-level index files, and README wiring. This is the **inverse** of `knowledge-vault-audit` \u002F `obsidian-vault-audit` — those check coverage of an existing tree; this builds the tree from the baseline (e.g. CS2023, SWEBOK).\n\n## When to Use\n\n- User finished a BOK (one .md file per KA, frontmatter + Knowledge Units section) and asks to \"create a folder for each group\u002FKA with an overview tracking sub-topics\".\n- Extending an existing vault with a new specialist area whose BOK is complete.\n- Reference pattern to mirror: `swe-knowledge\u002Fsoftware-engineering-note\u002FNN_Area\u002FArea Overview.md` (Files table → numbered notes).\n\n## Workflow\n\n### 1. Survey before writing\nMap the vault (`find`\u002F`ls` the BOK dir and group dirs), read ONE BOK file end-to-end, and read the exemplar overview file the user pointed at. Do not parse-and-generate blind — the bullet formats vary and the overview shape is user-defined.\n\n### 2. Clarify the tracker design FIRST (one `clarify` call, 3 questions)\nPin these before generating anything — they change every file:\n- **Sub-topic tracking format** — this user's confirmed choice: a markdown table per KA: `| File | Knowledge Unit | KU Code | Focus | Status |` where File is a wikilink `[[NN_Name]]` to a future numbered note, Focus is a one-sentence extract from the BOK, Status starts ⬜ with legend line `⬜ not started · 🟨 draft · ✅ done`.\n- **Granularity** — use the formal baseline units (CS2023 Knowledge Unit codes like `AI-Search`, `DM-Relational`), not ad-hoc clusters or the finest sub-bullets.\n- **Group-level indexes** — yes: `\u003Cgroup>\u002F00_Overview.md` with a table linking each KA overview (Knowledge Area | Abbr | #KUs | Purpose) plus folder list.\n\n### 3. Parse the BOK programmatically, dump to JSON, verify counts per file\nExtract per KA: title, abbr `(XX)` from H1, `source:` frontmatter, purpose blockquote, Knowledge Units (code\u002Fname\u002Fdesc), Essential Concepts, Related KAs. Cache the parse to a scratch JSON in `$LOCALAPPDATA\u002FTemp` (native tools can't read `\u002Ftmp`), regenerate from it — never re-parse on every fix pass. Print units-per-file with codes and flag empty\u002Fno-code\u002Fdup parses immediately; a count of 0 on a file that visibly has bullets means the parser is wrong, not the file.\n\n**BOK bullet formats actually encountered in one vault (all must parse):**\n- `- **Name (AI-Search):** desc` — code inside bold, colon-terminated\n- `- **GIT-Fundamentals: Fundamental Concepts** — desc` — code-first inside bold, em-dash\n- `- **PDC-Programs** — desc` — bold is ONLY the code; give it a human name via an explicit override map of bare codes\n- `- **NC-Fundamentals — Fundamentals** (CS Core)` with content in nested `  - ` sub-bullets — pull focus from the first sub-bullet, render tier as trailing `*(CS Core)*`\n\n### 4. Generate, then run an independent audit script\nWrite all overview + index files from the JSON with `newline=\"\\n\"` (see pitfalls), then re-read every generated file with a SEPARATE check: row count == parsed unit count, 5 cells per row, wikilink cell matches `^\\[\\[\\d\\d_`, code cell matches `` `[A-Z]{2,4}-[A-Za-z0-9-]+` ``, status == ⬜, focus ≥ 15 chars and not tier-only, group-index links resolve to real files. Clean up scratch files from the vault dir; append group-index links to the vault README.\n\n## Pitfalls — parsing (each cost real time here)\n\n- **When a regex returns 0 matches against a literal that `repr()` proves is present, stop tuning the regex — switch to plain string ops** (`line.startswith(\"- **\")`, `line.find(\"**\")`, slice on `\":**\"`). The string-op parser worked on all 17 files; the regex mysteriously failed on some in the same interpreter. Diagnose once with hexdump\u002Frepr to confirm what's really on disk, then hand-roll.\n- **Marker order varies**: format A ends bold with `:**` before the desc while other formats use `** —`; matching `\\*\\*:\\*\\*` when the text is `:**` yields silent zero-count. Extract the bold span FIRST (split on `**`), then parse name\u002Fcode out of it.\n- **Character-class em-dash ranges**: `[—-:]` is an invalid range (— is > -) and raises `bad character range`. Put the literal dash last or escape it.\n- **f-strings are Python 3.11 here**: no backslash inside f-string expressions — precompute `chr(10).join(...)` into a variable.\n- **CRLF bites rewrites**: files written by the generator ended up CRLF, so a later `content.index(\"| File ...\\n|---...\\n\")` block-replace failed with substring-not-found. When patching generated tables, split on `\\n`, locate rows by index, rejoin with `newline=\"\\n\"`.\n\n## Pitfalls — verification (suspect the auditor first)\n\n- **A prefix filter on numbered rows must cover double digits**: checking `line.startswith(\"| [[0\")` reports 9\u002F12 rows for any KA with ≥10 units and looks like 7 generator failures. Use regex `^\\| \\[\\[\\d\\d_`. When an audit flags a SUBSET of files in a way that correlates with item count, audit the audit before regenerating anything — here all 7 \"failures\" were auditor bugs and the files were correct.\n- **Fix the generated output only for real defects** (bare-code names, tier-marker-only focus cells, missing sub-bullet content); regenerate the whole table for a file rather than line-patching it.\n- **Cross-check totals**: tracked rows across all overviews must equal the summed parsed unit count; report both numbers in the final answer.\n\n## Output conventions (this user)\n\n- KA folder = BOK filename minus numeric prefix, kebab-case: `01_Artificial_Intelligence.md` → `applications\u002Fartificial-intelligence\u002F`.\n- Tracker wikilinks are forward-looking (`[[01_Fundamental_Issues]]` with NO stub files until the user asks) — the table IS the backlog.\n- Each overview: frontmatter tags → H1 `Title — Overview` → `> **Source:** [[..\u002F..\u002Fbody-of-knowledge\u002F\u003Cgroup>\u002F\u003Cbok>|...]]` backlink → `## What Is This?` (purpose, strip `(Source: ...)` tails) → sub-topics table → `## Key Ideas (from the BOK)` (top ~5 Essential Concepts) → `## Related Knowledge Areas` (carried from BOK). Unwrap wikilinks to plain text and strip `**`\u002Fbackticks from extracted text before embedding in table cells — pipes break cells.\n- Deliver one sample overview as a MEDIA: card and offer format tweaks; note upstream BOK format inconsistencies to the user as a QA observation (standardizing source formats makes future audits cheaper).\n\n## Related Skills\n\n- `knowledge-vault-audit` \u002F `obsidian-vault-audit` — the check side of the same vault ecosystem; reuse their wikilink normalization and `broken_links.py` after scaffolding to prove every emitted link resolves.\n- `obsidian` — raw note CRUD and basename-resolution semantics.\n","# Knowledge Vault Scaffolding\n\n> Generate the notes-tree scaffold from a machine-readable `body-of-knowledge\u002F` (BOK): one folder per knowledge area (KA), a `00_overview.md` tracker per KA listing sub-topics as future numbered notes, group-level index files, and README wiring. This is the **inverse** of `knowledge-vault-audit` \u002F `obsidian-vault-audit` — those check coverage of an existing tree; this builds the tree from the baseline (e.g. CS2023, SWEBOK).\n\n## When to Use\n\n- User finished a BOK (one .md file per KA, frontmatter + Knowledge Units section) and asks to \"create a folder for each group\u002FKA with an overview tracking sub-topics\".\n- Extending an existing vault with a new specialist area whose BOK is complete.\n- Reference pattern to mirror: `swe-knowledge\u002Fsoftware-engineering-note\u002FNN_Area\u002FArea Overview.md` (Files table → numbered notes).\n\n## Workflow\n\n### 1. Survey before writing\nMap the vault (`find`\u002F`ls` the BOK dir and group dirs), read ONE BOK file end-to-end, and read the exemplar overview file the user pointed at. Do not parse-and-generate blind — the bullet formats vary and the overview shape is user-defined.\n\n### 2. Clarify the tracker design FIRST (one `clarify` call, 3 questions)\nPin these before generating anything — they change every file:\n- **Sub-topic tracking format** — this user's confirmed choice: a markdown table per KA: `| File | Knowledge Unit | KU Code | Focus | Status |` where File is a wikilink `[[NN_Name]]` to a future numbered note, Focus is a one-sentence extract from the BOK, Status starts ⬜ with legend line `⬜ not started · 🟨 draft · ✅ done`.\n- **Granularity** — use the formal baseline units (CS2023 Knowledge Unit codes like `AI-Search`, `DM-Relational`), not ad-hoc clusters or the finest sub-bullets.\n- **Group-level indexes** — yes: `\u003Cgroup>\u002F00_Overview.md` with a table linking each KA overview (Knowledge Area | Abbr | #KUs | Purpose) plus folder list.\n\n### 3. Parse the BOK programmatically, dump to JSON, verify counts per file\nExtract per KA: title, abbr `(XX)` from H1, `source:` frontmatter, purpose blockquote, Knowledge Units (code\u002Fname\u002Fdesc), Essential Concepts, Related KAs. Cache the parse to a scratch JSON in `$LOCALAPPDATA\u002FTemp` (native tools can't read `\u002Ftmp`), regenerate from it — never re-parse on every fix pass. Print units-per-file with codes and flag empty\u002Fno-code\u002Fdup parses immediately; a count of 0 on a file that visibly has bullets means the parser is wrong, not the file.\n\n**BOK bullet formats actually encountered in one vault (all must parse):**\n- `- **Name (AI-Search):** desc` — code inside bold, colon-terminated\n- `- **GIT-Fundamentals: Fundamental Concepts** — desc` — code-first inside bold, em-dash\n- `- **PDC-Programs** — desc` — bold is ONLY the code; give it a human name via an explicit override map of bare codes\n- `- **NC-Fundamentals — Fundamentals** (CS Core)` with content in nested `  - ` sub-bullets — pull focus from the first sub-bullet, render tier as trailing `*(CS Core)*`\n\n### 4. Generate, then run an independent audit script\nWrite all overview + index files from the JSON with `newline=\"\\n\"` (see pitfalls), then re-read every generated file with a SEPARATE check: row count == parsed unit count, 5 cells per row, wikilink cell matches `^\\[\\[\\d\\d_`, code cell matches `` `[A-Z]{2,4}-[A-Za-z0-9-]+` ``, status == ⬜, focus ≥ 15 chars and not tier-only, group-index links resolve to real files. Clean up scratch files from the vault dir; append group-index links to the vault README.\n\n## Pitfalls — parsing (each cost real time here)\n\n- **When a regex returns 0 matches against a literal that `repr()` proves is present, stop tuning the regex — switch to plain string ops** (`line.startswith(\"- **\")`, `line.find(\"**\")`, slice on `\":**\"`). The string-op parser worked on all 17 files; the regex mysteriously failed on some in the same interpreter. Diagnose once with hexdump\u002Frepr to confirm what's really on disk, then hand-roll.\n- **Marker order varies**: format A ends bold with `:**` before the desc while other formats use `** —`; matching `\\*\\*:\\*\\*` when the text is `:**` yields silent zero-count. Extract the bold span FIRST (split on `**`), then parse name\u002Fcode out of it.\n- **Character-class em-dash ranges**: `[—-:]` is an invalid range (— is > -) and raises `bad character range`. Put the literal dash last or escape it.\n- **f-strings are Python 3.11 here**: no backslash inside f-string expressions — precompute `chr(10).join(...)` into a variable.\n- **CRLF bites rewrites**: files written by the generator ended up CRLF, so a later `content.index(\"| File ...\\n|---...\\n\")` block-replace failed with substring-not-found. When patching generated tables, split on `\\n`, locate rows by index, rejoin with `newline=\"\\n\"`.\n\n## Pitfalls — verification (suspect the auditor first)\n\n- **A prefix filter on numbered rows must cover double digits**: checking `line.startswith(\"| [[0\")` reports 9\u002F12 rows for any KA with ≥10 units and looks like 7 generator failures. Use regex `^\\| \\[\\[\\d\\d_`. When an audit flags a SUBSET of files in a way that correlates with item count, audit the audit before regenerating anything — here all 7 \"failures\" were auditor bugs and the files were correct.\n- **Fix the generated output only for real defects** (bare-code names, tier-marker-only focus cells, missing sub-bullet content); regenerate the whole table for a file rather than line-patching it.\n- **Cross-check totals**: tracked rows across all overviews must equal the summed parsed unit count; report both numbers in the final answer.\n\n## Output conventions (this user)\n\n- KA folder = BOK filename minus numeric prefix, kebab-case: `01_Artificial_Intelligence.md` → `applications\u002Fartificial-intelligence\u002F`.\n- Tracker wikilinks are forward-looking (`[[01_Fundamental_Issues]]` with NO stub files until the user asks) — the table IS the backlog.\n- Each overview: frontmatter tags → H1 `Title — Overview` → `> **Source:** [[..\u002F..\u002Fbody-of-knowledge\u002F\u003Cgroup>\u002F\u003Cbok>|...]]` backlink → `## What Is This?` (purpose, strip `(Source: ...)` tails) → sub-topics table → `## Key Ideas (from the BOK)` (top ~5 Essential Concepts) → `## Related Knowledge Areas` (carried from BOK). Unwrap wikilinks to plain text and strip `**`\u002Fbackticks from extracted text before embedding in table cells — pipes break cells.\n- Deliver one sample overview as a MEDIA: card and offer format tweaks; note upstream BOK format inconsistencies to the user as a QA observation (standardizing source formats makes future audits cheaper).\n\n## Related Skills\n\n- `knowledge-vault-audit` \u002F `obsidian-vault-audit` — the check side of the same vault ecosystem; reuse their wikilink normalization and `broken_links.py` after scaffolding to prove every emitted link resolves.\n- `obsidian` — raw note CRUD and basename-resolution semantics.\n",{"name":5,"tags":24,"description":7},[25,26,27,28,29,30,31,32],"obsidian","vault","body-of-knowledge","scaffolding","overview","tracker","cs2023","markdown-parsing","main","2988869c5a7d7be2225c9ea7a54a4a56a59b0d45","workflow\u002Fqa\u002Fknowledge-vault-scaffolding",0,"https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup","https:\u002F\u002Fgithub.com\u002Foat431","https:\u002F\u002Fpanomete.com\u002F","Hope and Luck is not a part of the strategy, \r\n\r\nSoftskill produces plan Hard skill produce product.","2026-11-03 00:43:08",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add oat431\u002Fhermes_config_backup --skill knowledge-vault-scaffolding",{"tool":48,"command":49},"bunx","bunx skills add oat431\u002Fhermes_config_backup --skill knowledge-vault-scaffolding",{"tool":51,"command":52},"pnpm","pnpm dlx skills add oat431\u002Fhermes_config_backup --skill knowledge-vault-scaffolding","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fqa\u002Fknowledge-vault-scaffolding\u002FSKILL.md",true,[],[57,65,72,79,86,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7AYZ2JY3NFKAPQSC39N5F3F","project-spec-docs","Fill\u002Fupdate project_spec docs (templates, MM handoffs).","MIT","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fproject-spec-docs\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7AYYRZPE7HQX7778558X52S","penpot-mcp","Penpot MCP: connect, verify, and fix streaming via nginx.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fpenpot-mcp\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7AYYNKP61CN2281VMJDXMB5","nginx-streaming-proxy","Configure nginx for streaming endpoints (SSE, MCP, WS).","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fnginx-streaming-proxy\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7AYYJP0MDV1D3WVEEZB3SGA","branding-ci","Use for brand\u002FCI identity, style guides, and brand docs.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fbranding-ci\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7AYYGCXVT97DDTCM0ZJT6F6","yuanbao","Yuanbao (元宝) groups: @mention users, query info\u002Fmembers.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fshared-skills\u002Fyuanbao\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7AYYC2Y65NMGMD4GQXAZMMS","slidev","Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fshared-skills\u002Fslidev\u002FSKILL.md",[],[]]