Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

format-export

БесплатноБез исполняемых скриптовНе проверен

This skill provides screenplay export procedures for PDF, FDX, and HTML. Covers Better Fountain VS Code extension, afterwriting CLI, and Highland for…

bybren-llcот bybren-llc★ 70 звёзд на GitHub15 установок в других каталогах

Об этом скилле

Format Export Skill

Invocation Triggers

Apply this skill when:

  • Exporting screenplay to PDF
  • Converting to Final Draft (FDX)
  • Generating HTML preview
  • Preparing scripts for delivery

Recommended: Better Fountain Extension

The simplest export method uses the Better Fountain VS Code extension:

Format Command Palette Action
PDF Fountain: Export to PDF
FDX Fountain: Export to FDX
HTML Fountain: Export to HTML

Steps:

  1. Open .fountain file in VS Code
  2. Press Ctrl+Shift+P (or Cmd+Shift+P on macOS)
  3. Type the export command
  4. Choose output location

Export Formats Overview

Format Extension Purpose Tools
PDF .pdf Industry standard delivery Better Fountain, afterwriting, Highland
FDX .fdx Final Draft import Better Fountain, screenplain, Highland
HTML .html Web preview/sharing Better Fountain, afterwriting
Plain Text .txt Accessibility, archival direct copy

PDF Export

Industry Standard Format

  • Font: Courier 12pt
  • Margins: 1.5" left, 1" right, 1" top/bottom
  • Page Size: US Letter (8.5" x 11")
  • Page Numbers: Top right, starting page 2

Better Fountain (Recommended)

In VS Code: Ctrl+Shift+P -> "Fountain: Export to PDF"

CLI: afterwriting (for automation)

# Install
npm install -g afterwriting

# Basic PDF export
afterwriting --source screenplay.fountain --pdf

# With configuration
afterwriting --source screenplay.fountain --pdf --config pdf-config.json

# Output to specific file
afterwriting --source screenplay.fountain --pdf --output script.pdf

PDF Configuration (pdf-config.json)

{
  "print_title_page": true,
  "print_profile": "default",
  "print_header": "",
  "print_footer": "",
  "print_watermark": "",
  "print_dialogue_numbers": false,
  "print_notes": false,
  "print_sections": false,
  "print_synopses": false,
  "scenes_numbers": "none",
  "each_scene_on_new_page": false
}

FDX Export (Final Draft XML)

Purpose

  • Import into Final Draft software
  • Collaboration with Final Draft users
  • Industry compatibility

Better Fountain (Recommended)

In VS Code: Ctrl+Shift+P -> "Fountain: Export to FDX"

CLI: screenplain (for automation)

# One-time installation (requires Python 3.8+ and pipx)
pipx install screenplain

# Export to FDX
screenplain --format fdx screenplay.fountain output.fdx

HTML Export

Purpose

  • Web-based reading
  • Easy sharing via URL
  • Print from browser

Better Fountain (Recommended)

In VS Code: Ctrl+Shift+P -> "Fountain: Export to HTML"

CLI: afterwriting (for automation)

afterwriting --source screenplay.fountain --html

Export Workflow

Pre-Export Checklist

  • Script Supervisor approval
  • Standards Reviewer approval
  • All notes resolved or intentional
  • Title page complete and current
  • Fountain syntax validated

Export Process

1. Validate Fountain file
2. Run export command
3. Verify output file created
4. Open and review output
5. Check page count
6. Verify title page
7. Sample check formatting
8. Package for delivery

Post-Export Verification

  • File opens without errors
  • Page count as expected
  • Title page correct
  • Character names format correctly
  • Dialogue layout proper
  • Transitions right-aligned
  • No orphaned elements

Version Naming

Convention

[Title]_v[Major].[Minor]_[YYYYMMDD].[ext]

Examples

Seoul_Identity_v1.0_20251227.pdf
Seoul_Identity_v1.1_20251228.pdf
Seoul_Identity_v2.0_20260115.pdf
Seoul_Identity_v2.0_20260115.fdx

Major vs. Minor

  • Major (1.0 -> 2.0): Significant rewrite
  • Minor (1.0 -> 1.1): Polish, small changes

Troubleshooting

PDF Issues

Problem Solution
Wrong fonts Check PDF config, ensure Courier
Bad margins Verify config matches standards
Missing title page Enable in config
Notes appearing Disable print_notes

FDX Issues

Problem Solution
Elements misformatted Review in Final Draft, adjust
Notes missing Expected - FDX doesn't support all
Dual dialogue broken May need manual fix in FD

HTML Issues

Problem Solution
Print looks wrong Use paper size option
Styling off Use default CSS or customize

Export Checklist

PDF Delivery

  • Page count within target
  • Title page per standards
  • No scene numbers (spec)
  • No WGA numbers (spec)
  • Filename follows convention
  • File under 10MB

FDX Delivery

  • Opens in Final Draft
  • Elements formatted correctly
  • Scene headings intact
  • Dialogue blocks correct

Competition Submission

  • Format matches guidelines
  • Page
Полный SKILL.md на GitHub

Установить format-export в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.md

FAQ

Что делает скилл format-export?

This skill provides screenplay export procedures for PDF, FDX, and HTML. Covers Better Fountain VS Code extension, afterwriting CLI, and Highland for converting Fountain files to industry-standard delivery formats. Use when: exporting screenplay to PDF, converting to Final Draft (FDX), generating HTML preview, or preparing scripts for delivery.

Как установить скилл format-export?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл format-export запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить format-export с