prepare-export
Skill0 starsChanged 7 months agoMITView on GitHub
Assemble an export-ready manuscript package from the current project state once the manuscript or chapter set is stable enough to be shared, reviewed externally, or archived as a coherent deliverable.
In this repository27 other files it gives its agents.
- beta-reader-passSkill
- build-distributionSkill
- chapter-reviewSkill
- continuity-checkSkill
- create-character-bibleSkill
- define-style-bibleSkill
- draft-chapterSkill
- generate-high-level-outlineSkill
- if-design-dialogueSkill
- if-design-mapSkill
- if-design-progressionSkill
- if-design-structureSkill
- if-draft-inkSkill
- if-init-projectSkill
- if-load-contextSkill
- if-plan-ink-sliceSkill
- if-playtest-reviewSkill
- if-sync-stateSkill
- ink-docSkill
- init-story-projectSkill
- load-story-contextSkill
- manuscript-reviewSkill
- plan-chapterSkill
- rewrite-chapterSkill
- sync-story-bibleSkill
- update-character-stateSkill
- update-timelineSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
30 rules. About 0 are common, 20 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use this skill to assemble an export package from the accepted project files.
- Distinctive: line 14
Use this skill when:
- Distinctive: line 21
Do not use this skill while the project is still too volatile to share coherently unless the goal is an explicit snapshot draft.
- Distinctive: line 33
Ask questions only when the export scope is genuinely unclear and cannot be inferred safely from the project state.
- Distinctive: line 42
Read these when present and relevant:
- Distinctive: line 52
Do not include internal review artifacts in the exported manuscript body.
- Very specific: line 56
Write or update under 08_exports/:
- Distinctive: line 63
If the project already has a clearer export naming pattern, follow it consistently.
- Distinctive: line 72
no inline editorial notes, review sections, planning headers, or continuity annotations.
- Very specific: line 92
If the export is expected to feed a later HTML build, 08_exports/dist/style.css should provide a sensible default reading stylesheet for …
- Very specific: line 98
Read story.language before writing export content.
- Distinctive: line 99
Keep file and folder names in English.
- Distinctive: line 100
Write human-readable export content in the selected story language.
- Distinctive: line 101
Use correct orthography, accents, and normal Unicode for that language.
- Distinctive: line 102
Keep YAML keys in English.
- Very specific: line 103
If story.language is missing, gather it before exporting.
- Distinctive: line 108
Read the manuscript material in order and confirm which chapters are appropriate to include.
- Distinctive: line 111
remove internal workflow material.
- Distinctive: line 112
keep only reader-facing text.
- Very specific: line 113
If the manuscript export keeps a visible # Title heading in the body, record that downstream HTML generation must avoid emitting a second …
- Very specific: line 116
Create export_package.md as a short companion document describing what the export contains.
- Very specific: line 117
Create export_manifest.yaml with the core export metadata.
- Very specific: line 118
If no project-specific stylesheet already exists and HTML output is expected later, create 08_exports/dist/style.css by copying …
- Very specific: line 119
When the HTML distribution file is later generated, embed the stylesheet into the HTML so the result is a self-contained .html file that …
- Distinctive: line 134
After running the skill, provide:
- Distinctive: line 156
Do not rewrite the manuscript here.
- Distinctive: line 157
Do not export rejected or clearly unstable draft material as if it were final.
- Distinctive: line 158
Do not embed chapter reviews, revision notes, or continuity logs into the manuscript export.
- Distinctive: line 159
Do not invent packaging metadata that the project does not support.
- Distinctive: line 160
Do not leave downstream HTML title handling ambiguous if the manuscript body already contains a visible title heading.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Prepare Export
Overview
Use this skill to assemble an export package from the accepted project files. It should gather the current manuscript state, remove internal workflow clutter, and produce clean deliverables under 08_exports/ that are ready for external reading, sharing, or archival.
When To Use
Use this skill when:
- the project needs a clean manuscript export;
- several chapters are stable enough to share externally;
- the user wants a packaged snapshot of the current story state;
- the manuscript needs a reader-facing artifact instead of a working-repo view.
Do not use this skill while the project is still too volatile to share coherently unless the goal is an explicit snapshot draft.
Required Inputs
Gather or infer these inputs:
story.yamlmetadata;- stable manuscript scope to export;
- accepted chapter drafts;
- synopsis or logline if a package summary should accompany the manuscript;
- current review state, so only stabilized material is exported.
Ask questions only when the export scope is genuinely unclear and cannot be inferred safely from the project state.
Files To Read
Always read:
story.yaml- relevant stable chapters from
05_draft/
Read these when present and relevant:
02_story/chapter_list.md02_story/synopsis.md02_story/logline.md06_review/manuscript.review.md06_review/beta_reader_pass.md00_meta/goals.mdreferences/default_html_style.css
Do not include internal review artifacts in the exported manuscript body.
Files To Write
Write or update under 08_exports/:
manuscript_export.mdexport_package.mdexport_manifest.yamldist/style.csswhen the export will later be turned into HTML and no project-specific stylesheet already exists
If the project already has a clearer export naming pattern, follow it consistently.
Expected Export Files
manuscript_export.md should contain:
- title;
- optional short front matter if the project already uses it;
- exported chapters in reading order;
- no inline editorial notes, review sections, planning headers, or continuity annotations.
export_package.md should contain:
- title and scope of the export;
- short story summary;
- chapter range included;
- current manuscript status;
- optional notes about what kind of draft this is.
export_manifest.yaml should contain stable machine-readable metadata, such as:
titlelanguageexported_scopechapter_countproject_statusgenerated_fromnotes
If the export is expected to feed a later HTML build, 08_exports/dist/style.css should provide a sensible default reading stylesheet for the generated HTML. When no project-specific stylesheet is already present and no other stylesheet has been requested, copy the skill resource references/default_html_style.css into 08_exports/dist/style.css.
Language Rules
This skill depends on story.yaml as the source of truth for project metadata.
- Read
story.languagebefore writing export content. - Keep file and folder names in English.
- Write human-readable export content in the selected story language.
- Use correct orthography, accents, and normal Unicode for that language.
- Keep YAML keys in English.
- If
story.languageis missing, gather it before exporting.
Procedure
- Determine the stable export scope from accepted chapters and current project status.
- Read the manuscript material in order and confirm which chapters are appropriate to include.
- Assemble
manuscript_export.mdfrom the selected chapters:- preserve chapter order;
- remove internal workflow material;
- keep only reader-facing text.
- If the manuscript export keeps a visible
# Titleheading in the body, record that downstream HTML generation must avoid emitting a second visible title block.- For HTML built with
pandoc, prefer using--metadata pagetitle="..."instead of--metadata title="..."when the body already contains the visible title heading. - This HTML-specific precaution is not necessary for EPUB in the same way; EPUB may still use
--metadata title="...", and can additionally use--epub-title-page=falseif the workflow wants metadata without a generated title page.
- For HTML built with
- Create
export_package.mdas a short companion document describing what the export contains. - Create
export_manifest.yamlwith the core export metadata. - If no project-specific stylesheet already exists and HTML output is expected later, create
08_exports/dist/style.cssby copyingreferences/default_html_style.css. - When the HTML distribution file is later generated, embed the stylesheet into the HTML so the result is a self-contained
.htmlfile that can be distributed by sending only that file. - Preserve the distinction between working files and exported artifacts. This skill packages accepted state; it does not editorialize or revise the manuscript.
Output Requirements
The export package should make it easy to answer:
- what text is included;
- how complete the exported manuscript is;
- what language it is in;
- what draft state it represents;
- which source files it was assembled from.
Output
After running the skill, provide:
- a short summary of the export created;
- which chapters or scope were included;
- what files were written under
08_exports/; - any important caveats about draft completeness.
Definition Of Done
This skill is done when:
08_exports/contains a clean manuscript export package;- the exported manuscript is free of internal workflow noise;
- the export reflects the accepted project state;
- the package respects
story.language; - the skill makes clear how downstream HTML should avoid duplicating the visible title;
- a default
08_exports/dist/style.cssexists when HTML export is expected and no custom stylesheet is already present; - the default stylesheet comes from
references/default_html_style.csswhen no other stylesheet was specified; - another reader can open the export without understanding the internal repo structure.
Restrictions
- Do not rewrite the manuscript here.
- Do not export rejected or clearly unstable draft material as if it were final.
- Do not embed chapter reviews, revision notes, or continuity logs into the manuscript export.
- Do not invent packaging metadata that the project does not support.
- Do not leave downstream HTML title handling ambiguous if the manuscript body already contains a visible title heading.
Example Invocation
Use $prepare-export to assemble the current manuscript into a clean export package for external reading.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

