write_chapter
Write Markdown chapter content into a specified story folder, with optional post-write compliance validation to maintain repository standards.
Instructions
将正文写入指定故事(原子写入 text.md)。validate=true 时写入后立即执行仓库合规检查并返回结果(不阻断写入)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | 故事文件夹名(如 01-故事A) | |
| content | Yes | 要写入的 Markdown 正文 | |
| validate | No | 写后是否执行合规检查(默认 false) |