deck-prompt
Purpose
Decompose a markdown or PDF report into a structured deck specification JSON file that the nano-banana --deck mode can consume to generate presentation slide images. Claude reads the source document, understands its structure and content, selects appropriate slide types, writes structured slide fields (heading, visual metaphor, labels, text panel) conforming to a strict schema, and outputs a complete deck spec ready for image generation.
Path Resolution
When this skill is loaded, Claude Code displays a "Base directory for this skill:" header. Use that absolute path to resolve file paths in all commands below. In the examples, $BASE_DIR represents this path. The sibling nano-banana skill lives at $BASE_DIR/../nano-banana.
Workflow
Step 1: Read the Source Report
Use the Read tool to load the full content of the report file. Supported formats:
- Markdown (.md): Read directly.
- PDF (.pdf): Read using the PDF reader (specify
pagesfor large documents).
Parse the document structure: title, abstract/summary, section headings, body content, tables, statistics, quotes, conclusions, and recommendations.