gewuyou 1239fb4651 refactor(skills): 统一文档刷新技能入口
- 新增 gframework-doc-refresh 统一技能入口,并补齐模块扫描、证据顺序、模板与校验脚本

- 更新共享文档规范与模块映射,收口源码模块到 README、docs 和 ai-libs 的固定关联

- 删除旧 vitepress-* 公开技能定义,避免继续以文档类型拆分入口

- 同步 documentation-governance-and-refresh 的恢复点、风险和下一步
2026-04-22 09:13:22 +08:00

1022 B

Module Selection

Use .agents/skills/_shared/module-map.json as the canonical source for:

  • supported modules
  • aliases
  • source paths
  • test projects
  • README paths
  • docs landing/topic/fallback pages
  • ai-libs/ reference roots

Selection rules:

  1. Prefer explicit canonical module names.
  2. Resolve docs section aliases back to source modules before scanning docs.
  3. If an alias maps to multiple modules, stop and return the candidate list.
  4. If a module has no dedicated docs section, fall back to the nearest existing landing page or API index instead of inventing a fake section.

Representative ambiguous inputs:

  • source-generators -> likely one of Core.SourceGenerators, Game.SourceGenerators, Cqrs.SourceGenerators, Godot.SourceGenerators
  • abstractions -> likely one of Core.Abstractions, Game.Abstractions, Ecs.Arch.Abstractions

Representative resolvable aliases:

  • core-abstractions -> Core.Abstractions
  • godot generators -> Godot.SourceGenerators
  • ecs -> Ecs.Arch