From helloagents
Initializes or refreshes project workflow by creating .helloagents/ directory, state file, project-level rule files (AGENTS.md, CLAUDE.md, GEMINI.md), and knowledge base (context.md, guidelines.md, CHANGELOG.md, DESIGN.md, modules/).
How this skill is triggered — by the user, by Claude, or both
Slash command
/helloagents:initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Trigger: ~init
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 只追加缺失行npx claudepluginhub hellowind777/helloagents --plugin helloagentsAutomatically configure Claude Code best practices for new projects: directory skeleton, AGENTS.md, hooks, and interactive placeholders fill. Invoke via `/init-project`.
Initializes Claude Code project configuration by reading global protocol, detecting project type, and generating project-specific CLAUDE.md, AGENTS.md, and docs/. Use for new project setup or when configuring Claude Code.
Use this skill for "initialize project", "set up project", "scaffold project", "create CLAUDE.md", "set up rules", "create context directory", "vibe rules", "project templates", "init new project", "set up development structure", "create .rules", "create .context", "project scaffolding", "set up pre-commit hooks", or when the user wants to initialize a new project with Claude/Cursor development templates and structured documentation.