Skip to content
book-writing-workspace logo

Book Writing Workspace

book-writing-workspace

Set up a complete book writing workspace with AI agents, instructions, prompts, and scripts. Use when users want to create a new book/technical writing project with Markdown + Re:VIEW + PDF output workflow. Triggers on "book writing workspace", "technical book project", "執筆ワークスペース", or similar pr...

SKILL.md

Full skill instructions

Book Writing Workspace

Set up a professional book writing workspace with AI-assisted workflow support.

When to use

  • Creating a new book or technical writing project
  • Setting up Markdown → Re:VIEW → PDF workflow
  • Establishing multi-chapter document structure with AI agent support

Setup Workflow

Step 1: Gather Project Information

Ask the user for project configuration:

📚 Book Writing Workspace Setup

Please provide the following information:

1. **Project Name** (folder name, e.g., "my-book-project")
2. **Book Title** (e.g., "Introduction to Cloud Security")
3. **Target Location** (e.g., "D:\projects\")
4. **Chapter Structure** - Choose one:
   - [ ] Standard (8 chapters: Intro → 6 main → Conclusion)
   - [ ] Custom (specify chapter titles)
5. **Include Re:VIEW output?** (for PDF generation)
   - [ ] Yes (requires Docker + Re:VIEW setup)
   - [ ] No (Markdown only)
6. **Include reference materials folder?**
   - [ ] Yes
   - [ ] No

Step 2: Create Directory Structure

Run the setup script with gathered information:

# Setup workspace with the collected project configuration
python scripts/​setup_workspace.py `
    --name "project-name" `
    --title "Book Title" `
    --path "D:\target\path" `
    --chapters 8 `
    --include-review `
    --include-materials

Step 3: Customize Configuration

After setup, guide the user to customize:

  1. Edit docs/​page-allocation.md - Set target word counts per chapter
  2. Edit .github/​copilot-instructions.md - Update book-specific overview
  3. Review agent configurations in .github/​agents/

Generated Structure

{project-name}/
├── .github/
│   ├── agents/               # AI agent definitions
│   │   ├── writing.agent.md
│   │   ├── writing-reviewer.agent.md
│   │   ├── converter.agent.md
│   │   └── orchestrator.agent.md
│   ├── instructions/         # Writing guidelines
│   │   ├── writing/
│   │   │   ├── writing.instructions.md
│   │   │   ├── writing-heading.instructions.md
│   │   │   └── writing-notation.instructions.md
│   │   └── git/
│   │       └── commit-format.instructions.md
│   ├── prompts/              # Reusable prompts
│   │   ├── gc_Commit.prompt.md
│   │   ├── gcp_Commit_Push.prompt.md
│   │   └── gpull.prompt.md
│   └── copilot-instructions.md
├── 01_contents_keyPoints/    # Outlines and key points
│   └── {chapter folders}/
├── 02_contents/              # Final manuscripts
│   └── {chapter folders}/
├── 03_re-view_output/        # Re:VIEW source and PDF output (optional)
│   ├── output_re/
│   ├── output_pdf/
│   └── images/
├── 04_images/                # Image assets
│   └── {chapter folders}/
├── 99_material/              # Reference materials (optional)
│   ├── 01_contracts/
│   ├── 02_proposals/
│   └── 03_references/
├── docs/
│   ├── writing-guide.md      # Workflow guide
│   ├── naming-conventions.md # File naming rules
│   ├── page-allocation.md    # Word count targets
│   └── schedule.md           # Project schedule
├── scripts/
│   ├── count_chars.py        # Character counter
│   └── convert_md_to_review.py (optional)
├── .gitignore
├── AGENTS.md
└── README.md

Agents Overview

AgentRolePermissions
@writingWrite and edit manuscriptsEdit 02_contents/
@writing-reviewerReview manuscripts (P1/​P2/​P3)Read only
@converterConvert Markdown to Re:VIEWEdit 03_re-view_output/
@orchestratorCoordinate multi-agent workflowDelegate to other agents

Prompts Overview

PromptUsage
/​gc_CommitGit commit with formatted message
/​gcp_Commit_PushGit commit and push
/​gpullGit pull with change summary

Customization Points

Chapter Structure

Default 8-chapter structure:

0. Introduction
1-6. Main Chapters (customizable titles)
7. Conclusion
8. Glossary (optional)

Word Count Targets

Configurable in docs/​page-allocation.md:

File TypeDefault TargetRange
Chapter intro300-500 charsAdjustable
Main section3,000-5,000 charsAdjustable
Column/​sidebar2,000-3,000 charsAdjustable

File Naming Convention

Pattern: {prefix}-{chapter}-{section}-{number}_{title}.md

Example: 01-1-a-00_Introduction_to_Topic.md

Resources

DirectoryContents
scripts/Setup and utility scripts
references/Template files for agents, instructions, prompts
assets/Static files (.gitignore templates, etc.)

Post-Setup Actions

After workspace creation:

  1. Initialize Git (commented example):

    # Initialize repository and create the first commit
    git init && git add . && git commit -m "Initial commit"
    
  2. Open in VS Code (commented example):

    # Open the project in VS Code
    code {project-path}
    
  3. Test prompts: Try /​gc_Commit to verify setup

  4. Start writing: Create key points in 01_contents_keyPoints/

Dependencies

ToolPurposeRequired
Python 3.8+ScriptsYes
GitVersion controlYes
DockerRe:VIEW PDF buildOptional
Re:VIEWPDF generationOptional

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View