skills/commands/wiki/SKILL.md
初始化或同步项目知识库(与 ~init 同义)
npx skillsauth add hellowind777/helloagents ~wikiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Trigger: ~wiki
~wiki 是用户显式命令,仅创建、补全或同步项目知识库。
~wiki 是显式知识库命令,不受 kb_create_mode 限制。
执行 ~wiki 时,.helloagents/ 目录结构、模板格式和状态文件重写规则按当前已加载的 HelloAGENTS 规则执行;不写入项目级规则文件,也不创建项目级 HelloAGENTS 包根链接。
.helloagents/ 在本 skill 中统一按项目级存储路径理解:状态文件只使用 state_path;若 project_store_mode=repo-shared,context.md、guidelines.md、verify.yaml、CHANGELOG.md、DESIGN.md、modules/ 改按当前上下文中已注入的项目知识目录写入。
.helloagents/ 目录 + state_path(按 templates/STATE.md 格式);初始“主线目标”只写当前知识库初始化 / 同步目标,不把它写成长期项目总目标.gitignore(如果对应行不存在):
.helloagents/
AGENTS.md、CLAUDE.md、.gemini/GEMINI.md)检查项目是否有实际代码文件(非空项目):
.helloagents/ 和 state_path,告知用户“项目为空,其余知识文件将在后续开发或首次编码任务中补全”知识库创建/补全流程(统一写入 .helloagents/ 对应的项目级存储路径;project_store_mode=repo-shared 时实际落在共享知识目录):
commands:
- npm run lint
- npm run test
重复执行 ~wiki 是安全的:
.helloagents/ 缺失时创建,已存在时复用state_path 按当前任务状态重写,不追加历史;它只记录当前知识库任务,不承担项目的长期记忆.gitignore 只追加缺失行data-ai
使用子代理执行任务、并行开发、分派工作时使用。确保子代理有清晰的上下文和验证标准。
testing
统一质量审查、命令验证、阻断修复与交付前质量闭环。
testing
统一质量命令 — 审查、命令验证、阻断修复、回归验证与收尾前质量闭环(~qa 命令)
data-ai
按任务类型适用 — 建立质量驱动工作流,通过技能标准、流程纪律和检查清单保障交付质量