book-writing-workspace
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBook Writing Workspace
书籍写作工作区
Set up a professional book writing workspace with AI-assisted workflow support.
搭建一个支持AI辅助工作流的专业书籍写作工作区。
When to use
适用场景
- Book writing, technical writing, 執筆プロジェクト
- Creating a new book or technical writing project
- Setting up Markdown → Re:VIEW → PDF workflow
- 书籍写作、技术写作、執筆プロジェクト
- 创建新书或技术写作项目
- 搭建Markdown → Re:VIEW → PDF工作流
Quick Start
快速开始
powershell
python scripts/setup_workspace.py `
--name "project-name" `
--title "Book Title" `
--path "D:\target\path" `
--chapters 8powershell
python scripts/setup_workspace.py `
--name "project-name" `
--title "Book Title" `
--path "D:\target\path" `
--chapters 8Setup Workflow
搭建流程
- Gather info: Project name, title, location, chapter count
- Run script:
scripts/setup_workspace.py - Customize: Edit and
docs/page-allocation.md.github/copilot-instructions.md
- 收集信息:项目名称、书籍标题、存储路径、章节数量
- 运行脚本:
scripts/setup_workspace.py - 自定义配置:编辑和
docs/page-allocation.md.github/copilot-instructions.md
Agents Overview
Agents概览
| Agent | Role | Permissions |
|---|---|---|
| Write and edit manuscripts | Edit |
| Review manuscripts (P1/P2/P3) | Read only |
| Convert Markdown to Re:VIEW | Edit |
| Coordinate workflow | Delegate to agents |
| Agent角色 | 职责 | 权限 |
|---|---|---|
| 撰写和编辑手稿 | 编辑 |
| 审核手稿(P1/P2/P3) | 仅读取权限 |
| 将Markdown转换为Re:VIEW格式 | 编辑 |
| 协调工作流执行 | 委派任务给其他agents |
Dependencies
依赖工具
| Tool | Purpose | Required |
|---|---|---|
| Python 3.8+ | Scripts | Yes |
| Git | Version control | Yes |
| Docker | Re:VIEW PDF build | Optional |
| 工具 | 用途 | 是否必需 |
|---|---|---|
| Python 3.8+ | 运行脚本 | 是 |
| Git | 版本控制 | 是 |
| Docker | Re:VIEW PDF构建 | 可选 |
Done Criteria
完成标准
- Workspace folder structure created
- 4 agents deployed to
.github/agents/ - configured
docs/page-allocation.md - prompt working
/gc_Commit
- 已创建工作区文件夹结构
- 已将4个agents部署到目录
.github/agents/ - 已配置文件
docs/page-allocation.md - 提示词可正常使用
/gc_Commit
Key References
关键参考
| Topic | Reference |
|---|---|
| Folder Structure | references/folder-structure.md |
| Agents | references/AGENTS.md |
| Instructions | references/copilot-instructions.md |
| 主题 | 参考链接 |
|---|---|
| 文件夹结构 | references/folder-structure.md |
| Agents说明 | references/AGENTS.md |
| 操作指南 | references/copilot-instructions.md |