mit einem Klick
init
初始化项目工作流并同步知识库
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
初始化项目工作流并同步知识库
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
显示 HelloAGENTS 可用命令和当前设置(~help 命令)
交互式需求澄清 — 一问一答厘清目标、方向、范围与约束,纯对话不创建文件(~ask 命令)
结构化规划工作流 — 需求澄清、方案确认、任务分解与方案包生成(~plan 命令)
完整 PRD 生成 — 头脑风暴式交互,逐维度挖掘,生成现代产品需求文档(~prd 命令)
自动执行命令 — 自动选择并依次执行 ~ask / ~plan / ~build / ~qa / ~prd,默认持续推进直到交付完成(~auto 命令)
执行实现工作流 — 基于当前需求或现有方案包完成实现、验证与状态同步(~build 命令)
Basierend auf der SOC-Berufsklassifikation
| name | ~init |
| description | 初始化项目工作流并同步知识库 |
| policy | {"allow_implicit_invocation":false} |
Trigger: ~init
~init 是用户显式命令,用来初始化或刷新当前项目的完整工作流。
它不受 kb_create_mode 限制。
执行 ~init 时,按当前规则模板创建或更新项目本地 .helloagents/,同步知识库,并为支持的宿主写入项目级完整规则标记:<!-- HELLOAGENTS_PROFILE: full -->。
.helloagents/ 在本 skill 中统一按项目级存储路径理解:项目本地 .helloagents/ 继续承担项目本地存储目录;状态文件只使用 state_path;若 project_store_mode=repo-shared,知识库、DESIGN.md 与方案包按当前上下文中已注入的项目知识/方案目录写入。
.helloagents/ 目录 + state_path(按 templates/STATE.md 格式,初始“主线目标”写当前项目初始化任务,初始状态为空闲)<!-- HELLOAGENTS_PROFILE: full -->,再用 <!-- HELLOAGENTS_START --> / <!-- HELLOAGENTS_END --> 包裹后写入:
AGENTS.mdCLAUDE.md.gemini/GEMINI.md(不存在则先创建 .gemini/ 目录)
如果文件已存在且包含标记,替换标记内内容;已存在但无标记,则追加到末尾;不存在则新建.gitignore(如果对应行不存在):
.helloagents/
AGENTS.md
CLAUDE.md
.gemini/GEMINI.md
检查项目是否有实际代码文件(非空项目):
.helloagents/ 和项目级规则文件,告知用户"项目为空,其余知识文件将在后续开发或首次编码任务中补全"知识库创建/补全流程(统一写入 .helloagents/ 对应的项目级存储路径;project_store_mode=repo-shared 时实际落在共享知识目录):
commands:
- npm run lint
- npm run test
重复执行 ~init 是安全的:
.helloagents/ 缺失时创建,已存在时复用state_path 按当前任务状态重写,不追加历史;它只记录当前知识库任务,不承担项目的长期记忆.gitignore 只追加缺失行