Book Draftのロゴ

Book Draft

コミュニティ
epicsagas
book-draft

Phase 3: Drafting. Voice lock on a sample chapter, then sequential full-context chapter drafting with draft-critique-revise, bible ledger updates, and periodic continuity checks.

概要

公開者epicsagas
リポジトリVelith
スキル名book-draft
スター
40
フォーク
7
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    epicsagasがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルBook DraftをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/epicsagas/Velith/tree/main/skills/book-draft
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/epicsagas/Velith.git /tmp/Velith
mkdir -p .claude/skills
cp -r /tmp/Velith/skills/book-draft .claude/skills/book-draft
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBook Draftを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にBook Draftを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Book Draftは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Phase 3: Drafting

Goal: a complete manuscript in one voice, internally consistent, each chapter already revised once against the quality bar. Drafting done this way needs an editor; drafting done to word count needs a rewrite.

Read ${CLAUDE_PLUGIN_ROOT}/skills/loom/quality-bar.md, then PRD.md, STYLE.md, outline.md, bible.md.

Refuse to draft if outline.md lacks ## Approval. Point the author to /book-outline.

Step 0: Voice lock (once per book)

If STYLE.md's ## Voice Lock says pending:

  1. Choose the sample chapter: chapter 1 by default, or the chapter the author names. For fiction, the architect may recommend a mid-book chapter if chapter 1 is atypical (prologue, framing device).
  2. Run scene-generator (fiction) then chapter-writer on that chapter exactly as in normal drafting.
  3. Present the chapter to the author with the writer's own critique scores. Ask: is this the voice? What is off? Required stop.
  4. On approval, record in STYLE.md under ## Voice Lock: date, chapter, the author's notes, and 2-3 quoted passages from the approved chapter that best represent the voice. Chapter-writer reads these on every later chapter.
  5. On rejection, revise the fingerprint per the author's notes, regenerate, present again. Up to three rounds, then ask the author to supply or edit a sample directly.

--voice-lock forces this step even if a lock exists (voice change mid-book).

Step 1: Order and concurrency

Narrative genres (fiction, screenplay, game, memoir, narrative nonfiction, poetry sequences): strictly sequential. Chapter N requires chapter N-1 saved with status: draft or later and a bible ledger entry.

Technical, reference, academic: read the dependency DAG in outline.md. Chapters with no unsatisfied prerequisites and no mutual references may draft concurrently, at most 3. Each concurrent writer still reads all completed chapters.

Never run two chapter-writers on the same chapter.

Step 2: Per-chapter loop

For each chapter to draft (skip existing unless --force):

  1. Fiction only: invoke scene-generator → drafts/ch{NN}-scenes.md (a plan, not prose).
  2. Invoke chapter-writer with the chapter number. It reads everything, drafts, critiques, revises, writes drafts/ch{NN}-{slug}.md, appends the chapter ledger in bible.md, and writes .velith/critiques/ch{NN}.md.
  3. Verify the writer's self-reported scores. If any axis < 6 after its revision, run it again with the critique as additional input before moving on.
  4. If the chapter spec lists figures, the writer has placed ![alt](../visuals/figures/{id}.svg) references with captions at the right spots. Invoke figure-engineer for those ids now (technical and nonfiction) so the figure exists while the chapter is fresh; illustrations wait for the look lock in /book-visuals.
  5. node ${CLAUDE_PLUGIN_ROOT}/velith.mjs scan [project-dir] so the dashboard updates.

Step 3: Continuity checks

Invoke continuity-editor after chapters 3, then every 4 chapters, then after the final chapter. It reads the whole manuscript against the bible. Minor issues are fixed in place; Critical and Major issues are reported and, for narrative genres, must be resolved before drafting continues (a contradiction in chapter 5 propagates into 6 through 20).

Chapter file format

markdown
---
chapter: 7
title: "..."
slug: "..."
word_target: 4000
words: 4120
status: draft        # draft | edited | final
revision: 1
critique_score: {voice: 7, structure: 7, depth: 8, specificity: 7, reader: 7}
created: 2026-09-04
updated: 2026-09-04
---

# Chapter title

Body...

Korean projects count characters excluding whitespace; count_unit: chars in PRD.

Gate

All chapters in outline.md exist as drafts. Every chapter has a critique with all five axes ≥ 6. Bible ledger has an entry per chapter. Last continuity report has no unresolved Critical issues. Voice lock recorded.

Resuming

/book-draft with no chapter argument resumes from the first missing chapter. /book-draft 12 drafts chapter 12 only (refuses for narrative genres if 11 is missing). /book-draft 12 --force redrafts 12 and warns that later chapters may need continuity review.

Post-completion

bash
node ${CLAUDE_PLUGIN_ROOT}/velith.mjs scan [project-dir]

よくある質問

AIスキル「Book Draft」では何ができますか?

Phase 3: Drafting. Voice lock on a sample chapter, then sequential full-context chapter drafting with draft-critique-revise, bible ledger updates, and periodic continuity checks.

TypingMindでBook Draftを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Book Draftはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBook Draftをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/epicsagas/Velith/tree/main/skills/book-draftを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Book Draftを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Book Draftは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBook Draftを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Book Draft」は無料ですか?

はい。epicsagasがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇