/novelist:publish-novelfrom Novelist
Publishes a Markdown novel project as a validated EPUB using a bundled packaging script. Handles preflight checks, metadata, covers, and illustrations.
Ships in Novelist. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Before running a bundled command, resolve <skill-dir> to the absolute directory
containing this SKILL.md, and resolve <skills-dir> to its parent directory.
Keep --project-root pointed at the active novel workspace, not at the skill or
plugin installation.
Turn an author request such as "Publish this novel" into the complete EPUB workflow. Do not ask the author to type shell commands. Run the bundled script yourself, verify the result, and report the artifact path.
Treat Markdown and project assets as canonical source. Treat published/epub/ and .epub files as generated output. Never repair a generated EPUB by hand; update source and republish.
Retain both outputs after a successful build. published/epub/ is the
inspectable staging tree, while published/*.epub is the ZIP-based EPUB
container intended for reading software. Rebuilding may replace the contents of
the staging tree, but publication must not delete it after packaging.
Interpret publish as local EPUB generation only. Do not upload, distribute, email, release, or submit the book to a storefront or external service unless the author explicitly requests that separate action.
Do not invoke analytical-review merely because the author asks to publish,
export, build, regenerate, package, or validate an existing novel. Ordinary
publication retains the structural and continuity preflight below. When a
fully autonomous start-to-publication workflow was explicitly authorized, the
orchestrating storytelling workflow must complete analytical review,
finding disposition, revision, and bounded regression review before handing
the manuscript to this skill. Keep literary judgment out of build_epub.py.
Read:
AGENTS.mdproject.mdpublished/README.mdstyle/visual-style-guide.mdassets/cover/ and assets/illustrations/Preserve the manuscript language and project terminology.
Do not load the full prose of every chapter into model context. Let the bundled script stream chapter bodies during rendering. Read chapter prose only when diagnosing a rendering, image, or metadata problem.
Confirm:
NNN.ascii-slug.md;## Synopsis, ## Draft, and
## Revision Notes in that order, with one non-empty, case-sensitive Draft
outside fenced code;Run the story skill's strict structural audit before packaging:
python3 "<skills-dir>/novel-story-telling/scripts/check_continuity.py" \
--project-root . \
--strict
Stop on malformed dialogue markup or any other structural error. Canonical
dialogue is an exact *“…”* range that may stand alone or share a paragraph
with narration; interior thought is unquoted *…*, and cited wording uses
‘…’.
If any chapter is not final, list it and ask for confirmation before publishing unless the author explicitly requests a draft or proof EPUB.
If the title is empty or still a placeholder, ask for the publication title. If the author is missing, ask for the author or pen name; do not silently publish as Unknown Author without confirmation. Pass one-time metadata as script options. Update project.md only when the author asks to make it canonical.
Find a cover in this order:
cover_image in project.md frontmatter;assets/cover/cover.png, .jpg, .jpeg, or .webp.If no cover exists, ask whether to create one or publish without one. When the
author wants a cover, use the create-visual-asset skill, save it under
assets/cover/, verify the final image, and resume publication. Do not block a
coverless publication after the author confirms that choice.
Run the bundled script from the repository root:
python3 "<skill-dir>/scripts/build_epub.py" \
--project-root .
Add only the options needed for confirmed metadata or output choices:
python3 "<skill-dir>/scripts/build_epub.py" \
--project-root . \
--title "Publication Title" \
--author "Author or Pen Name" \
--language ko \
--cover assets/cover/cover.png \
--output published/novel.epub
The script must:
## Draft content in filename order;p.prose in a sans-serif stack and
each canonical *“…”* speech range as <i class="dialog">, styled with a
serif italic stack without forcing a paragraph boundary;<code> text and use
local CSS ::before and ::after content to show the opening and closing
backtick glyphs to readers; these visible delimiters are a narrative marker
for machine text that is evaluated literally, not disposable source syntax;
place the complete inline code range on a subtle translucent background with
a dark-mode override, while inheriting the reader's foreground color;--- or legacy Markdown thematic break as a semantic
<hr class="scene-break" /> paired with visible centered * * * text before
list parsing;--- and pass the strict audit;published/epub/ by default;published/novel.epub by default as a ZIP-compatible EPUB container;mimetype as the archive's first, uncompressed member;Require the script's successful validation report. It checks:
mimetype entry;href and src references.Also inspect the generated chapter XHTML when changing the publisher or chapter
markup rules. Confirm that editorial headings and text from Synopsis or Revision
Notes are absent; every marked speech range becomes <i class="dialog"> even
when narration follows in the same paragraph; unmarked thought remains <em>;
inline <code> uses a fixed-width stack and visibly retains both backtick
delimiters through CSS; and each scene break has a visible centered * * *
ornament instead of being emitted as a list.
To validate an existing artifact without rebuilding, run:
python3 "<skill-dir>/scripts/build_epub.py" \
--project-root . \
--validate-only published/novel.epub
Report:
Run git status --short and separate generated ignored output from source changes. Do not commit published/*.epub or published/epub/ unless the author explicitly asks.
## Draft section.published/.published/ or inside its staging directory.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/analytical-reviewReview novel outlines, drafted chapters, full manuscripts, and prior revision findings as an independent analytical editor. Use when the author explicitly requests critique, developmental review, work examination, line editing, proofreading, whole-manuscript review, or regression verification, and when an explicitly fully autonomous workflow covers the complete novel lifecycle from initial planning through publication. Produce an intent-aware, evidence-backed report with Overall Assessment, Work Examination, and Line Editing or Proofreading sections while remaining read-only by default. Do not invoke this skill automatically for ordinary planning, drafting, revision, continuity validation, EPUB export, build, regeneration, packaging, validation, or publication requests./create-characterCreate character source files for this novel project. Use when the user wants to invent, refine, name, or save a fictional character into characters/ as Markdown with YAML frontmatter, especially from role, personality, setting, era, region, language, relationships, motives, secrets, or plot function./create-materialCreate story material source files for this novel project. Use when the user wants to generate, refine, or save raw novel material such as motifs, objects, scene seeds, dialogue seeds, research notes, themes, images, conflicts, clues, or reusable ideas into materials/ as Markdown with YAML frontmatter.npx claudepluginhub comfuture/novelist --plugin novelistOther plugins' skills for the same job