init_prompts
Scans a project root directory and generates initial prompts files (context.md, workflow-log.md, recent-5.md, summary-10.md, todos.md, dev-rules.md, modules/) for AI coding assistants, without overwriting existing files.
Instructions
【初始化】扫描目标项目,自动生成原始 prompts 体系(context.md / workflow-log.md / recent-5.md / summary-10.md / todos.md / dev-rules.md / modules/)。已有文件不会覆盖。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "init_prompts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | No | 目标项目根目录路径。不传则使用 PROJECT_ROOT 环境变量或当前目录。 |