# book-writing-workspace

book-writing-workspace turns a book repo into a structured workspace: section files, a reader persona, agent files and a review loop, with Re:VIEW and PDF output as an option.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 244 installs · ★ 27 repo stars
- Author: yamapan (https://github.com/aktsmm)
- License: CC-BY-NC-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aktsmm/Agent-Skills/tree/HEAD/book-writing-workspace/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/book-writing-workspace

## What it does

The skill sets a manuscript repo into a fixed layout: chapters as individual files under `sections/`, outlines kept apart in `keypoints/`, figures in `images/`. It starts by auditing what the repo already holds. A new project comes from `python scripts/setup_workspace.py`, given a name, title, parent path and chapter count.

What lands in the repo: agent and instruction files under `.github/agents/` and `.github/instructions/`, planning docs for personas, page budget, schedule and release readiness, plus `scripts/count_chars.py`. Then the loop — reviewer findings at P1 and P2, each chapter checked against the declared reader persona and its completion outcomes.

Print output is opt-in. Add `--with-review` and you also get conversion scripts and `config/review-metadata/project.yml` to fill in. Skip the flag and those files never appear in a fresh workspace. The setup script is Python, so have an interpreter ready. Page budget deserves a built count: character estimates overshoot, and an author build differs from the publisher's page count.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aktsmm/Agent-Skills --skill book-writing-workspace -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/book-writing-workspace/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/book-writing-workspace/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aktsmm/Agent-Skills --skill book-writing-workspace -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/book-writing-workspace/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aktsmm/Agent-Skills --skill book-writing-workspace -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/book-writing-workspace/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aktsmm/Agent-Skills book-writing-workspace
```

2. **Manually: put the files in place**
- File: `.github/skills/book-writing-workspace/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aktsmm/Agent-Skills --skill book-writing-workspace -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aktsmm/Agent-Skills --path book-writing-workspace
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/book-writing-workspace/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aktsmm/Agent-Skills --skill book-writing-workspace -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aktsmm/Agent-Skills/tree/HEAD/book-writing-workspace/SKILL.md

## When to use it
- split a manuscript into one file per section
- pin down the target reader once and audit chapters against it
- work through proofreader comments item by item
- check chapter length before handing text to typesetting
- add PDF output only to projects that need it

## Example prompts
- Audit the `my-book` repo and tell me which files to rename so it matches the skill layout.
- Compare the interfaces chapter against `docs/reader-personas.md` and flag passages aimed at the wrong reader.
- Turn on Re:VIEW and PDF support for this project and fill in `config/review-metadata/project.yml`.

## Similar
- [translate-book](https://affpapa.org/en/nevibecode/skills/translate-book.md) — skill · 2100 installs
- [writing-guidelines](https://affpapa.org/en/nevibecode/skills/writing-guidelines.md) — skill · 133400 installs
- [humanize-writing](https://affpapa.org/en/nevibecode/skills/humanize-writing.md) — skill · 2200 installs
- [avoid-ai-writing](https://affpapa.org/en/nevibecode/skills/avoid-ai-writing.md) — skill · 1900 installs
- [human-writing](https://affpapa.org/en/nevibecode/skills/human-writing.md) — skill · 630 installs
- [technical-blog-writing](https://affpapa.org/en/nevibecode/skills/technical-blog-writing.md) — skill · 237 installs

From the same set: [aktsmm/agent-skills](https://affpapa.org/en/nevibecode/by/aktsmm/agent-skills.md) — 5 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
