with one click
build-search-index
内部技能——从 raw + wiki 内容构建搜索索引。由 serve 技能自动调用。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
内部技能——从 raw + wiki 内容构建搜索索引。由 serve 技能自动调用。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Use when executing implementation plans with independent tasks in the current session
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Use when you have a spec or requirements for a multi-step task, before touching code
| name | build-search-index |
| description | 内部技能——从 raw + wiki 内容构建搜索索引。由 serve 技能自动调用。 |
| 参数 | 必填 | 默认值 | 说明 |
|---|---|---|---|
--kb-data-root <path> | 否 | data | 知识库数据根目录,所有路径基于此 |
从 {KB_DATA_ROOT}/raw/ 和 {KB_DATA_ROOT}/wiki/ 读取 markdown,构建搜索索引。
node scripts/build-search-index.mjs
输出: {KB_DATA_ROOT}/../site/public/search-index.json