[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78FMZMQ1SXDBGNCF3WSXT96":3,"skill-same:01M78FMZMQ1SXDBGNCF3WSXT96":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M78FMZMQ1SXDBGNCF3WSXT96","morph-ppt-3d",null,"3D Morph PPT — extends morph-ppt with GLB model insertion, cinematographic camera, model-content layout, and enriched visual design system.","shixianghua\u002FOfficeCLI-Enhanced","shixianghua","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F185889825?v=4","01M78FMF4JT83THYX5CF50WP85","01M78FMF5Q3AG5XA5A6KS5TQZK",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fshixianghua\u002FOfficeCLI-Enhanced\u002Fblob\u002Fmain\u002Fskills\u002Fmorph-ppt-3d\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: morph-ppt-3d\ndescription: 3D Morph PPT — extends morph-ppt with GLB model insertion, cinematographic camera, model-content layout, and enriched visual design system.\n---\n\n# Morph PPT — 3D Extension\n\nThis skill **extends** `morph-ppt`. All morph-ppt rules (naming, ghosting, design, verification) apply in full.\nThis file covers **3D-specific additions** and an **enriched design system** combining morph-ppt aesthetics with concrete color palettes, font pairings, and layout quality guardrails.\n\n---\n\n## Setup\n\nIf `officecli` is missing:\n\n- **macOS \u002F Linux**: `curl -fsSL https:\u002F\u002Fd.officecli.ai\u002Finstall.sh | bash`\n- **Windows (PowerShell)**: `irm https:\u002F\u002Fd.officecli.ai\u002Finstall.ps1 | iex`\n\nVerify with `officecli --version` (open a new terminal if PATH hasn't picked up). If install fails, download a binary from https:\u002F\u002Fgithub.com\u002FiOfficeAI\u002FOfficeCLI\u002Freleases.\n\n## Use when\n\n- User wants a `.pptx` with a `.glb` 3D model and Morph transitions.\n\n---\n\n## 3D Model Compatibility Gate (before generation)\n\n1. Only `.glb` is supported. If user provides `.fbx` \u002F `.obj` \u002F `.blend` \u002F `.usdz` \u002F `.gltf`, ask them to convert to `.glb` first (e.g. via Blender export).\n2. If user has no model, follow the **Model Discovery Flow** below.\n3. All files (`.glb`, `.pptx`, build script) must be in the same working directory.\n\n---\n\n## Model Discovery Flow (when user has no model)\n\nWhen the user gives a topic but no `.glb` file, **proactively help them find a matching model** instead of just listing websites.\n\n### Step 1: Understand the topic and suggest model direction\n\nBased on the user's topic, suggest what kind of 3D model would work:\n\n| Topic type         | Model suggestion                    | Example                                               |\n| ------------------ | ----------------------------------- | ----------------------------------------------------- |\n| Product\u002Fbrand      | The actual product or a similar one | \"coffee brand\" → coffee cup, coffee machine, bean     |\n| Animal\u002Fcharacter   | The animal or mascot                | \"fox mascot\" → fox 3D model                           |\n| Architecture\u002Fspace | Building, room, or structure        | \"new office\" → office building, interior              |\n| Vehicle\u002Ftransport  | The vehicle itself                  | \"EV launch\" → car, motorcycle, bicycle                |\n| Food\u002Fcooking       | The dish or ingredient              | \"Japanese food\" → sushi platter, ramen bowl           |\n| Tech\u002Fgadget        | The device                          | \"phone launch\" → phone, tablet, laptop                |\n| Nature\u002Fscience     | The subject                         | \"solar system\" → planet, sun, earth                   |\n| Abstract concept   | A symbolic object                   | \"teamwork\" → puzzle pieces, gears, bridge             |\n\nTell the user: \"Your topic is [X]. I suggest using a 3D model of [description]. Here are some free sources to find one:\"\n\n### Step 2: Search for models (agent-driven)\n\n**Proactively search for models on behalf of the user.** Don't just list websites — actually find candidates.\n\n**Search strategy (try in order):**\n\n1. **Web search** for free GLB models matching the topic:\n\n   ```\n   Search: \"[topic keyword] 3d model glb free download\"\n   Example: \"fox 3d model glb free download\"\n   ```\n\n2. **Sketchfab API** (no auth needed for search):\n\n   ```bash\n   curl -s \"https:\u002F\u002Fapi.sketchfab.com\u002Fv3\u002Fsearch?type=models&q=[keyword]&downloadable=true&archives_flavours=glb\" \\\n     | python3 -c \"\n   import json, sys\n   data = json.load(sys.stdin)\n   for m in data.get('results', [])[:5]:\n       print(f\\\"Name: {m['name']}\\\")\n       print(f\\\"URL: https:\u002F\u002Fsketchfab.com\u002F3d-models\u002F{m['slug']}-{m['uid']}\\\")\n       print(f\\\"Likes: {m.get('likeCount', 0)}, License: {m.get('license', {}).get('label', 'unknown')}\\\")\n       print()\n   \"\n   ```\n\n3. **Poly Pizza** (direct GLB download, all free):\n\n   ```bash\n   # Search results page — parse for download links\n   curl -s \"https:\u002F\u002Fpoly.pizza\u002Fapi\u002Fsearch\u002F[keyword]\" 2>\u002Fdev\u002Fnull\n   ```\n\n4. **Khronos glTF-Sample-Assets** (guaranteed to work, always available):\n   ```bash\n   # Direct download — no auth, no API, always works\n   curl -L -o model.glb \"https:\u002F\u002Fraw.githubusercontent.com\u002FKhronosGroup\u002FglTF-Sample-Assets\u002Fmain\u002FModels\u002F[ModelName]\u002FglTF-Binary\u002F[ModelName].glb\"\n   ```\n   Available models: Duck, Fox, Avocado, BrainStem, CesiumMan, DamagedHelmet, FlightHelmet, Lantern, Suzanne, WaterBottle, etc.\n\n### Step 3: Present candidates to user for confirmation\n\nShow the user 2-3 model options with:\n\n- Model name and source\n- Preview link (Sketchfab URL or description)\n- License info\n- Why this model fits their topic\n\nExample response:\n\n```\nBased on your topic \"fox mascot\", here are some models I found:\n\n1. Fox (Khronos sample)\n   Direct download, guaranteed compatible\n   Why: clean fox model, good for mascot\u002Fcharacter decks\n\n2. Low Poly Fox (Poly Pizza)\n   URL: https:\u002F\u002Fpoly.pizza\u002Fm\u002Fxxx\n   License: CC0 (completely free)\n   Why: low-poly style, good fit for clean minimal design\n\n3. Cartoon Fox (Sketchfab)\n   URL: https:\u002F\u002Fsketchfab.com\u002F3d-models\u002Ffox-xxx\n   License: CC BY 4.0 (free, commercial use ok)\n   Why: expressive face, high detail\n\nWhich one do you want? I'll download it and start building.\n```\n\n**Wait for user confirmation before downloading.** Do not download without asking.\n\n### Step 4: Download the confirmed model\n\nAfter user confirms, download directly:\n\n```bash\n# For Sketchfab (if user has the download URL)\ncurl -L -o model.glb \"[download_url]\"\n\n# For Khronos samples (always works)\ncurl -L -o model.glb \"https:\u002F\u002Fraw.githubusercontent.com\u002FKhronosGroup\u002FglTF-Sample-Assets\u002Fmain\u002FModels\u002FFox\u002FglTF-Binary\u002FFox.glb\"\n```\n\nAfter download, verify:\n\n- File exists and is not empty\n- File extension is `.glb`\n- File size is under 50MB\n\nIf Sketchfab requires login to download, tell the user:\n\n> \"This model requires a Sketchfab login to download. You can grab the .glb file from the page and share it with me. Or I can use a Khronos sample model for a demo version first?\"\n\n### Step 5: When user says \"anything\" \u002F \"you decide\" \u002F \"just make a demo\"\n\n**Don't just grab a random model.** First guide the user to clarify their PPT topic:\n\n> Sure! I'll handle the model — but let me confirm the topic direction first so the model matches the content:\n>\n> 1. Tech\u002FProduct — headphones, phone, robot...\n> 2. Animal\u002FCharacter — cute pet, cartoon character...\n> 3. Architecture\u002FSpace — building, interior, city...\n> 4. Food\u002FLifestyle — dishes, everyday objects...\n> 5. Other — just tell me your idea\n>\n> Pick a direction, or just give me a topic keyword.\n\nAfter user confirms a direction, THEN search and recommend models.\n\n### Step 6: When user wants to find models themselves\n\nGive specific website links with step-by-step guidance:\n\n> **Recommended 3D model websites:**\n>\n> 1. **Sketchfab** (largest 3D model platform)\n>    - Link: https:\u002F\u002Fsketchfab.com\u002Fsearch?q=[keyword]&type=models&downloadable=true\n>    - Filter steps: search keyword → check \"Downloadable\" → format \"glTF\" → sort by \"Likes\"\n>    - When downloading, select **glTF (.glb)** format\n>    - Note: some models require free registration to download\n> 2. **Poly Pizza** (all free low-poly)\n>    - Link: https:\u002F\u002Fpoly.pizza\u002F\n>    - All CC0 licensed — click Download to get .glb directly\n>    - Best for: minimalist or cartoon-style presentations\n> 3. **Sketchfab popular categories**\n>    - Animals: https:\u002F\u002Fsketchfab.com\u002Fsearch?q=animal&type=models&downloadable=true\n>    - Food: https:\u002F\u002Fsketchfab.com\u002Fsearch?q=food&type=models&downloadable=true\n>    - Tech: https:\u002F\u002Fsketchfab.com\u002Fsearch?q=gadget&type=models&downloadable=true\n>    - Architecture: https:\u002F\u002Fsketchfab.com\u002Fsearch?q=architecture&type=models&downloadable=true\n> 4. **Free3D** (general free model site)\n>    - Link: https:\u002F\u002Ffree3d.com\u002F3d-models\u002Fglb\n>    - Note: check the license type before use\n> 5. **TurboSquid Free** (pro model site free section)\n>    - Link: https:\u002F\u002Fwww.turbosquid.com\u002FSearch\u002F3D-Models\u002Ffree\u002Fglb\n>\n> After downloading, share the .glb file with me. If the download is a .gltf folder, use Blender to convert it to .glb.\n\n### Step 7: When user gives keywords and asks agent to search\n\n**Remind about token cost before searching:**\n\n> I can search for you, but web searches use extra tokens. Would you prefer:\n>\n> A. I search — I use the Sketchfab API and recommend 2-3 options (uses a few tokens)\n> B. Self-service — I give you search links and filter steps, you pick and share with me (no extra tokens)\n>\n> A or B?\n\nIf user chooses A, proceed with Step 2 (agent-driven search).\nIf user chooses B, proceed with Step 6 (self-service guidance).\n\n### License reminder\n\nAlways remind before confirming download: \"Please check the model license before downloading. CC0 \u002F CC BY = free to use; CC BY-NC = non-commercial only.\"\n\n---\n\n## Visual Design System (4.0 enrichment)\n\nmorph-ppt provides the base design rules. This section adds **concrete palettes, font pairings, and layout quality rules** from PPT Creator to give the AI more variety and stronger guardrails.\n\n### Color Palettes (pick one per deck, or blend)\n\nChoose a palette that matches the **topic mood** — don't default to generic blue.\n\n| Palette                | Primary               | Secondary             | Accent           | Body Text | Muted\u002FCaption |\n| ---------------------- | --------------------- | --------------------- | ---------------- | --------- | ------------- |\n| **Coral Energy**       | `F96167` (coral)      | `F9E795` (gold)       | `2F3C7E` (navy)  | `333333`  | `8B7E6A`      |\n| **Midnight Executive** | `1E2761` (navy)       | `CADCFC` (ice blue)   | `FFFFFF`         | `333333`  | `8899BB`      |\n| **Forest & Moss**      | `2C5F2D` (forest)     | `97BC62` (moss)       | `F5F5F5` (cream) | `2D2D2D`  | `6B8E6B`      |\n| **Charcoal Minimal**   | `36454F` (charcoal)   | `F2F2F2` (off-white)  | `212121`         | `333333`  | `7A8A94`      |\n| **Warm Terracotta**    | `B85042` (terracotta) | `E7E8D1` (sand)       | `A7BEAE` (sage)  | `3D2B2B`  | `8C7B75`      |\n| **Berry & Cream**      | `6D2E46` (berry)      | `A26769` (dusty rose) | `ECE2D0` (cream) | `3D2233`  | `8C6B7A`      |\n| **Ocean Gradient**     | `065A82` (deep blue)  | `1C7293` (teal)       | `21295C`         | `2B3A4E`  | `6B8FAA`      |\n| **Teal Trust**         | `028090` (teal)       | `00A896` (seafoam)    | `02C39A` (mint)  | `2D3B3B`  | `5E8C8C`      |\n| **Sage Calm**          | `84B59F` (sage)       | `69A297` (eucalyptus) | `50808E`         | `2D3D35`  | `7A9488`      |\n| **Cherry Bold**        | `990011` (cherry)     | `FCF6F5` (off-white)  | `2F3C7E` (navy)  | `333333`  | `8B6B6B`      |\n\n**Rules:**\n\n- One color dominates (60-70% visual weight), 1-2 supporting tones, one accent\n- On light backgrounds: use Body Text color for copy, Muted for captions\n- On dark backgrounds: use Secondary or `FFFFFF` for copy, Muted for captions\n- For additional inspiration, browse `..\u002Fmorph-ppt\u002Freference\u002Fstyles\u002FINDEX.md` — 50+ visual styles organized by mood (dark, light, warm, vivid, bw). Read `style.md` for design philosophy, `build.sh` for implementation reference. **Learn the approach, do not copy coordinates verbatim**\n\n### Font Pairings (pick one per deck)\n\n| Header Font  | Body Font     | Best For                         |\n| ------------ | ------------- | -------------------------------- |\n| Georgia      | Calibri       | Formal business, finance         |\n| Arial Black  | Arial         | Bold marketing, product launches |\n| Calibri      | Calibri Light | Clean corporate, minimal         |\n| Cambria      | Calibri       | Traditional professional         |\n| Trebuchet MS | Calibri       | Friendly tech, startups          |\n| Impact       | Arial         | Bold headlines, keynotes         |\n| Palatino     | Garamond      | Elegant editorial, luxury        |\n| Consolas     | Calibri       | Developer tools, technical       |\n\n### Hard Rules (mandatory, no exceptions)\n\n**H4 — Body text minimum 16pt:**\nAll body text, card content, and bullet points must be >= 16pt. \"Content doesn't fit\" is not an excuse — reduce text, split slides, or reduce card count instead. Exceptions: chart axis labels (\u003C=12pt), short sublabels (\u003C=14pt, max 5 words), footnotes.\n\n**H6 — Dark background contrast:**\nWhen slide background brightness \u003C 30% (e.g. `1E2761`, `36454F`, `000000`), ALL body text, card content, chart labels, and icon fills MUST use white (`FFFFFF`) or near-white (brightness > 80%). Never use mid-gray or muted colors as body text on dark backgrounds.\n\n**H7 — Speaker notes required:**\nEvery content slide (not title\u002Fclosing) MUST have speaker notes. Use:\n\n```bash\nofficecli add deck.pptx '\u002Fslide[N]' --type notes --prop text=\"...\"\n```\n\n### Visual Element Checkpoint\n\n**Every 3 content slides, at least 1 must contain a non-text visual element:**\n\n| Visual type            | Implementation                               |\n| ---------------------- | -------------------------------------------- |\n| Icon in colored circle | ellipse shape + centered text\u002Fnumber overlay |\n| Colored block          | `preset=roundRect` with fill                 |\n| Large stat number      | `size=64, bold=true` with small label below  |\n| Chart                  | `--type chart` (column\u002Fpie\u002Fline)             |\n| Gradient background    | `background=COLOR1-COLOR2-180`               |\n| Shape composition      | circles + connectors for diagrams            |\n\nText-only slides are only allowed for: quotes, code examples, pure tables.\n\n---\n\n## 3D Model Insertion Rules\n\n### Add model fresh on every slide — NEVER clone\n\n`morph_clone_slide` copies the model as frozen XML. The cloned model cannot Morph.\nEach slide must call `add --type 3dmodel` independently with the **same `name`** prop.\n\n**⚠️ CRITICAL: If you clone a slide that already has a 3D model, the old model XML is copied too. This creates TWO model3d elements with the same name on the new slide. PowerPoint cannot handle this conflict and will delete the model content during repair.**\n\nIf you must clone a slide for scene actors, **immediately remove the cloned model before adding a new one:**\n\n```bash\n# After cloning slide 1 to slide 2:\nofficecli remove deck.pptx '\u002Fslide[2]\u002Fmodel3d[1]'  # remove the frozen clone\nofficecli add deck.pptx '\u002Fslide[2]' --type 3dmodel ...  # add fresh model\n```\n\n**Recommended approach: Do NOT clone slides with 3D models at all.** Create all slides empty first, then add models fresh on each.\n\n```bash\n# Slide 1\nofficecli add deck.pptx '\u002Fslide[1]' --type 3dmodel \\\n  --prop path=model.glb --prop 'name=!!model-hero' \\\n  --prop x=16cm --prop y=1cm --prop width=16cm --prop height=16cm \\\n  --prop roty=0\n\n# Slide 2\nofficecli add deck.pptx '\u002Fslide[2]' --type 3dmodel \\\n  --prop path=model.glb --prop 'name=!!model-hero' \\\n  --prop x=0.5cm --prop y=1cm --prop width=18cm --prop height=17cm \\\n  --prop roty=50\n```\n\n### Controllable properties\n\n| Property          | What it does              | Notes                                         |\n| ----------------- | ------------------------- | --------------------------------------------- |\n| `x`, `y`          | Position on slide         | Standard slide coordinates                    |\n| `width`, `height` | Frame size                | Model renders inside this frame               |\n| `name`            | Shape name                | Must be identical across slides for Morph     |\n| `roty`            | Y-axis rotation (degrees) | Primary storytelling axis                     |\n| `rotx`            | X-axis tilt (degrees)     | Range -25 to +40. See Camera Language section |\n| `rotz`            | Z-axis roll (degrees)     | Rarely needed                                 |\n\n### Do NOT manually set\n\n- `meterPerModelUnit` — auto-computed from GLB bounding box\n- `preTrans` — auto-computed for model centering\n- `camera` depth\u002Fposition — auto-computed to fit the model\n- Never use `raw-set` on any 3D transform parameter\n\n---\n\n## Model-Content Layout\n\n### Core Principle: Model IS the Subject\n\nThe model must feel like the **protagonist** of the presentation, not a sidebar decoration.\nText supports the model; the model does not decorate the text.\n\n### Size Contrast Rule (MANDATORY)\n\nAdjacent slides must have a model area ratio >= 1.5x or \u003C= 0.67x.\nCompute area as `width × height`. If slide N model is 16×15=240 cm², slide N+1 must be >= 360 or \u003C= 160.\n\n**Never use similar sizes on consecutive slides.** This is the single most important rule for visual energy.\n\n| Size tier      | Width   | Height  | Area (approx) | When to use                                |\n| -------------- | ------- | ------- | ------------- | ------------------------------------------ |\n| **XL (bleed)** | 28-36cm | 22-28cm | 600-1000      | Close-up, model extends beyond slide edges |\n| **L (hero)**   | 18-24cm | 15-19cm | 270-456       | Title, closing, dramatic moments           |\n| **M (split)**  | 13-17cm | 12-16cm | 156-272       | Standard content pages with text           |\n| **S (accent)** | 5-10cm  | 5-10cm  | 25-100        | Data-heavy pages, model as icon            |\n\n### Layout Patterns (6 types)\n\n**A — Model right, content left** (content pages)\nContent at x=1-14cm. Model at x=15-20cm, width 14-18cm.\n\n**B — Model left, content right** (alternate with A)\nModel at x=0-2cm, width 14-18cm. Content at x=18-32cm.\n\n**C — Model centered, text overlay** (title\u002Fclosing)\nModel centered large (18-24cm). Text at slide top or bottom.\n\n**D — Model small corner, content dominant** (data pages)\nModel 5-10cm in any corner. Content fills the rest.\n\n**E — Model as backdrop** (impact\u002Fquote pages)\nModel XL (28-36cm), centered, partially cropped by slide edges.\nText overlaid directly on top of model area with high-contrast color.\nThe model becomes the \"canvas\" — text lives inside the model's space.\n\n```bash\n# Pattern E: model fills slide as backdrop\nofficecli add deck.pptx '\u002Fslide[N]' --type 3dmodel \\\n  --prop path=model.glb --prop 'name=!!model-hero' \\\n  --prop x=-2cm --prop y=-2cm --prop width=38cm --prop height=24cm \\\n  --prop roty=45 --prop rotx=10\n\n# Text overlaid on model\nofficecli add deck.pptx '\u002Fslide[N]' --type shape \\\n  --prop 'name=#sN-quote' --prop text=\"Key insight here\" \\\n  --prop x=3cm --prop y=7cm --prop width=28cm --prop height=5cm \\\n  --prop size=44 --prop bold=true --prop color=FFFFFF --prop fill=none\n```\n\n**F — Model bleed edge** (transition\u002Fteaser pages)\nModel partially off-screen (negative x or y, or x+width > 33.87cm).\nOnly part of the model visible — implies more beyond the frame.\n\n```bash\n# Pattern F: model bleeds off right edge\nofficecli add deck.pptx '\u002Fslide[N]' --type 3dmodel \\\n  --prop path=model.glb --prop 'name=!!model-hero' \\\n  --prop x=20cm --prop y=-1cm --prop width=24cm --prop height=22cm \\\n  --prop roty=70\n```\n\n### Layout Progression\n\nNever repeat the same pattern on consecutive slides. Example:\n\n```\nSlide 1: C (centered hero, L)\nSlide 2: E (backdrop close-up, XL)   ← 1.5x+ area jump\nSlide 3: A (model right, M)          ← pull back\nSlide 4: F (bleed edge, L)           ← push in\nSlide 5: D (small corner, S)         ← dramatic pull back\nSlide 6: B (model left, M)           ← grow\nSlide 7: C (centered closing, L)     ← push in\n```\n\n### Text Layout Safety (MANDATORY)\n\n**Text boxes must never overlap each other or the model frame.**\n\nRules:\n\n1. **Title and body must not collide.** If a title wraps to 2 lines, the body `y` must account for the title's actual height, not the planned height. Safe formula: `body_y = title_y + title_height + 0.5cm`\n2. **Fixed-height text boxes are dangerous.** If text content is longer than expected, it will overflow invisibly. Use generous heights: title `3-4cm`, body `6-8cm`, bullets `8-10cm`.\n3. **Model frame and text boxes: gap >= 1cm.** Calculate: if model is at `x=15cm`, text `x + width` must be \u003C= `14cm`.\n4. **On Pattern C (centered model + text overlay):** text goes at slide top (`y=0.5-2cm`) or bottom (`y=14-17cm`), NOT in the vertical middle where the model lives (`y=3-13cm`).\n5. **After building each slide, verify coordinates:**\n   ```bash\n   officecli get deck.pptx '\u002Fslide[N]' --depth 1\n   # Check: no two shapes share overlapping x\u002Fy\u002Fwidth\u002Fheight ranges\n   ```\n\n### Model Bleed Guidelines\n\n**Not every model looks good when cropped.** Bleed (Pattern E\u002FF) works best for:\n\n- ✅ Symmetric objects (spheres, helmets, bottles) — any crop looks intentional\n- ✅ Large flat surfaces (cars, buildings) — partial view implies scale\n- ✅ When cropping non-critical parts (background, base, stand)\n\nBleed does NOT work for:\n\n- ❌ Character\u002Fanimal models — cropping ears, tails, or limbs looks broken\n- ❌ Small detailed models — cropping loses the detail you want to show\n- ❌ When the cropped part is the most recognizable feature\n\n**For character\u002Fanimal models (like fox, duck, avocado):** keep the full model visible on all slides. Use size changes (L→M→S) for rhythm instead of bleed cropping. Use `rotx` for angle variety instead.\n\n---\n\n## Camera Language\n\nThree tools work together: **roty** (orbit), **rotx** (tilt), **width\u002Fheight** (zoom).\n\n### Shot Types (use >= 3 different per deck)\n\n| Shot                     | Size                  | rotx       | When                        |\n| ------------------------ | --------------------- | ---------- | --------------------------- |\n| **Establishing**         | L (18-24cm)           | 0-5        | Title, intro, closing       |\n| **Three-quarter beauty** | L (16-20cm)           | 5-10       | Hero, first impression      |\n| **Close-up**             | XL (28-36cm), cropped | 0-10       | Feature highlight, detail   |\n| **Bird's eye**           | M (13-17cm)           | 25-40      | Structure, overview         |\n| **Low angle**            | L (16-20cm)           | -15 to -25 | Power, drama                |\n| **Side profile**         | M (13-16cm)           | 0          | Form factor, silhouette     |\n| **Over-the-shoulder**    | S (5-10cm)            | 10-15      | Data-heavy, model as accent |\n\n### Content-Driven Camera\n\nMatch the shot to what the slide talks about:\n\n- \"Front design\" → Close-up, `roty=0`, XL cropped\n- \"Side profile\" → Side, `roty=90`, M\n- \"Internal structure\" → Bird's eye, `roty=30, rotx=35`, M\n- \"Power\u002Fauthority\" → Low angle, `roty=20, rotx=-20`, L\n- \"Data & specs\" → Over-the-shoulder, `roty=60`, S in corner\n\n### Rotation Rules\n\n1. Adjacent roty delta: 30-90° (\u003C 30 = jitter, > 90 = disorienting)\n2. Overall roty direction must be consistent (no back-and-forth)\n3. rotx range: -25 to +40. Adjacent rotx delta \u003C= 20\n4. Total arc across deck: 180-360° (show the model from all sides)\n\n### Example Shot Plan\n\n| Slide | Shot                 | roty | rotx | Size     | Pattern |\n| ----- | -------------------- | ---- | ---- | -------- | ------- |\n| 1     | Three-quarter beauty | 30   | 8    | L 20×17  | C       |\n| 2     | Close-up             | 0    | 5    | XL 30×24 | E       |\n| 3     | Side profile         | 80   | 0    | M 15×14  | A       |\n| 4     | Bird's eye           | 120  | 35   | M 14×13  | B       |\n| 5     | Low angle            | 170  | -20  | L 20×18  | F       |\n| 6     | Over-the-shoulder    | 220  | 10   | S 8×7    | D       |\n| 7     | Establishing         | 320  | 5    | L 20×17  | C       |\n\n---\n\n## Workflow Integration with morph-ppt\n\n### Phase 2 additions (Planning)\n\nIn `brief.md`, add a **Model Choreography Table**:\n\n| Slide | Pattern | Size Tier | Model x,y,w,h | roty | rotx |\n| ----- | ------- | --------- | ------------- | ---- | ---- |\n| 1     | C       | L         | 7,0.5,20,17   | 30   | 8    |\n| 2     | E       | XL        | -2,-2,38,24   | 0    | 5    |\n| ...   | ...     | ...       | ...           | ...  | ...  |\n\nVerify the area ratio rule (>= 1.5x between adjacent rows) before proceeding to build.\n\n### Phase 3 additions (Build)\n\nSince models cannot be cloned, the build script differs from standard morph-ppt:\n\n1. Create all slides first (with background + morph transition)\n2. Add scene actors (`!!scene-*`) on slide 1, then clone slides for morph continuity\n3. Add 3D model fresh on EACH slide (same name, different roty\u002Fposition)\n4. Add content shapes per slide, ghost previous content\n\n```python\nmodel_positions = [\n    {\"slide\": 1, \"x\": \"7cm\",  \"y\": \"0.5cm\", \"w\": \"20cm\", \"h\": \"17cm\", \"roty\": 30},\n    {\"slide\": 2, \"x\": \"-2cm\", \"y\": \"-2cm\",  \"w\": \"38cm\", \"h\": \"24cm\", \"roty\": 0},\n    {\"slide\": 3, \"x\": \"16cm\", \"y\": \"1cm\",   \"w\": \"15cm\", \"h\": \"14cm\", \"roty\": 80},\n    # ...\n]\nfor pos in model_positions:\n    run(\"officecli\", \"add\", OUTPUT, f\"\u002Fslide[{pos['slide']}]\", \"--type\", \"3dmodel\",\n        \"--prop\", f\"path={MODEL}\", \"--prop\", \"name=!!model-hero\",\n        \"--prop\", f\"x={pos['x']}\", \"--prop\", f\"y={pos['y']}\",\n        \"--prop\", f\"width={pos['w']}\", \"--prop\", f\"height={pos['h']}\",\n        \"--prop\", f\"roty={pos['roty']}\")\n```\n\n### Phase 4 additions (Verification)\n\nAfter standard morph verification, additionally check:\n\n- Each slide has exactly one `model3d` element\n- All models share the same `name` prop\n- Adjacent slides have model area ratio >= 1.5x or \u003C= 0.67x\n- No two consecutive slides use the same layout pattern\n\n---\n\n## File Placement Rule\n\nAll files must be in the same working directory.\n\n**Deliverables (exactly 4 files, no more):**\n\n- `.glb` model file (the 3D model used in the deck)\n- Output `.pptx`\n- Build script (re-runnable)\n- `brief.md`\n\n**Do NOT create additional files** such as outline.md, quality-report.md, test-report.md, etc. All planning goes in `brief.md`, all verification output goes to stdout. Extra files confuse users.\n\nDo not scatter model files across unrelated paths.\n","# Morph PPT — 3D Extension\n\nThis skill **extends** `morph-ppt`. All morph-ppt rules (naming, ghosting, design, verification) apply in full.\nThis file covers **3D-specific additions** and an **enriched design system** combining morph-ppt aesthetics with concrete color palettes, font pairings, and layout quality guardrails.\n\n---\n\n## Setup\n\nIf `officecli` is missing:\n\n- **macOS \u002F Linux**: `curl -fsSL https:\u002F\u002Fd.officecli.ai\u002Finstall.sh | bash`\n- **Windows (PowerShell)**: `irm https:\u002F\u002Fd.officecli.ai\u002Finstall.ps1 | iex`\n\nVerify with `officecli --version` (open a new terminal if PATH hasn't picked up). If install fails, download a binary from https:\u002F\u002Fgithub.com\u002FiOfficeAI\u002FOfficeCLI\u002Freleases.\n\n## Use when\n\n- User wants a `.pptx` with a `.glb` 3D model and Morph transitions.\n\n---\n\n## 3D Model Compatibility Gate (before generation)\n\n1. Only `.glb` is supported. If user provides `.fbx` \u002F `.obj` \u002F `.blend` \u002F `.usdz` \u002F `.gltf`, ask them to convert to `.glb` first (e.g. via Blender export).\n2. If user has no model, follow the **Model Discovery Flow** below.\n3. All files (`.glb`, `.pptx`, build script) must be in the same working directory.\n\n---\n\n## Model Discovery Flow (when user has no model)\n\nWhen the user gives a topic but no `.glb` file, **proactively help them find a matching model** instead of just listing websites.\n\n### Step 1: Understand the topic and suggest model direction\n\nBased on the user's topic, suggest what kind of 3D model would work:\n\n| Topic type         | Model suggestion                    | Example                                               |\n| ------------------ | ----------------------------------- | ----------------------------------------------------- |\n| Product\u002Fbrand      | The actual product or a similar one | \"coffee brand\" → coffee cup, coffee machine, bean     |\n| Animal\u002Fcharacter   | The animal or mascot                | \"fox mascot\" → fox 3D model                           |\n| Architecture\u002Fspace | Building, room, or structure        | \"new office\" → office building, interior              |\n| Vehicle\u002Ftransport  | The vehicle itself                  | \"EV launch\" → car, motorcycle, bicycle                |\n| Food\u002Fcooking       | The dish or ingredient              | \"Japanese food\" → sushi platter, ramen bowl           |\n| Tech\u002Fgadget        | The device                          | \"phone launch\" → phone, tablet, laptop                |\n| Nature\u002Fscience     | The subject                         | \"solar system\" → planet, sun, earth                   |\n| Abstract concept   | A symbolic object                   | \"teamwork\" → puzzle pieces, gears, bridge             |\n\nTell the user: \"Your topic is [X]. I suggest using a 3D model of [description]. Here are some free sources to find one:\"\n\n### Step 2: Search for models (agent-driven)\n\n**Proactively search for models on behalf of the user.** Don't just list websites — actually find candidates.\n\n**Search strategy (try in order):**\n\n1. **Web search** for free GLB models matching the topic:\n\n   ```\n   Search: \"[topic keyword] 3d model glb free download\"\n   Example: \"fox 3d model glb free download\"\n   ```\n\n2. **Sketchfab API** (no auth needed for search):\n\n   ```bash\n   curl -s \"https:\u002F\u002Fapi.sketchfab.com\u002Fv3\u002Fsearch?type=models&q=[keyword]&downloadable=true&archives_flavours=glb\" \\\n     | python3 -c \"\n   import json, sys\n   data = json.load(sys.stdin)\n   for m in data.get('results', [])[:5]:\n       print(f\\\"Name: {m['name']}\\\")\n       print(f\\\"URL: https:\u002F\u002Fsketchfab.com\u002F3d-models\u002F{m['slug']}-{m['uid']}\\\")\n       print(f\\\"Likes: {m.get('likeCount', 0)}, License: {m.get('license', {}).get('label', 'unknown')}\\\")\n       print()\n   \"\n   ```\n\n3. **Poly Pizza** (direct GLB download, all free):\n\n   ```bash\n   # Search results page — parse for download links\n   curl -s \"https:\u002F\u002Fpoly.pizza\u002Fapi\u002Fsearch\u002F[keyword]\" 2>\u002Fdev\u002Fnull\n   ```\n\n4. **Khronos glTF-Sample-Assets** (guaranteed to work, always available):\n   ```bash\n   # Direct download — no auth, no API, always works\n   curl -L -o model.glb \"https:\u002F\u002Fraw.githubusercontent.com\u002FKhronosGroup\u002FglTF-Sample-Assets\u002Fmain\u002FModels\u002F[ModelName]\u002FglTF-Binary\u002F[ModelName].glb\"\n   ```\n   Available models: Duck, Fox, Avocado, BrainStem, CesiumMan, DamagedHelmet, FlightHelmet, Lantern, Suzanne, WaterBottle, etc.\n\n### Step 3: Present candidates to user for confirmation\n\nShow the user 2-3 model options with:\n\n- Model name and source\n- Preview link (Sketchfab URL or description)\n- License info\n- Why this model fits their topic\n\nExample response:\n\n```\nBased on your topic \"fox mascot\", here are some models I found:\n\n1. Fox (Khronos sample)\n   Direct download, guaranteed compatible\n   Why: clean fox model, good for mascot\u002Fcharacter decks\n\n2. Low Poly Fox (Poly Pizza)\n   URL: https:\u002F\u002Fpoly.pizza\u002Fm\u002Fxxx\n   License: CC0 (completely free)\n   Why: low-poly style, good fit for clean minimal design\n\n3. Cartoon Fox (Sketchfab)\n   URL: https:\u002F\u002Fsketchfab.com\u002F3d-models\u002Ffox-xxx\n   License: CC BY 4.0 (free, commercial use ok)\n   Why: expressive face, high detail\n\nWhich one do you want? I'll download it and start building.\n```\n\n**Wait for user confirmation before downloading.** Do not download without asking.\n\n### Step 4: Download the confirmed model\n\nAfter user confirms, download directly:\n\n```bash\n# For Sketchfab (if user has the download URL)\ncurl -L -o model.glb \"[download_url]\"\n\n# For Khronos samples (always works)\ncurl -L -o model.glb \"https:\u002F\u002Fraw.githubusercontent.com\u002FKhronosGroup\u002FglTF-Sample-Assets\u002Fmain\u002FModels\u002FFox\u002FglTF-Binary\u002FFox.glb\"\n```\n\nAfter download, verify:\n\n- File exists and is not empty\n- File extension is `.glb`\n- File size is under 50MB\n\nIf Sketchfab requires login to download, tell the user:\n\n> \"This model requires a Sketchfab login to download. You can grab the .glb file from the page and share it with me. Or I can use a Khronos sample model for a demo version first?\"\n\n### Step 5: When user says \"anything\" \u002F \"you decide\" \u002F \"just make a demo\"\n\n**Don't just grab a random model.** First guide the user to clarify their PPT topic:\n\n> Sure! I'll handle the model — but let me confirm the topic direction first so the model matches the content:\n>\n> 1. Tech\u002FProduct — headphones, phone, robot...\n> 2. Animal\u002FCharacter — cute pet, cartoon character...\n> 3. Architecture\u002FSpace — building, interior, city...\n> 4. Food\u002FLifestyle — dishes, everyday objects...\n> 5. Other — just tell me your idea\n>\n> Pick a direction, or just give me a topic keyword.\n\nAfter user confirms a direction, THEN search and recommend models.\n\n### Step 6: When user wants to find models themselves\n\nGive specific website links with step-by-step guidance:\n\n> **Recommended 3D model websites:**\n>\n> 1. **Sketchfab** (largest 3D model platform)\n>    - Link: https:\u002F\u002Fsketchfab.com\u002Fsearch?q=[keyword]&type=models&downloadable=true\n>    - Filter steps: search keyword → check \"Downloadable\" → format \"glTF\" → sort by \"Likes\"\n>    - When downloading, select **glTF (.glb)** format\n>    - Note: some models require free registration to download\n> 2. **Poly Pizza** (all free low-poly)\n>    - Link: https:\u002F\u002Fpoly.pizza\u002F\n>    - All CC0 licensed — click Download to get .glb directly\n>    - Best for: minimalist or cartoon-style presentations\n> 3. **Sketchfab popular categories**\n>    - Animals: https:\u002F\u002Fsketchfab.com\u002Fsearch?q=animal&type=models&downloadable=true\n>    - Food: https:\u002F\u002Fsketchfab.com\u002Fsearch?q=food&type=models&downloadable=true\n>    - Tech: https:\u002F\u002Fsketchfab.com\u002Fsearch?q=gadget&type=models&downloadable=true\n>    - Architecture: https:\u002F\u002Fsketchfab.com\u002Fsearch?q=architecture&type=models&downloadable=true\n> 4. **Free3D** (general free model site)\n>    - Link: https:\u002F\u002Ffree3d.com\u002F3d-models\u002Fglb\n>    - Note: check the license type before use\n> 5. **TurboSquid Free** (pro model site free section)\n>    - Link: https:\u002F\u002Fwww.turbosquid.com\u002FSearch\u002F3D-Models\u002Ffree\u002Fglb\n>\n> After downloading, share the .glb file with me. If the download is a .gltf folder, use Blender to convert it to .glb.\n\n### Step 7: When user gives keywords and asks agent to search\n\n**Remind about token cost before searching:**\n\n> I can search for you, but web searches use extra tokens. Would you prefer:\n>\n> A. I search — I use the Sketchfab API and recommend 2-3 options (uses a few tokens)\n> B. Self-service — I give you search links and filter steps, you pick and share with me (no extra tokens)\n>\n> A or B?\n\nIf user chooses A, proceed with Step 2 (agent-driven search).\nIf user chooses B, proceed with Step 6 (self-service guidance).\n\n### License reminder\n\nAlways remind before confirming download: \"Please check the model license before downloading. CC0 \u002F CC BY = free to use; CC BY-NC = non-commercial only.\"\n\n---\n\n## Visual Design System (4.0 enrichment)\n\nmorph-ppt provides the base design rules. This section adds **concrete palettes, font pairings, and layout quality rules** from PPT Creator to give the AI more variety and stronger guardrails.\n\n### Color Palettes (pick one per deck, or blend)\n\nChoose a palette that matches the **topic mood** — don't default to generic blue.\n\n| Palette                | Primary               | Secondary             | Accent           | Body Text | Muted\u002FCaption |\n| ---------------------- | --------------------- | --------------------- | ---------------- | --------- | ------------- |\n| **Coral Energy**       | `F96167` (coral)      | `F9E795` (gold)       | `2F3C7E` (navy)  | `333333`  | `8B7E6A`      |\n| **Midnight Executive** | `1E2761` (navy)       | `CADCFC` (ice blue)   | `FFFFFF`         | `333333`  | `8899BB`      |\n| **Forest & Moss**      | `2C5F2D` (forest)     | `97BC62` (moss)       | `F5F5F5` (cream) | `2D2D2D`  | `6B8E6B`      |\n| **Charcoal Minimal**   | `36454F` (charcoal)   | `F2F2F2` (off-white)  | `212121`         | `333333`  | `7A8A94`      |\n| **Warm Terracotta**    | `B85042` (terracotta) | `E7E8D1` (sand)       | `A7BEAE` (sage)  | `3D2B2B`  | `8C7B75`      |\n| **Berry & Cream**      | `6D2E46` (berry)      | `A26769` (dusty rose) | `ECE2D0` (cream) | `3D2233`  | `8C6B7A`      |\n| **Ocean Gradient**     | `065A82` (deep blue)  | `1C7293` (teal)       | `21295C`         | `2B3A4E`  | `6B8FAA`      |\n| **Teal Trust**         | `028090` (teal)       | `00A896` (seafoam)    | `02C39A` (mint)  | `2D3B3B`  | `5E8C8C`      |\n| **Sage Calm**          | `84B59F` (sage)       | `69A297` (eucalyptus) | `50808E`         | `2D3D35`  | `7A9488`      |\n| **Cherry Bold**        | `990011` (cherry)     | `FCF6F5` (off-white)  | `2F3C7E` (navy)  | `333333`  | `8B6B6B`      |\n\n**Rules:**\n\n- One color dominates (60-70% visual weight), 1-2 supporting tones, one accent\n- On light backgrounds: use Body Text color for copy, Muted for captions\n- On dark backgrounds: use Secondary or `FFFFFF` for copy, Muted for captions\n- For additional inspiration, browse `..\u002Fmorph-ppt\u002Freference\u002Fstyles\u002FINDEX.md` — 50+ visual styles organized by mood (dark, light, warm, vivid, bw). Read `style.md` for design philosophy, `build.sh` for implementation reference. **Learn the approach, do not copy coordinates verbatim**\n\n### Font Pairings (pick one per deck)\n\n| Header Font  | Body Font     | Best For                         |\n| ------------ | ------------- | -------------------------------- |\n| Georgia      | Calibri       | Formal business, finance         |\n| Arial Black  | Arial         | Bold marketing, product launches |\n| Calibri      | Calibri Light | Clean corporate, minimal         |\n| Cambria      | Calibri       | Traditional professional         |\n| Trebuchet MS | Calibri       | Friendly tech, startups          |\n| Impact       | Arial         | Bold headlines, keynotes         |\n| Palatino     | Garamond      | Elegant editorial, luxury        |\n| Consolas     | Calibri       | Developer tools, technical       |\n\n### Hard Rules (mandatory, no exceptions)\n\n**H4 — Body text minimum 16pt:**\nAll body text, card content, and bullet points must be >= 16pt. \"Content doesn't fit\" is not an excuse — reduce text, split slides, or reduce card count instead. Exceptions: chart axis labels (\u003C=12pt), short sublabels (\u003C=14pt, max 5 words), footnotes.\n\n**H6 — Dark background contrast:**\nWhen slide background brightness \u003C 30% (e.g. `1E2761`, `36454F`, `000000`), ALL body text, card content, chart labels, and icon fills MUST use white (`FFFFFF`) or near-white (brightness > 80%). Never use mid-gray or muted colors as body text on dark backgrounds.\n\n**H7 — Speaker notes required:**\nEvery content slide (not title\u002Fclosing) MUST have speaker notes. Use:\n\n```bash\nofficecli add deck.pptx '\u002Fslide[N]' --type notes --prop text=\"...\"\n```\n\n### Visual Element Checkpoint\n\n**Every 3 content slides, at least 1 must contain a non-text visual element:**\n\n| Visual type            | Implementation                               |\n| ---------------------- | -------------------------------------------- |\n| Icon in colored circle | ellipse shape + centered text\u002Fnumber overlay |\n| Colored block          | `preset=roundRect` with fill                 |\n| Large stat number      | `size=64, bold=true` with small label below  |\n| Chart                  | `--type chart` (column\u002Fpie\u002Fline)             |\n| Gradient background    | `background=COLOR1-COLOR2-180`               |\n| Shape composition      | circles + connectors for diagrams            |\n\nText-only slides are only allowed for: quotes, code examples, pure tables.\n\n---\n\n## 3D Model Insertion Rules\n\n### Add model fresh on every slide — NEVER clone\n\n`morph_clone_slide` copies the model as frozen XML. The cloned model cannot Morph.\nEach slide must call `add --type 3dmodel` independently with the **same `name`** prop.\n\n**⚠️ CRITICAL: If you clone a slide that already has a 3D model, the old model XML is copied too. This creates TWO model3d elements with the same name on the new slide. PowerPoint cannot handle this conflict and will delete the model content during repair.**\n\nIf you must clone a slide for scene actors, **immediately remove the cloned model before adding a new one:**\n\n```bash\n# After cloning slide 1 to slide 2:\nofficecli remove deck.pptx '\u002Fslide[2]\u002Fmodel3d[1]'  # remove the frozen clone\nofficecli add deck.pptx '\u002Fslide[2]' --type 3dmodel ...  # add fresh model\n```\n\n**Recommended approach: Do NOT clone slides with 3D models at all.** Create all slides empty first, then add models fresh on each.\n\n```bash\n# Slide 1\nofficecli add deck.pptx '\u002Fslide[1]' --type 3dmodel \\\n  --prop path=model.glb --prop 'name=!!model-hero' \\\n  --prop x=16cm --prop y=1cm --prop width=16cm --prop height=16cm \\\n  --prop roty=0\n\n# Slide 2\nofficecli add deck.pptx '\u002Fslide[2]' --type 3dmodel \\\n  --prop path=model.glb --prop 'name=!!model-hero' \\\n  --prop x=0.5cm --prop y=1cm --prop width=18cm --prop height=17cm \\\n  --prop roty=50\n```\n\n### Controllable properties\n\n| Property          | What it does              | Notes                                         |\n| ----------------- | ------------------------- | --------------------------------------------- |\n| `x`, `y`          | Position on slide         | Standard slide coordinates                    |\n| `width`, `height` | Frame size                | Model renders inside this frame               |\n| `name`            | Shape name                | Must be identical across slides for Morph     |\n| `roty`            | Y-axis rotation (degrees) | Primary storytelling axis                     |\n| `rotx`            | X-axis tilt (degrees)     | Range -25 to +40. See Camera Language section |\n| `rotz`            | Z-axis roll (degrees)     | Rarely needed                                 |\n\n### Do NOT manually set\n\n- `meterPerModelUnit` — auto-computed from GLB bounding box\n- `preTrans` — auto-computed for model centering\n- `camera` depth\u002Fposition — auto-computed to fit the model\n- Never use `raw-set` on any 3D transform parameter\n\n---\n\n## Model-Content Layout\n\n### Core Principle: Model IS the Subject\n\nThe model must feel like the **protagonist** of the presentation, not a sidebar decoration.\nText supports the model; the model does not decorate the text.\n\n### Size Contrast Rule (MANDATORY)\n\nAdjacent slides must have a model area ratio >= 1.5x or \u003C= 0.67x.\nCompute area as `width × height`. If slide N model is 16×15=240 cm², slide N+1 must be >= 360 or \u003C= 160.\n\n**Never use similar sizes on consecutive slides.** This is the single most important rule for visual energy.\n\n| Size tier      | Width   | Height  | Area (approx) | When to use                                |\n| -------------- | ------- | ------- | ------------- | ------------------------------------------ |\n| **XL (bleed)** | 28-36cm | 22-28cm | 600-1000      | Close-up, model extends beyond slide edges |\n| **L (hero)**   | 18-24cm | 15-19cm | 270-456       | Title, closing, dramatic moments           |\n| **M (split)**  | 13-17cm | 12-16cm | 156-272       | Standard content pages with text           |\n| **S (accent)** | 5-10cm  | 5-10cm  | 25-100        | Data-heavy pages, model as icon            |\n\n### Layout Patterns (6 types)\n\n**A — Model right, content left** (content pages)\nContent at x=1-14cm. Model at x=15-20cm, width 14-18cm.\n\n**B — Model left, content right** (alternate with A)\nModel at x=0-2cm, width 14-18cm. Content at x=18-32cm.\n\n**C — Model centered, text overlay** (title\u002Fclosing)\nModel centered large (18-24cm). Text at slide top or bottom.\n\n**D — Model small corner, content dominant** (data pages)\nModel 5-10cm in any corner. Content fills the rest.\n\n**E — Model as backdrop** (impact\u002Fquote pages)\nModel XL (28-36cm), centered, partially cropped by slide edges.\nText overlaid directly on top of model area with high-contrast color.\nThe model becomes the \"canvas\" — text lives inside the model's space.\n\n```bash\n# Pattern E: model fills slide as backdrop\nofficecli add deck.pptx '\u002Fslide[N]' --type 3dmodel \\\n  --prop path=model.glb --prop 'name=!!model-hero' \\\n  --prop x=-2cm --prop y=-2cm --prop width=38cm --prop height=24cm \\\n  --prop roty=45 --prop rotx=10\n\n# Text overlaid on model\nofficecli add deck.pptx '\u002Fslide[N]' --type shape \\\n  --prop 'name=#sN-quote' --prop text=\"Key insight here\" \\\n  --prop x=3cm --prop y=7cm --prop width=28cm --prop height=5cm \\\n  --prop size=44 --prop bold=true --prop color=FFFFFF --prop fill=none\n```\n\n**F — Model bleed edge** (transition\u002Fteaser pages)\nModel partially off-screen (negative x or y, or x+width > 33.87cm).\nOnly part of the model visible — implies more beyond the frame.\n\n```bash\n# Pattern F: model bleeds off right edge\nofficecli add deck.pptx '\u002Fslide[N]' --type 3dmodel \\\n  --prop path=model.glb --prop 'name=!!model-hero' \\\n  --prop x=20cm --prop y=-1cm --prop width=24cm --prop height=22cm \\\n  --prop roty=70\n```\n\n### Layout Progression\n\nNever repeat the same pattern on consecutive slides. Example:\n\n```\nSlide 1: C (centered hero, L)\nSlide 2: E (backdrop close-up, XL)   ← 1.5x+ area jump\nSlide 3: A (model right, M)          ← pull back\nSlide 4: F (bleed edge, L)           ← push in\nSlide 5: D (small corner, S)         ← dramatic pull back\nSlide 6: B (model left, M)           ← grow\nSlide 7: C (centered closing, L)     ← push in\n```\n\n### Text Layout Safety (MANDATORY)\n\n**Text boxes must never overlap each other or the model frame.**\n\nRules:\n\n1. **Title and body must not collide.** If a title wraps to 2 lines, the body `y` must account for the title's actual height, not the planned height. Safe formula: `body_y = title_y + title_height + 0.5cm`\n2. **Fixed-height text boxes are dangerous.** If text content is longer than expected, it will overflow invisibly. Use generous heights: title `3-4cm`, body `6-8cm`, bullets `8-10cm`.\n3. **Model frame and text boxes: gap >= 1cm.** Calculate: if model is at `x=15cm`, text `x + width` must be \u003C= `14cm`.\n4. **On Pattern C (centered model + text overlay):** text goes at slide top (`y=0.5-2cm`) or bottom (`y=14-17cm`), NOT in the vertical middle where the model lives (`y=3-13cm`).\n5. **After building each slide, verify coordinates:**\n   ```bash\n   officecli get deck.pptx '\u002Fslide[N]' --depth 1\n   # Check: no two shapes share overlapping x\u002Fy\u002Fwidth\u002Fheight ranges\n   ```\n\n### Model Bleed Guidelines\n\n**Not every model looks good when cropped.** Bleed (Pattern E\u002FF) works best for:\n\n- ✅ Symmetric objects (spheres, helmets, bottles) — any crop looks intentional\n- ✅ Large flat surfaces (cars, buildings) — partial view implies scale\n- ✅ When cropping non-critical parts (background, base, stand)\n\nBleed does NOT work for:\n\n- ❌ Character\u002Fanimal models — cropping ears, tails, or limbs looks broken\n- ❌ Small detailed models — cropping loses the detail you want to show\n- ❌ When the cropped part is the most recognizable feature\n\n**For character\u002Fanimal models (like fox, duck, avocado):** keep the full model visible on all slides. Use size changes (L→M→S) for rhythm instead of bleed cropping. Use `rotx` for angle variety instead.\n\n---\n\n## Camera Language\n\nThree tools work together: **roty** (orbit), **rotx** (tilt), **width\u002Fheight** (zoom).\n\n### Shot Types (use >= 3 different per deck)\n\n| Shot                     | Size                  | rotx       | When                        |\n| ------------------------ | --------------------- | ---------- | --------------------------- |\n| **Establishing**         | L (18-24cm)           | 0-5        | Title, intro, closing       |\n| **Three-quarter beauty** | L (16-20cm)           | 5-10       | Hero, first impression      |\n| **Close-up**             | XL (28-36cm), cropped | 0-10       | Feature highlight, detail   |\n| **Bird's eye**           | M (13-17cm)           | 25-40      | Structure, overview         |\n| **Low angle**            | L (16-20cm)           | -15 to -25 | Power, drama                |\n| **Side profile**         | M (13-16cm)           | 0          | Form factor, silhouette     |\n| **Over-the-shoulder**    | S (5-10cm)            | 10-15      | Data-heavy, model as accent |\n\n### Content-Driven Camera\n\nMatch the shot to what the slide talks about:\n\n- \"Front design\" → Close-up, `roty=0`, XL cropped\n- \"Side profile\" → Side, `roty=90`, M\n- \"Internal structure\" → Bird's eye, `roty=30, rotx=35`, M\n- \"Power\u002Fauthority\" → Low angle, `roty=20, rotx=-20`, L\n- \"Data & specs\" → Over-the-shoulder, `roty=60`, S in corner\n\n### Rotation Rules\n\n1. Adjacent roty delta: 30-90° (\u003C 30 = jitter, > 90 = disorienting)\n2. Overall roty direction must be consistent (no back-and-forth)\n3. rotx range: -25 to +40. Adjacent rotx delta \u003C= 20\n4. Total arc across deck: 180-360° (show the model from all sides)\n\n### Example Shot Plan\n\n| Slide | Shot                 | roty | rotx | Size     | Pattern |\n| ----- | -------------------- | ---- | ---- | -------- | ------- |\n| 1     | Three-quarter beauty | 30   | 8    | L 20×17  | C       |\n| 2     | Close-up             | 0    | 5    | XL 30×24 | E       |\n| 3     | Side profile         | 80   | 0    | M 15×14  | A       |\n| 4     | Bird's eye           | 120  | 35   | M 14×13  | B       |\n| 5     | Low angle            | 170  | -20  | L 20×18  | F       |\n| 6     | Over-the-shoulder    | 220  | 10   | S 8×7    | D       |\n| 7     | Establishing         | 320  | 5    | L 20×17  | C       |\n\n---\n\n## Workflow Integration with morph-ppt\n\n### Phase 2 additions (Planning)\n\nIn `brief.md`, add a **Model Choreography Table**:\n\n| Slide | Pattern | Size Tier | Model x,y,w,h | roty | rotx |\n| ----- | ------- | --------- | ------------- | ---- | ---- |\n| 1     | C       | L         | 7,0.5,20,17   | 30   | 8    |\n| 2     | E       | XL        | -2,-2,38,24   | 0    | 5    |\n| ...   | ...     | ...       | ...           | ...  | ...  |\n\nVerify the area ratio rule (>= 1.5x between adjacent rows) before proceeding to build.\n\n### Phase 3 additions (Build)\n\nSince models cannot be cloned, the build script differs from standard morph-ppt:\n\n1. Create all slides first (with background + morph transition)\n2. Add scene actors (`!!scene-*`) on slide 1, then clone slides for morph continuity\n3. Add 3D model fresh on EACH slide (same name, different roty\u002Fposition)\n4. Add content shapes per slide, ghost previous content\n\n```python\nmodel_positions = [\n    {\"slide\": 1, \"x\": \"7cm\",  \"y\": \"0.5cm\", \"w\": \"20cm\", \"h\": \"17cm\", \"roty\": 30},\n    {\"slide\": 2, \"x\": \"-2cm\", \"y\": \"-2cm\",  \"w\": \"38cm\", \"h\": \"24cm\", \"roty\": 0},\n    {\"slide\": 3, \"x\": \"16cm\", \"y\": \"1cm\",   \"w\": \"15cm\", \"h\": \"14cm\", \"roty\": 80},\n    # ...\n]\nfor pos in model_positions:\n    run(\"officecli\", \"add\", OUTPUT, f\"\u002Fslide[{pos['slide']}]\", \"--type\", \"3dmodel\",\n        \"--prop\", f\"path={MODEL}\", \"--prop\", \"name=!!model-hero\",\n        \"--prop\", f\"x={pos['x']}\", \"--prop\", f\"y={pos['y']}\",\n        \"--prop\", f\"width={pos['w']}\", \"--prop\", f\"height={pos['h']}\",\n        \"--prop\", f\"roty={pos['roty']}\")\n```\n\n### Phase 4 additions (Verification)\n\nAfter standard morph verification, additionally check:\n\n- Each slide has exactly one `model3d` element\n- All models share the same `name` prop\n- Adjacent slides have model area ratio >= 1.5x or \u003C= 0.67x\n- No two consecutive slides use the same layout pattern\n\n---\n\n## File Placement Rule\n\nAll files must be in the same working directory.\n\n**Deliverables (exactly 4 files, no more):**\n\n- `.glb` model file (the 3D model used in the deck)\n- Output `.pptx`\n- Build script (re-runnable)\n- `brief.md`\n\n**Do NOT create additional files** such as outline.md, quality-report.md, test-report.md, etc. All planning goes in `brief.md`, all verification output goes to stdout. Extra files confuse users.\n\nDo not scatter model files across unrelated paths.\n",{"name":5,"description":7},"main","25382af4fdcb6903796fd330dc07db653b560d3a","skills\u002Fmorph-ppt-3d",0,"https:\u002F\u002Fgithub.com\u002Fshixianghua\u002FOfficeCLI-Enhanced","https:\u002F\u002Fgithub.com\u002Fshixianghua","2026-07-13 02:22:31",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add shixianghua\u002FOfficeCLI-Enhanced --skill morph-ppt-3d",{"tool":36,"command":37},"bunx","bunx skills add shixianghua\u002FOfficeCLI-Enhanced --skill morph-ppt-3d",{"tool":39,"command":40},"pnpm","pnpm dlx skills add shixianghua\u002FOfficeCLI-Enhanced --skill morph-ppt-3d","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshixianghua\u002FOfficeCLI-Enhanced\u002Fblob\u002Fmain\u002Fskills\u002Fmorph-ppt-3d\u002FSKILL.md",true,[],[45,51,58,65,72,79],{"skillNo":46,"name":47,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M78FR19BZGX7ZZBC8G3ZJHG7","officecli","https:\u002F\u002Fgithub.com\u002Fshixianghua\u002FOfficeCLI-Enhanced\u002Fblob\u002Fmain\u002Fskills\u002Fofficecli\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M78FQTRP3J1DPJ6S7M5Y5KEX","officecli-xlsx","Use this skill any time a .xlsx file is involved -- as input, output, or both. This includes: creating spreadsheets, financial models, dashboards, or trackers; reading, parsing, or extracting data from any .xlsx file; editing, modifying, or updating existing workbooks; working with formulas, charts, pivot tables, or templates; importing CSV\u002FTSV data into Excel format. Trigger whenever the user mentions 'spreadsheet', 'workbook', 'Excel', 'financial model', 'tracker', 'dashboard', or references a .xlsx\u002F.csv filename.","https:\u002F\u002Fgithub.com\u002Fshixianghua\u002FOfficeCLI-Enhanced\u002Fblob\u002Fmain\u002Fskills\u002Fofficecli-xlsx\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M78FQEMC8QMB1XDX9AXSQ3MW","officecli-word-form","Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document', 'onboarding form', 'HR intake', 'survey template', 'contract \u002F SOW template', 'mail-merge template', 'compliance checklist', 'medical intake questionnaire'. Output is a single .docx where specific fields are editable and the rest is locked. This skill is INDEPENDENT, not a scene layer on docx — payload is `\u003Cw:sdt>` + `\u003Cw:ffData>` + `\u003Cw:fldChar>` + `documentProtection`, none of which docx base skill covers. Do NOT trigger for regular reports, letters, memos, academic papers, pitch decks, or any document with no user-fillable fields — route those to officecli-docx or its scene layers.","https:\u002F\u002Fgithub.com\u002Fshixianghua\u002FOfficeCLI-Enhanced\u002Fblob\u002Fmain\u002Fskills\u002Fofficecli-word-form\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M78FQ6NTDMWT2EPM00FPMBMS","officecli-pptx","Use this skill any time a .pptx file is involved -- as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file; editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions 'deck', 'slides', 'presentation', 'pitch', or references a .pptx filename.","https:\u002F\u002Fgithub.com\u002Fshixianghua\u002FOfficeCLI-Enhanced\u002Fblob\u002Fmain\u002Fskills\u002Fofficecli-pptx\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M78FPRJPMZ640WWGFQZ11TFG","officecli-pitch-deck","Use this skill when the user is building a fundraising \u002F investor pitch deck — seed, Series A \u002F B \u002F C, convertible note, SAFE round, strategic raise. Trigger on: 'pitch deck', 'investor deck', 'Series A deck', 'Series B deck', 'Series C deck', 'fundraising deck', 'seed pitch', 'VC deck', 'raising capital', 'term sheet presentation'. Output is a single .pptx. This skill is a scene layer on top of officecli-pptx — inherits every pptx v2 rule (visual floor, grid, palettes, connector canon, Delivery Gate). DO NOT invoke for a generic board review, sales deck, all-hands, or product launch — route those to officecli-pptx base.","https:\u002F\u002Fgithub.com\u002Fshixianghua\u002FOfficeCLI-Enhanced\u002Fblob\u002Fmain\u002Fskills\u002Fofficecli-pitch-deck\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M78FPCYEK6A5DFP5BZBVMZPA","officecli-financial-model","Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity \u002F scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value', 'LBO', 'debt schedule', 'cash sweep', 'MOIC', 'IRR \u002F XIRR', 'sensitivity table', 'scenario analysis', 'ARR model', 'unit economics', 'CAC \u002F LTV', 'cap table forecast'. Output is a single formula-driven .xlsx. This skill is a scene layer on top of officecli-xlsx — it inherits every xlsx v2 rule (4-color code, visual floor, number formats, cache-drift, Known Issues, Delivery Gate minimum cycle). DO NOT invoke for a simple budget tracker, CSV dump, or operational KPI sheet — route those to officecli-xlsx base.","https:\u002F\u002Fgithub.com\u002Fshixianghua\u002FOfficeCLI-Enhanced\u002Fblob\u002Fmain\u002Fskills\u002Fofficecli-financial-model\u002FSKILL.md",[],[]]