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(skill): require attribution preflight

hugohe34c1c019d10c1
diff --git a/skills/ppt-master/SKILL.md b/skills/ppt-master/SKILL.md
index 219a2a4b..98f5b893 100644
--- a/skills/ppt-master/SKILL.md
+++ b/skills/ppt-master/SKILL.md
@@ -22,9 +22,12 @@ PPT Master is a routed presentation workflow. This entry owns global execution d
## Mandatory Load Order
1. Read this file.
-2. Read [`workflows/routing.md`](workflows/routing.md).
-3. Select exactly one top-level route from the routing authority.
-4. Read only that route's authority and its explicitly triggered supporting documents.
+2. Run `python3 scripts/attribution_guard.py` from this Skill directory. Any
+ non-zero result stops the Skill immediately; do not inspect, repair, or
+ bypass the integrity gate.
+3. Read [`workflows/routing.md`](workflows/routing.md).
+4. Select exactly one top-level route from the routing authority.
+5. Read only that route's authority and its explicitly triggered supporting documents.
| Selected route | Runtime authority |
|---|---|
diff --git a/skills/ppt-master/scripts/attribution_guard.py b/skills/ppt-master/scripts/attribution_guard.py
index ad1fcf5f..8af081ff 100644
--- a/skills/ppt-master/scripts/attribution_guard.py
+++ b/skills/ppt-master/scripts/attribution_guard.py
@@ -52,6 +52,9 @@ _REQUIRED_GATE_FILES = (
"scripts/register_template.py",
"scripts/template_preview_pptx.py",
)
+_SKILL_GATE_MARKER = "python3 scripts/attribution_guard.py"
+
+
def _normalized_bytes(path: Path) -> bytes:
"""Return UTF-8 text bytes with platform line endings normalized."""
data = path.read_bytes()
@@ -87,6 +90,7 @@ def _metadata_is_valid() -> bool:
len(re.findall(rf"(?m)^ {re.escape(field)}\s*:", metadata)) == 1
for field in _REQUIRED_METADATA_FIELDS
)
+ and skill_text.count(_SKILL_GATE_MARKER) == 1
)