Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

docs(svg-constraints): relax marker ban to conditional allowance

hugohe3a6cb96c57862
diff --git a/AGENTS.md b/AGENTS.md
index 8b7f2f45..cfbe2a85 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -68,7 +68,9 @@ python3 skills/ppt-master/scripts/svg_to_pptx.py <project_path> -s final
## SVG Technical Constraints
-**Banned features**: `clipPath` | `mask` | `<style>` | `class` | external CSS | `<foreignObject>` | `textPath` | `@font-face` | `<animate*>` | `<script>` | `marker-end` | `<iframe>` | `<symbol>+<use>` (`id` inside `<defs>` is a legitimate reference and is NOT banned)
+**Banned features**: `clipPath` | `mask` | `<style>` | `class` | external CSS | `<foreignObject>` | `textPath` | `@font-face` | `<animate*>` | `<script>` | `<iframe>` | `<symbol>+<use>` (`id` inside `<defs>` is a legitimate reference and is NOT banned)
+
+**Conditionally allowed**: `marker-start` / `marker-end` — the referenced `<marker>` must live in `<defs>`, use `orient="auto"`, and its shape must be a triangle (3-vertex closed path/polygon), diamond (4-vertex), or circle/ellipse. The converter maps these to native DrawingML `<a:headEnd>` / `<a:tailEnd>`. See `shared-standards.md` §1.1 for full constraints.
**PPT compatibility alternatives**:
@@ -77,7 +79,6 @@ python3 skills/ppt-master/scripts/svg_to_pptx.py <project_path> -s final
| `rgba()` | `fill-opacity` / `stroke-opacity` |
| `<g opacity>` | Set opacity on each child element individually |
| `<image opacity>` | Overlay with a mask layer |
-| `marker-end` arrows | `<polygon>` triangles |
## Canvas Format Quick Reference
diff --git a/CLAUDE.md b/CLAUDE.md
index 82fd0d3c..c22379fe 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -51,7 +51,9 @@ python3 skills/ppt-master/scripts/svg_to_pptx.py <project_path> -s final
## SVG Technical Constraints (Non-negotiable)
-**Banned features**: `clipPath` | `mask` | `<style>` | `class` | external CSS | `<foreignObject>` | `textPath` | `@font-face` | `<animate*>` | `<script>` | `marker-end` | `<iframe>` | `<symbol>+<use>` (`id` inside `<defs>` is a legitimate reference and is NOT banned)
+**Banned features**: `clipPath` | `mask` | `<style>` | `class` | external CSS | `<foreignObject>` | `textPath` | `@font-face` | `<animate*>` | `<script>` | `<iframe>` | `<symbol>+<use>` (`id` inside `<defs>` is a legitimate reference and is NOT banned)
+
+**Conditionally allowed**: `marker-start` / `marker-end` — the referenced `<marker>` must live in `<defs>`, use `orient="auto"`, and its shape must be a triangle (3-vertex closed path/polygon), diamond (4-vertex), or circle/ellipse. The converter maps these to native DrawingML `<a:headEnd>` / `<a:tailEnd>`. See `shared-standards.md` §1.1 for full constraints.
**PPT compatibility alternatives**:
@@ -60,7 +62,6 @@ python3 skills/ppt-master/scripts/svg_to_pptx.py <project_path> -s final
| `rgba()` | `fill-opacity` / `stroke-opacity` |
| `<g opacity>` | Set opacity on each child element individually |
| `<image opacity>` | Overlay with a mask layer |
-| `marker-end` arrows | `<polygon>` triangles |
## Canvas Format Quick Reference
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1a12993c..4b72a33b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -39,9 +39,9 @@ pip install -r requirements.txt
If your contribution involves SVG files, follow the technical constraints documented in [CLAUDE.md](./CLAUDE.md):
-- Do not use: `clipPath`, `mask`, `<style>`, `class`, external CSS, `<foreignObject>`, `<animate*>`, `<script>`, `marker-end`, `<symbol>+<use>`
+- Do not use: `clipPath`, `mask`, `<style>`, `class`, external CSS, `<foreignObject>`, `<animate*>`, `<script>`, `<symbol>+<use>`
- Use `fill-opacity` / `stroke-opacity` instead of `rgba()`
-- Use `<polygon>` triangles instead of `marker-end` arrows
+- `marker-start` / `marker-end` are conditionally allowed — see `shared-standards.md` §1.1 for the constraints (must live in `<defs>`, `orient="auto"`, shape must be triangle / diamond / oval)
- All SVGs must use the correct `viewBox` for the target canvas format
## Reporting Bugs
diff --git a/skills/ppt-master/references/shared-standards.md b/skills/ppt-master/references/shared-standards.md
index f608ad9f..28d1ab14 100644
--- a/skills/ppt-master/references/shared-standards.md
+++ b/skills/ppt-master/references/shared-standards.md
@@ -21,9 +21,48 @@ The following features are **absolutely forbidden** when generating SVGs — PPT
| `@font-face` | Custom font declarations |
| `<animate*>` / `<set>` | SVG animations |
| `<script>` / event attributes | Scripts and interactivity |
-| `marker` / `marker-end` | Line endpoint markers |
| `<iframe>` | Embedded frames |
+> **`marker-start` / `marker-end` is conditionally allowed** — see §1.1 for constraints. The converter maps qualifying markers to native DrawingML `<a:headEnd>` / `<a:tailEnd>`.
+
+---
+
+### 1.1 Line-end Markers (Conditionally Allowed)
+
+`marker-start` and `marker-end` on `<line>` and `<path>` elements are allowed **only** when the referenced `<marker>` satisfies all of the following:
+
+| Requirement | Reason |
+|-------------|--------|
+| Marker `<marker>` element defined inside `<defs>` | Converter looks up marker defs via id index |
+| `orient="auto"` | DrawingML arrow auto-rotates along the line tangent; other orient values will not round-trip |
+| Marker shape is **one of**: closed 3-vertex path/polygon (triangle), closed 4-vertex path/polygon (diamond), `<circle>` / `<ellipse>` (oval) | These three map cleanly to DrawingML `type="triangle" / "diamond" / "oval"`. Any other shape is silently dropped with a warning. |
+| Marker child's `fill` **matches** the parent line's `stroke` color | In DrawingML the arrow head inherits the line color — a mismatched marker fill will look wrong on export. |
+| `markerWidth` / `markerHeight` roughly in `3–15` range | Mapped to `sm` (<6) / `med` (6–12) / `lg` (>12) size buckets. |
+
+**Supported DrawingML mapping**:
+
+| SVG Marker Shape | DrawingML Output |
+|------------------|------------------|
+| `<path d="M0,0 L10,5 L0,10 Z"/>` (triangle) | `<a:tailEnd type="triangle" w="med" len="med"/>` |
+| `<polygon points="0,0 10,5 0,10"/>` | `<a:tailEnd type="triangle" w="med" len="med"/>` |
+| 4-vertex closed path/polygon | `<a:tailEnd type="diamond" .../>` |
+| `<circle cx="5" cy="5" r="4"/>` | `<a:tailEnd type="oval" .../>` |
+
+**Recommended template** — a standard arrow-head definition ready to reuse:
+
+```xml
+<defs>
+ <marker id="arrowHead" markerWidth="10" markerHeight="10" refX="9" refY="5"
+ orient="auto" markerUnits="strokeWidth">
+ <path d="M0,0 L10,5 L0,10 Z" fill="#1976D2"/>
+ </marker>
+</defs>
+<line x1="100" y1="200" x2="400" y2="200" stroke="#1976D2" stroke-width="3"
+ marker-end="url(#arrowHead)"/>
+```
+
+> ⚠️ Unclassifiable marker shapes (curved paths, multi-segment, >4 vertices, etc.) are **silently dropped** by the converter with a warning — the line will still render, but without an arrow. Fall back to manual `<polygon>` triangles when you need exotic arrow shapes.
+
---
## 2. PPT Compatibility Alternatives
@@ -33,9 +72,10 @@ The following features are **absolutely forbidden** when generating SVGs — PPT
| `fill="rgba(255,255,255,0.1)"` | `fill="#FFFFFF" fill-opacity="0.1"` |
| `<g opacity="0.2">...</g>` | Set `fill-opacity` / `stroke-opacity` on each child element individually |
| `<image opacity="0.3"/>` | Overlay a `<rect fill="background-color" opacity="0.7"/>` mask layer after the image |
-| `marker-end` arrows | Draw triangle arrows with `<polygon>` |
-**Mnemonic**: PPT does not recognize rgba, group opacity, image opacity, or markers.
+**Mnemonic**: PPT does not recognize rgba, group opacity, or image opacity.
+
+> Arrows: prefer `marker-end` with a qualifying `<marker>` (see §1.1) — the converter produces native DrawingML arrow heads that auto-rotate. Fall back to manually drawn `<polygon>` triangles only for exotic arrow shapes not covered by the triangle/diamond/oval presets.
---
@@ -431,7 +471,9 @@ Large-arc flag: 1 (270° > 180°)
### Polygon Arrows on Diagonal Lines
-When using `<polygon>` triangles as arrowheads (since `marker-end` is banned), arrows on **horizontal or vertical lines** can use simple point offsets. But arrows on **diagonal lines** must have their triangle vertices rotated to match the line direction.
+> **Prefer `marker-end` first** (see §1.1) — the converter produces native DrawingML arrow heads that auto-rotate along the line tangent, eliminating the need for manual vertex math. Use this manual polygon approach only for exotic arrow shapes that cannot be expressed as triangle/diamond/oval presets.
+
+When using `<polygon>` triangles as arrowheads, arrows on **horizontal or vertical lines** can use simple point offsets. But arrows on **diagonal lines** must have their triangle vertices rotated to match the line direction.
**Method**: Calculate the triangle points using the line's direction vector:
diff --git a/skills/ppt-master/scripts/config.py b/skills/ppt-master/scripts/config.py
index 48db77a1..fe70835c 100644
--- a/skills/ppt-master/scripts/config.py
+++ b/skills/ppt-master/scripts/config.py
@@ -356,7 +356,6 @@ SVG_CONSTRAINTS = {
'style',
# Structure / Nesting
'foreignObject',
- 'marker',
# Text / Fonts
'textPath',
# Animation / Interaction
@@ -370,12 +369,15 @@ SVG_CONSTRAINTS = {
'iframe',
],
# Forbidden attributes
+ # Note: marker-start / marker-end are NOT banned — they are conditionally
+ # allowed (see references/shared-standards.md §1.1). The svg_to_pptx
+ # converter maps qualifying <marker> defs to native DrawingML
+ # <a:headEnd>/<a:tailEnd>.
'forbidden_attributes': [
'class',
'id',
'onclick', 'onload', 'onmouseover', 'onmouseout',
'onfocus', 'onblur', 'onchange',
- 'marker-end',
],
# Forbidden patterns (regex matching)
'forbidden_patterns': [
diff --git a/skills/ppt-master/scripts/error_helper.py b/skills/ppt-master/scripts/error_helper.py
index 10896a4c..3a631f3d 100644
--- a/skills/ppt-master/scripts/error_helper.py
+++ b/skills/ppt-master/scripts/error_helper.py
@@ -174,21 +174,15 @@ class ErrorHelper:
],
'severity': 'error'
},
- 'marker_detected': {
- 'message': 'Forbidden <marker> element detected',
+ # Note: <marker> and marker-end are NO LONGER forbidden — they are
+ # conditionally allowed (see references/shared-standards.md §1.1).
+ # The converter maps qualifying markers to native DrawingML arrow heads.
+ 'marker_orphan_ref': {
+ 'message': 'marker-start/marker-end references a marker id, but no <marker> element is defined',
'solutions': [
- 'Remove <marker> definitions',
- 'Use line + polygon to draw arrows',
- 'Reference the arrow drawing approach in AGENTS.md'
- ],
- 'severity': 'error'
- },
- 'marker_end_detected': {
- 'message': 'Forbidden marker-end attribute detected',
- 'solutions': [
- 'Remove marker-end attributes',
- 'Use line + polygon to draw arrows',
- 'Ensure arrow direction matches the line'
+ 'Define the <marker> inside <defs>',
+ 'Or remove the marker-start/marker-end attribute',
+ 'See shared-standards.md §1.1 for marker constraints',
],
'severity': 'error'
},
diff --git a/skills/ppt-master/scripts/svg_quality_checker.py b/skills/ppt-master/scripts/svg_quality_checker.py
index b83114b3..24dcd1b8 100644
--- a/skills/ppt-master/scripts/svg_quality_checker.py
+++ b/skills/ppt-master/scripts/svg_quality_checker.py
@@ -177,10 +177,14 @@ class SVGQualityChecker:
has_use = re.search(r'<use\b', content_lower) is not None
if has_symbol and has_use:
result['errors'].append("Detected forbidden <symbol> + <use> complex usage (use basic shapes or simple <use> instead)")
- if '<marker' in content_lower:
- result['errors'].append("Detected forbidden <marker> element (PPT does not support SVG markers)")
- if re.search(r'\bmarker-end\s*=', content_lower):
- result['errors'].append("Detected forbidden marker-end attribute (use line + polygon instead)")
+ # marker-start / marker-end are conditionally allowed (see shared-standards.md §1.1).
+ # The converter maps qualifying <marker> defs to native DrawingML <a:headEnd>/<a:tailEnd>.
+ # We only warn when a marker is used without an obvious <defs> definition in the same file.
+ if re.search(r'\bmarker-(?:start|end)\s*=\s*["\']url\(#([^)]+)\)', content_lower):
+ if '<marker' not in content_lower:
+ result['errors'].append(
+ "Detected marker-start/marker-end referencing a marker id, "
+ "but no <marker> element found in the file")
# Text / fonts
if '<textpath' in content_lower:
diff --git a/skills/ppt-master/templates/design_spec_reference.md b/skills/ppt-master/templates/design_spec_reference.md
index faf28090..a1ee5ca4 100644
--- a/skills/ppt-master/templates/design_spec_reference.md
+++ b/skills/ppt-master/templates/design_spec_reference.md
@@ -242,8 +242,8 @@ Generate corresponding speaker note files for each page, saved to the `notes/` d
3. Text wrapping uses `<tspan>` (`<foreignObject>` FORBIDDEN)
4. Transparency uses `fill-opacity` / `stroke-opacity`; `rgba()` FORBIDDEN
5. FORBIDDEN: `clipPath`, `mask`, `<style>`, `class`, `foreignObject`
-6. FORBIDDEN: `textPath`, `animate*`, `script`, `marker`/`marker-end`
-7. Arrows use `<polygon>` triangles instead of `<marker>`
+6. FORBIDDEN: `textPath`, `animate*`, `script`
+7. `marker-start` / `marker-end` conditionally allowed: `<marker>` must be in `<defs>`, `orient="auto"`, shape must be triangle / diamond / circle (see shared-standards.md §1.1)
### PPT Compatibility Rules:
diff --git a/skills/ppt-master/templates/layouts/README.md b/skills/ppt-master/templates/layouts/README.md
index 14547845..bbf8fc01 100644
--- a/skills/ppt-master/templates/layouts/README.md
+++ b/skills/ppt-master/templates/layouts/README.md
@@ -250,7 +250,6 @@ cp templates/layouts/government_red/* projects/<project>/templates/
| `textPath` | Use plain `<text>` |
| `animate*` | Static design |
| `script` | No interactivity supported |
-| `marker` / `marker-end` | Use `<polygon>` triangles |
| `rgba()` | Use HEX + `fill-opacity` |
| `<g opacity="...">` | Set opacity on each child element individually |
diff --git a/skills/ppt-master/templates/layouts/academic_defense/design_spec.md b/skills/ppt-master/templates/layouts/academic_defense/design_spec.md
index 77d9f00e..5f1e328b 100644
--- a/skills/ppt-master/templates/layouts/academic_defense/design_spec.md
+++ b/skills/ppt-master/templates/layouts/academic_defense/design_spec.md
@@ -190,8 +190,8 @@
3. Use `<tspan>` for text wrapping (no `<foreignObject>`)
4. Use `fill-opacity` / `stroke-opacity` for transparency; no `rgba()`
5. Prohibited: `clipPath`, `mask`, `<style>`, `class`, `foreignObject`
-6. Prohibited: `textPath`, `animate*`, `script`, `marker`/`marker-end`
-7. Use `<polygon>` triangles for arrows instead of `<marker>`
+6. Prohibited: `textPath`, `animate*`, `script`
+7. `marker-start` / `marker-end` conditionally allowed (marker in `<defs>`, `orient="auto"`, shape = triangle/diamond/oval) — see shared-standards.md §1.1
### PPT Compatibility Rules
diff --git a/skills/ppt-master/templates/layouts/ai_ops/design_spec.md b/skills/ppt-master/templates/layouts/ai_ops/design_spec.md
index a43f2f91..7c2a5db4 100644
--- a/skills/ppt-master/templates/layouts/ai_ops/design_spec.md
+++ b/skills/ppt-master/templates/layouts/ai_ops/design_spec.md
@@ -297,10 +297,10 @@ This template emulates the visual language of telecom technical reports. The cor
3. Use `<tspan>` for text wrapping (**`<foreignObject>` is strictly prohibited**)
4. Use `fill-opacity` / `stroke-opacity` for transparency; `rgba()` is prohibited
5. Prohibited: `clipPath`, `mask`, `<style>`, `class`, `foreignObject` (`id` inside `<defs>` is allowed)
-6. Prohibited: `textPath`, `animate*`, `script`, `marker`/`marker-end`
+6. Prohibited: `textPath`, `animate*`, `script`
7. Prohibited: `<symbol>+<use>`, `<iframe>`, `@font-face`
8. Prohibited: `<g opacity="...">` (group opacity) — set opacity on each child element individually
-9. Use `<polygon>` triangles instead of `<marker>` for arrows
+9. `marker-start` / `marker-end` conditionally allowed (marker in `<defs>`, `orient="auto"`, shape = triangle/diamond/oval) — see shared-standards.md §1.1
10. Use only system fonts and inline styles
### PPT Compatibility Rules
diff --git a/skills/ppt-master/templates/layouts/exhibit/design_spec.md b/skills/ppt-master/templates/layouts/exhibit/design_spec.md
index 3540fa63..092ff0b6 100644
--- a/skills/ppt-master/templates/layouts/exhibit/design_spec.md
+++ b/skills/ppt-master/templates/layouts/exhibit/design_spec.md
@@ -181,8 +181,8 @@
3. Use `<tspan>` for text wrapping (no `<foreignObject>`)
4. Use `fill-opacity` / `stroke-opacity` for transparency; no `rgba()`
5. Prohibited: `clipPath`, `mask`, `<style>`, `class`, `foreignObject`
-6. Prohibited: `textPath`, `animate*`, `script`, `marker`/`marker-end`
-7. Use `<polygon>` triangles for arrows instead of `<marker>`
+6. Prohibited: `textPath`, `animate*`, `script`
+7. `marker-start` / `marker-end` conditionally allowed (marker in `<defs>`, `orient="auto"`, shape = triangle/diamond/oval) — see shared-standards.md §1.1
8. Define gradients using `<defs>` with `<linearGradient>`
### PPT Compatibility Rules
diff --git a/skills/ppt-master/templates/layouts/google_style/design_spec.md b/skills/ppt-master/templates/layouts/google_style/design_spec.md
index 4f226dc2..7430fb74 100644
--- a/skills/ppt-master/templates/layouts/google_style/design_spec.md
+++ b/skills/ppt-master/templates/layouts/google_style/design_spec.md
@@ -236,9 +236,10 @@ The following SVG features are prohibited (not PPT-compatible):
- `textPath`
- `animate*` animation elements
- `script`
-- `marker`, `marker-end`
- `rgba()` color format (use HEX + opacity instead)
+> `marker-start` / `marker-end` are conditionally allowed — see `shared-standards.md` §1.1 (marker must be in `<defs>`, `orient="auto"`, shape = triangle / diamond / oval). The converter maps them to native DrawingML arrow heads.
+
### Shadow Implementation
Since `filter` may affect PPT compatibility:
diff --git a/skills/ppt-master/templates/layouts/government_blue/design_spec.md b/skills/ppt-master/templates/layouts/government_blue/design_spec.md
index e229c45f..eaff3806 100644
--- a/skills/ppt-master/templates/layouts/government_blue/design_spec.md
+++ b/skills/ppt-master/templates/layouts/government_blue/design_spec.md
@@ -179,8 +179,8 @@
3. Use `<tspan>` for text wrapping (no `<foreignObject>`)
4. Use `fill-opacity` / `stroke-opacity` for transparency; `rgba()` is prohibited
5. Prohibited: `clipPath`, `mask`, `<style>`, `class`, `foreignObject`
-6. Prohibited: `textPath`, `animate*`, `script`, `marker`/`marker-end`
-7. Use `<polygon>` triangles instead of `<marker>` for arrows
+6. Prohibited: `textPath`, `animate*`, `script`
+7. `marker-start` / `marker-end` conditionally allowed (marker in `<defs>`, `orient="auto"`, shape = triangle/diamond/oval) — see shared-standards.md §1.1
### PPT Compatibility Rules
diff --git a/skills/ppt-master/templates/layouts/government_red/design_spec.md b/skills/ppt-master/templates/layouts/government_red/design_spec.md
index 7849bac9..916e015d 100644
--- a/skills/ppt-master/templates/layouts/government_red/design_spec.md
+++ b/skills/ppt-master/templates/layouts/government_red/design_spec.md
@@ -175,8 +175,8 @@
3. Use `<tspan>` for text wrapping (no `<foreignObject>`)
4. Use `fill-opacity` / `stroke-opacity` for transparency; `rgba()` is prohibited
5. Prohibited: `clipPath`, `mask`, `<style>`, `class`, `foreignObject`
-6. Prohibited: `textPath`, `animate*`, `script`, `marker`/`marker-end`
-7. Use `<polygon>` triangles instead of `<marker>` for arrows
+6. Prohibited: `textPath`, `animate*`, `script`
+7. `marker-start` / `marker-end` conditionally allowed (marker in `<defs>`, `orient="auto"`, shape = triangle/diamond/oval) — see shared-standards.md §1.1
### PPT Compatibility Rules
diff --git a/skills/ppt-master/templates/layouts/mckinsey/design_spec.md b/skills/ppt-master/templates/layouts/mckinsey/design_spec.md
index d92e8acb..70fe0ce2 100644
--- a/skills/ppt-master/templates/layouts/mckinsey/design_spec.md
+++ b/skills/ppt-master/templates/layouts/mckinsey/design_spec.md
@@ -199,8 +199,8 @@
3. Use `<tspan>` for text wrapping (no `<foreignObject>`)
4. Use `fill-opacity` / `stroke-opacity` for transparency; `rgba()` is prohibited
5. Prohibited: `clipPath`, `mask`, `<style>`, `class`, `foreignObject`
-6. Prohibited: `textPath`, `animate*`, `script`, `marker`/`marker-end`
-7. Use `<polygon>` triangles instead of `<marker>` for arrows
+6. Prohibited: `textPath`, `animate*`, `script`
+7. `marker-start` / `marker-end` conditionally allowed (marker in `<defs>`, `orient="auto"`, shape = triangle/diamond/oval) — see shared-standards.md §1.1
8. Define gradients using `<linearGradient>` within `<defs>`
### PPT Compatibility Rules
diff --git a/skills/ppt-master/templates/layouts/medical_university/design_spec.md b/skills/ppt-master/templates/layouts/medical_university/design_spec.md
index e0178620..64f09447 100644
--- a/skills/ppt-master/templates/layouts/medical_university/design_spec.md
+++ b/skills/ppt-master/templates/layouts/medical_university/design_spec.md
@@ -218,9 +218,10 @@ To adapt to other medical institution branding, replace the corresponding values
| `foreignObject` | Use `<tspan>` for wrapping |
| `textPath` | Use standard `<text>` |
| `animate*` / `set` | Do not use animations |
-| `marker-end` | Use `<polygon>` for arrows |
| `<g opacity>` | Set opacity on each element individually |
+> `marker-start` / `marker-end` are conditionally allowed — see `shared-standards.md` §1.1 (marker must be in `<defs>`, `orient="auto"`, shape = triangle / diamond / oval). The converter maps them to native DrawingML arrow heads.
+
---
## X. Placeholder Specification
diff --git a/skills/ppt-master/templates/layouts/pixel_retro/design_spec.md b/skills/ppt-master/templates/layouts/pixel_retro/design_spec.md
index e87d5f11..2fb7bd86 100644
--- a/skills/ppt-master/templates/layouts/pixel_retro/design_spec.md
+++ b/skills/ppt-master/templates/layouts/pixel_retro/design_spec.md
@@ -242,8 +242,8 @@ Apply glow filters to key text/elements:
3. Use `<tspan>` for text wrapping (no `<foreignObject>`)
4. Use `fill-opacity` / `stroke-opacity` for transparency; `rgba()` is prohibited
5. Prohibited: `clipPath`, `mask`, `<style>`, `class`, `foreignObject`
-6. Prohibited: `textPath`, `animate*`, `script`, `marker`/`marker-end`
-7. Use `<polygon>` triangles instead of `<marker>` for arrows
+6. Prohibited: `textPath`, `animate*`, `script`
+7. `marker-start` / `marker-end` conditionally allowed (marker in `<defs>`, `orient="auto"`, shape = triangle/diamond/oval) — see shared-standards.md §1.1
### PPT Compatibility Rules
diff --git a/skills/ppt-master/templates/layouts/psychology_attachment/design_spec.md b/skills/ppt-master/templates/layouts/psychology_attachment/design_spec.md
index b0b50926..c4df3a22 100644
--- a/skills/ppt-master/templates/layouts/psychology_attachment/design_spec.md
+++ b/skills/ppt-master/templates/layouts/psychology_attachment/design_spec.md
@@ -339,7 +339,8 @@ The design adopts "**Secure Base**" as the core visual metaphor:
| **Structure/Nesting** | `<foreignObject>` |
| **Text/Font** | `textPath`, `@font-face` |
| **Animation/Interaction** | `<animate*>`, `<set>`, `on*` |
-| **Markers/Arrows** | `marker`, `marker-end` |
+
+> `marker-start` / `marker-end` are conditionally allowed — see `shared-standards.md` §1.1 (marker must be in `<defs>`, `orient="auto"`, shape = triangle / diamond / oval).
### PPT Compatibility Rules
diff --git "a/skills/ppt-master/templates/layouts/\344\270\255\345\233\275\347\224\265\345\273\272_\345\270\270\350\247\204/design_spec.md" "b/skills/ppt-master/templates/layouts/\344\270\255\345\233\275\347\224\265\345\273\272_\345\270\270\350\247\204/design_spec.md"
index 7b8ecf73..c2294451 100644
--- "a/skills/ppt-master/templates/layouts/\344\270\255\345\233\275\347\224\265\345\273\272_\345\270\270\350\247\204/design_spec.md"
+++ "b/skills/ppt-master/templates/layouts/\344\270\255\345\233\275\347\224\265\345\273\272_\345\270\270\350\247\204/design_spec.md"
@@ -166,7 +166,7 @@
2. Background must include a full-screen `<rect>`
3. Text wrapping via `<tspan>`
4. Opacity must use `fill-opacity` / `stroke-opacity`
-5. Arrows must use `<polygon>`, no `marker`
+5. `marker-start` / `marker-end` conditionally allowed — see shared-standards.md §1.1 (marker in `<defs>`, `orient="auto"`, shape = triangle/diamond/oval)
### Forbidden Elements (Blacklist)
diff --git "a/skills/ppt-master/templates/layouts/\344\270\255\346\261\275\347\240\224_\345\270\270\350\247\204/design_spec.md" "b/skills/ppt-master/templates/layouts/\344\270\255\346\261\275\347\240\224_\345\270\270\350\247\204/design_spec.md"
index a53ecb52..1f9a6224 100644
--- "a/skills/ppt-master/templates/layouts/\344\270\255\346\261\275\347\240\224_\345\270\270\350\247\204/design_spec.md"
+++ "b/skills/ppt-master/templates/layouts/\344\270\255\346\261\275\347\240\224_\345\270\270\350\247\204/design_spec.md"
@@ -172,8 +172,8 @@
3. Text wrapping via `<tspan>` (no `<foreignObject>`)
4. Opacity via `fill-opacity` / `stroke-opacity`, no `rgba()`
5. Forbidden: `clipPath`, `mask`, `<style>`, `class`, `foreignObject`
-6. Forbidden: `textPath`, `animate*`, `script`, `marker`/`marker-end`
-7. Use `<polygon>` triangles for arrows instead of `<marker>`
+6. Forbidden: `textPath`, `animate*`, `script`
+7. `marker-start` / `marker-end` conditionally allowed (marker in `<defs>`, `orient="auto"`, shape = triangle/diamond/oval) — see shared-standards.md §1.1
### PPT Compatibility Rules