BLADE Slides V2.1.0
中文用户 / Chinese readers: 完整中文 Skill 请阅读 SKILL.zh-CN.md。所有参考资料均提供对应的中文导航和说明,入口见 README.md。
Bao Layered Asset Decomposition & Editability for PowerPoint
BLADE converts an approved slide design into a PowerPoint layer model that behaves more like a human-authored deck: objects are meaningful, modules move cleanly, regular geometry remains editable, complex materials keep their visual quality, and the background remains complete when foreground elements are moved away.
Quality order: source fidelity > human editability > PowerPoint stability > speed.
Required Capabilities
Use the best available tools for:
- source-image inspection, OCR, crop comparison, and alpha inspection;
- image editing or generation for clean backgrounds and isolated transparent assets;
- native PowerPoint construction or conservative OOXML editing;
- authentic logo and brand-asset retrieval;
- final validation in real Microsoft PowerPoint.
If the project provides governance files, visual rules, a trusted template, or an accepted editable baseline, read those first.
Production Modes
Choose one mode in the layer contract before creating assets.
full_rebuild
Reconstruct a new page or a complete batch from flattened designs. Build and validate pages independently before merging them.
local_refinement
Improve an accepted BLADE deck without rebuilding successful pages. Record:
accepted_baseline.source_deck
allowed_change_slides
protected_slides
- the render or structure comparison used to protect unchanged pages
Conservative OOXML or library patches are allowed, but the final file must still be opened, saved, reopened, and exported by real Microsoft PowerPoint.
review_draft
Create a fast temporary review file, such as editable text over a flat slide image. This is not a BLADE final. Mark the filename and delivery report as REVIEW_DRAFT, and never claim that it is fully layered.
Freeze The Layer Contract
Create a contract before generating assets:
python3 <skill-directory>/scripts/init_layer_contract.py \
--slide-id slide_07 \
--source /absolute/path/source.png \
--out /absolute/path/layer_contract.json \
--mode full_rebuild
Assign every visible element to one representation:
| Kind |
Use |
clean_base |
Natural scene after every movable object has been removed |
native_text |
Titles, body copy, labels, numbers, footnotes |
native_shape |
Regular cards, borders, separators, axes, connectors, pills |
transparent_png |
Icons, photo medallions, metallic nodes, complex glass or glow composites |
fixed_scene_visual |
Complex visuals bound to perspective, occlusion, or material context and not requested as movable |
OCR is only a draft. Review titles, brand names, proper nouns, abbreviations, numbers, years, currencies, units, and footnotes at 200%-400%. Record verified strings and confusable checks such as AI / Al and 1 / I / l.
Read methodology.md for the complete decision process and human-editability.md for the layer-quality standard.
Human-Editable Layer Model
A final BLADE page must satisfy all of these conditions:
- Meaningful movement units: cards, icons, title bars, logo cells, medallions, nodes, and callouts move as useful objects rather than many raster fragments.
- Native regular geometry: straight lines, closed borders, ordinary rounded rectangles, axes, and simple arrows use safe native shapes where practical.
- Source-faithful complex material: metallic, glass, glow, particle, and hero visuals may remain one clean transparent composite.
- Readable Selection Pane: every significant object uses a semantic name such as
s08_logo_wall_panel or s14_milestone_200b.
- Consistent repeated systems: repeated cards, medallions, logo cells, and navigation elements share dimensions, padding, corner rules, and a
reuse_key.
- No micro-raster mosaic: do not rebuild borders, corners, shadows, lines, or letters from many tiny picture slices.
- Trusted slide canvas: use the source template size or standard 16:9 at 13.333333 x 7.5 in. Do not preserve an unnecessary doubled canvas.
For significant objects, record:
significant: true
powerpoint_name
movement_unit
reuse_key when applicable
Preservation-First Decomposition
Define:
user_requested_movable: objects that must move, resize, or remain editable;
preserve_source_pixels: successful photography, screens, environmental UI, or decoration that does not need editing;
hero_visuals: high-design anchors such as platforms, flywheels, light paths, and complex networks;
script_generated_visuals_forbidden: true: scripts may measure, typeset, and assemble, but must not cheaply approximate premium visuals.
Do not leave requested movable objects in the clean base. Do not damage the approved design merely to increase object count. Choose layer boundaries according to human editing intent and visual completeness.
Source-Critical Visuals
Evidence photographs, named buildings, historical images, product imagery, and official logos must preserve identity:
- extract them from original media or the approved source page, not from a regenerated background;
- record visual anchors and source-versus-render evidence;
- never generate, trace, recolor, or approximate an official logo.
Fixed Scene Boundary
Keep a complex structure as fixed_scene_visual when it is tightly bound to architecture, people, surfaces, perspective, or occlusion and the user does not need to move it. Text, ordinary cards, and explicitly movable icons above it can still be separated. Do not disguise environmental pixels inside a supposedly transparent movable asset.
Edge, Panel, Circle, And Grid Fidelity
These are blocking checks:
- Complete border: gold, white, or other closed edging remains continuous; transparent corners contain no source background.
- Safety padding: the visible alpha bounds do not touch the asset canvas; leave room for borders, glow, and shadow.
- Complete circle: photo medallions, rings, and milestone nodes remain closed and round, use consistent diameter, and sit inside their container rather than touching it.
- Shared seam: paired header/body frames share the same baseline, cut-corner angle, and border thickness.
- Logo wall: separate the wall panel, header bar, cell shells, and authentic logos; keep logo proportions.
- Repeated modules: measure one approved master and reuse it instead of redrawing each copy by eye.
For complex panels, a clean movable shell PNG plus native text and icons is acceptable. It must have complete geometry, transparent corners, and sufficient padding.
Charts And Premium Callouts
Prefer a hybrid model:
- native grids, axes, data lines, guide lines, connectors, and text;
- transparent source-faithful assets for metallic nodes or nontrivial callout skins;
- independent native text above visual shells;
- explicit checks that labels, guide lines, and nodes remain anchored to the correct data points.
Do not replace a shaped arrow with a generic rounded rectangle, or use oversized default corner radii that change the design.
Build And Assemble
Recommended page directory:
page_NNN/
|-- clean_base.png
|-- assets/
|-- layer_contract.json
|-- page.pptx
|-- preview.png
|-- clean_base_proof.png
|-- move_away_proof.png
|-- alpha_purity_contact_sheet.png
`-- validation.json
Build rules:
- create text boxes by semantic block, not by visual line fragment;
- use multiple runs inside one text box for mixed-color titles;
- require true alpha with no white edge, rectangular matte, environmental residue, or leftover text;
- use intentional z-order, typically
clean_base -> fixed/composite visuals -> native shapes -> icons -> text;
- match PowerPoint shape names to contract
powerpoint_name values;
- move every movable module away from its original position and verify both the object and exposed background.
Read page-worker-contract.md when building pages independently or in parallel.
Merge Strategy
full_rebuild: copy validated whole slides through real PowerPoint Slide Sorter where possible.
local_refinement: patch only allowed_change_slides; compare protected pages against the accepted baseline.
QA Gates
A final delivery must pass:
- exact text, proper nouns, figures, currencies, units, line breaks, and confusable characters;
- full-page and key-crop source/render comparison;
- object types, semantic names, repeated systems, z-order, and canvas size;
- move-away, clean-base-only, alpha, and Selection Pane review;
- OOXML package checks, contract validation, and human-editability audit;
- real Microsoft PowerPoint open, save, close, reopen, and export with no repair.
python3 <skill-directory>/scripts/validate_layer_contract.py \
/absolute/path/layer_contract.json \
--pptx /absolute/path/page.pptx \
--report /absolute/path/validation.json
python3 <skill-directory>/scripts/audit_human_editability.py \
/absolute/path/final.pptx \
--strict \
--report /absolute/path/human_editability.json
Read qa-gates.md for all blocking gates and failure-modes.md for recovery patterns.
Finalization Order
- Open, inspect, save, close, reopen, and export in real Microsoft PowerPoint.
- Remove quarantine only from trusted locally generated files when appropriate for the operating system.
- Run package, contract, editability, and visual checks.
- Record the final SHA-256.
- Do not reopen the deliverable with software that may rewrite it after the hash. If it changes, repeat QA and hashing.
Honest Delivery Language
- A
review_draft is mainly for fast content review and may retain flattened visuals.
- A BLADE final must state what is native, what is an independent transparent asset, and what remains fixed for fidelity.
- Never describe a flat page image, sliced-image mosaic, or text-overlay deck as fully layered and editable.
Deliver the PPTX together with a preview, layer contract, QA evidence, real PowerPoint validation result, known fidelity boundaries, and final checksum.
1---2name: blade-slides3description: Reconstruct approved slide images, screenshots, image-only PPTX/PDF, or flattened pages as high-fidelity, human-editable PowerPoint with meaningful movable modules, native text, safe native geometry, source-faithful transparent assets, semantic Selection Pane names, and real PowerPoint QA. Use for BLADE Slides or image-to-editable-PowerPoint work where visual fidelity and practical layer structure both matter. Do not treat text-overlay drafts, sliced-image mosaics, or flat page images as final BLADE deliverables. 中文完整说明见 SKILL.zh-CN.md。4---56# BLADE Slides V2.1.078> **中文用户 / Chinese readers:** 完整中文 Skill 请阅读 [SKILL.zh-CN.md](SKILL.zh-CN.md)。所有参考资料均提供对应的中文导航和说明,入口见 [README.md](README.md)。910**Bao Layered Asset Decomposition & Editability for PowerPoint**1112BLADE converts an approved slide design into a PowerPoint layer model that behaves more like a human-authored deck: objects are meaningful, modules move cleanly, regular geometry remains editable, complex materials keep their visual quality, and the background remains complete when foreground elements are moved away.1314Quality order: **source fidelity > human editability > PowerPoint stability > speed**.1516## Required Capabilities1718Use the best available tools for:1920- source-image inspection, OCR, crop comparison, and alpha inspection;21- image editing or generation for clean backgrounds and isolated transparent assets;22- native PowerPoint construction or conservative OOXML editing;23- authentic logo and brand-asset retrieval;24- final validation in real Microsoft PowerPoint.2526If the project provides governance files, visual rules, a trusted template, or an accepted editable baseline, read those first.2728## Production Modes2930Choose one mode in the layer contract before creating assets.3132### `full_rebuild`3334Reconstruct a new page or a complete batch from flattened designs. Build and validate pages independently before merging them.3536### `local_refinement`3738Improve an accepted BLADE deck without rebuilding successful pages. Record:3940- `accepted_baseline.source_deck`41- `allowed_change_slides`42- `protected_slides`43- the render or structure comparison used to protect unchanged pages4445Conservative OOXML or library patches are allowed, but the final file must still be opened, saved, reopened, and exported by real Microsoft PowerPoint.4647### `review_draft`4849Create a fast temporary review file, such as editable text over a flat slide image. This is not a BLADE final. Mark the filename and delivery report as `REVIEW_DRAFT`, and never claim that it is fully layered.5051## Freeze The Layer Contract5253Create a contract before generating assets:5455```bash56python3 <skill-directory>/scripts/init_layer_contract.py \57 --slide-id slide_07 \58 --source /absolute/path/source.png \59 --out /absolute/path/layer_contract.json \60 --mode full_rebuild61```6263Assign every visible element to one representation:6465| Kind | Use |66| --- | --- |67| `clean_base` | Natural scene after every movable object has been removed |68| `native_text` | Titles, body copy, labels, numbers, footnotes |69| `native_shape` | Regular cards, borders, separators, axes, connectors, pills |70| `transparent_png` | Icons, photo medallions, metallic nodes, complex glass or glow composites |71| `fixed_scene_visual` | Complex visuals bound to perspective, occlusion, or material context and not requested as movable |7273OCR is only a draft. Review titles, brand names, proper nouns, abbreviations, numbers, years, currencies, units, and footnotes at 200%-400%. Record verified strings and confusable checks such as `AI / Al` and `1 / I / l`.7475Read [methodology.md](references/methodology.md) for the complete decision process and [human-editability.md](references/human-editability.md) for the layer-quality standard.7677## Human-Editable Layer Model7879A final BLADE page must satisfy all of these conditions:80811. **Meaningful movement units:** cards, icons, title bars, logo cells, medallions, nodes, and callouts move as useful objects rather than many raster fragments.822. **Native regular geometry:** straight lines, closed borders, ordinary rounded rectangles, axes, and simple arrows use safe native shapes where practical.833. **Source-faithful complex material:** metallic, glass, glow, particle, and hero visuals may remain one clean transparent composite.844. **Readable Selection Pane:** every significant object uses a semantic name such as `s08_logo_wall_panel` or `s14_milestone_200b`.855. **Consistent repeated systems:** repeated cards, medallions, logo cells, and navigation elements share dimensions, padding, corner rules, and a `reuse_key`.866. **No micro-raster mosaic:** do not rebuild borders, corners, shadows, lines, or letters from many tiny picture slices.877. **Trusted slide canvas:** use the source template size or standard 16:9 at 13.333333 x 7.5 in. Do not preserve an unnecessary doubled canvas.8889For significant objects, record:9091- `significant: true`92- `powerpoint_name`93- `movement_unit`94- `reuse_key` when applicable9596## Preservation-First Decomposition9798Define:99100- `user_requested_movable`: objects that must move, resize, or remain editable;101- `preserve_source_pixels`: successful photography, screens, environmental UI, or decoration that does not need editing;102- `hero_visuals`: high-design anchors such as platforms, flywheels, light paths, and complex networks;103- `script_generated_visuals_forbidden: true`: scripts may measure, typeset, and assemble, but must not cheaply approximate premium visuals.104105Do not leave requested movable objects in the clean base. Do not damage the approved design merely to increase object count. Choose layer boundaries according to human editing intent and visual completeness.106107### Source-Critical Visuals108109Evidence photographs, named buildings, historical images, product imagery, and official logos must preserve identity:110111- extract them from original media or the approved source page, not from a regenerated background;112- record visual anchors and source-versus-render evidence;113- never generate, trace, recolor, or approximate an official logo.114115### Fixed Scene Boundary116117Keep a complex structure as `fixed_scene_visual` when it is tightly bound to architecture, people, surfaces, perspective, or occlusion and the user does not need to move it. Text, ordinary cards, and explicitly movable icons above it can still be separated. Do not disguise environmental pixels inside a supposedly transparent movable asset.118119## Edge, Panel, Circle, And Grid Fidelity120121These are blocking checks:122123- **Complete border:** gold, white, or other closed edging remains continuous; transparent corners contain no source background.124- **Safety padding:** the visible alpha bounds do not touch the asset canvas; leave room for borders, glow, and shadow.125- **Complete circle:** photo medallions, rings, and milestone nodes remain closed and round, use consistent diameter, and sit inside their container rather than touching it.126- **Shared seam:** paired header/body frames share the same baseline, cut-corner angle, and border thickness.127- **Logo wall:** separate the wall panel, header bar, cell shells, and authentic logos; keep logo proportions.128- **Repeated modules:** measure one approved master and reuse it instead of redrawing each copy by eye.129130For complex panels, a clean movable shell PNG plus native text and icons is acceptable. It must have complete geometry, transparent corners, and sufficient padding.131132## Charts And Premium Callouts133134Prefer a hybrid model:135136- native grids, axes, data lines, guide lines, connectors, and text;137- transparent source-faithful assets for metallic nodes or nontrivial callout skins;138- independent native text above visual shells;139- explicit checks that labels, guide lines, and nodes remain anchored to the correct data points.140141Do not replace a shaped arrow with a generic rounded rectangle, or use oversized default corner radii that change the design.142143## Build And Assemble144145Recommended page directory:146147```text148page_NNN/149|-- clean_base.png150|-- assets/151|-- layer_contract.json152|-- page.pptx153|-- preview.png154|-- clean_base_proof.png155|-- move_away_proof.png156|-- alpha_purity_contact_sheet.png157`-- validation.json158```159160Build rules:161162- create text boxes by semantic block, not by visual line fragment;163- use multiple runs inside one text box for mixed-color titles;164- require true alpha with no white edge, rectangular matte, environmental residue, or leftover text;165- use intentional z-order, typically `clean_base -> fixed/composite visuals -> native shapes -> icons -> text`;166- match PowerPoint shape names to contract `powerpoint_name` values;167- move every movable module away from its original position and verify both the object and exposed background.168169Read [page-worker-contract.md](references/page-worker-contract.md) when building pages independently or in parallel.170171### Merge Strategy172173- `full_rebuild`: copy validated whole slides through real PowerPoint Slide Sorter where possible.174- `local_refinement`: patch only `allowed_change_slides`; compare protected pages against the accepted baseline.175176## QA Gates177178A final delivery must pass:1791801. exact text, proper nouns, figures, currencies, units, line breaks, and confusable characters;1812. full-page and key-crop source/render comparison;1823. object types, semantic names, repeated systems, z-order, and canvas size;1834. move-away, clean-base-only, alpha, and Selection Pane review;1845. OOXML package checks, contract validation, and human-editability audit;1856. real Microsoft PowerPoint open, save, close, reopen, and export with no repair.186187```bash188python3 <skill-directory>/scripts/validate_layer_contract.py \189 /absolute/path/layer_contract.json \190 --pptx /absolute/path/page.pptx \191 --report /absolute/path/validation.json192193python3 <skill-directory>/scripts/audit_human_editability.py \194 /absolute/path/final.pptx \195 --strict \196 --report /absolute/path/human_editability.json197```198199Read [qa-gates.md](references/qa-gates.md) for all blocking gates and [failure-modes.md](references/failure-modes.md) for recovery patterns.200201## Finalization Order2022031. Open, inspect, save, close, reopen, and export in real Microsoft PowerPoint.2042. Remove quarantine only from trusted locally generated files when appropriate for the operating system.2053. Run package, contract, editability, and visual checks.2064. Record the final SHA-256.2075. Do not reopen the deliverable with software that may rewrite it after the hash. If it changes, repeat QA and hashing.208209## Honest Delivery Language210211- A `review_draft` is mainly for fast content review and may retain flattened visuals.212- A BLADE final must state what is native, what is an independent transparent asset, and what remains fixed for fidelity.213- Never describe a flat page image, sliced-image mosaic, or text-overlay deck as fully layered and editable.214215Deliver the PPTX together with a preview, layer contract, QA evidence, real PowerPoint validation result, known fidelity boundaries, and final checksum.