$npx -y skills add WILLOSCAR/research-units-pipeline-skills --skill keyword-expansionExpand and refine search keywords (synonyms, acronyms, exclusions) and update queries.md. Trigger: keyword expansion, synonyms, exclusions, queries.md, 关键词扩展, 同义词, 排除词. Use when: 检索覆盖不足/噪声过大,或主题别名很多,需要系统化扩展与收敛检索词。 Skip if: queries.md 已经能稳定检出覆盖面(无需扩大范围导致后续成本爆炸)。 **
| 1 | # Skill: keyword-expansion |
| 2 | |
| 3 | ## Goal |
| 4 | |
| 5 | - Improve recall/precision of `queries.md` without drifting scope. |
| 6 | |
| 7 | ## Inputs |
| 8 | |
| 9 | - `queries.md` |
| 10 | - Optional: `DECISIONS.md` scope notes |
| 11 | |
| 12 | ## Outputs |
| 13 | |
| 14 | - Updated `queries.md` |
| 15 | |
| 16 | ## Procedure (MUST FOLLOW) |
| 17 | |
| 18 | 1. Extract the current topic scope and exclusions. |
| 19 | 2. Propose keyword expansions (synonyms, related terms, acronyms) and add explicit exclusions for common false positives. |
| 20 | 3. Update `queries.md` with a clear “why” note for each change. |
| 21 | |
| 22 | ## Acceptance criteria (MUST CHECK) |
| 23 | |
| 24 | - [ ] `queries.md` contains updated keywords and excludes. |
| 25 | - [ ] Changes do not contradict `DECISIONS.md` scope constraints. |
| 26 | |
| 27 | ## Troubleshooting |
| 28 | |
| 29 | ### Issue: keyword expansion causes scope drift |
| 30 | |
| 31 | **Fix**: |
| 32 | - Re-read `DECISIONS.md` scope notes and add explicit exclusions in `queries.md` for common false positives. |
| 33 | |
| 34 | ### Issue: query count explodes and becomes unmanageable |
| 35 | |
| 36 | **Fix**: |
| 37 | - Keep a small set of high-signal queries; merge synonyms into the same query where possible instead of adding many near-duplicates. |