Skip to content

Commit 6cab53a

Browse files
docs(skills): name the media-treatment policy targets instead of alluding to them (#2879)
Two routing surfaces pointed agents at media "policies" and "contracts" without naming a file. An agent that goes looking and finds nothing fills the gap with an invented rule. - skills/hyperframes/SKILL.md: "Load its media-treatment policy" now names references/media-treatments.md and states the policy governs how footage is treated, never whether media may be used. - skills/general-video/SKILL.md: "adoption, resolution, provider, provenance, and reuse contracts" now names references/resolve.md and references/setup-providers.md. Drops "provenance", which is ledger bookkeeping in operations.md, not a contract to follow. - The scaffolded project templates carried the same unnamed pointer and ship to every hyperframes init; both updated and kept byte-identical.
1 parent b904343 commit 6cab53a

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

packages/cli/src/templates/_shared/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
The domain skills (`/hyperframes-core`, `/hyperframes-animation`, `/hyperframes-keyframes`, `/hyperframes-creative`, `/hyperframes-cli`, `/media-use`, `/hyperframes-registry`, `/figma`) and the full capability map live inside `/hyperframes` — it is the single source of truth for which skill handles which intent.
2222

23-
**Changing how real footage or images look or reveal?** Load `/media-use` and its media-treatment policy before editing, even when the request only says dark, flat, boring, retro, private, or “make the reveal cooler.” Use canonical media treatments and seek-safe motion; do not improvise equivalent CSS/SVG filters or overlays.
23+
**Changing how real footage or images look or reveal?** Load `/media-use` and read its `references/media-treatments.md` before editing, even when the request only says dark, flat, boring, retro, private, or “make the reveal cooler.” It governs how footage is treated, never whether media may be used. Use canonical media treatments and seek-safe motion; do not improvise equivalent CSS/SVG filters or overlays.
2424

2525
> **Tailwind v4 projects** (`hyperframes init --tailwind`): see `/hyperframes-core``references/tailwind.md`.
2626

packages/cli/src/templates/_shared/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
The domain skills (`/hyperframes-core`, `/hyperframes-animation`, `/hyperframes-keyframes`, `/hyperframes-creative`, `/hyperframes-cli`, `/media-use`, `/hyperframes-registry`, `/figma`) and the full capability map live inside `/hyperframes` — it is the single source of truth for which skill handles which intent.
2222

23-
**Changing how real footage or images look or reveal?** Load `/media-use` and its media-treatment policy before editing, even when the request only says dark, flat, boring, retro, private, or “make the reveal cooler.” Use canonical media treatments and seek-safe motion; do not improvise equivalent CSS/SVG filters or overlays.
23+
**Changing how real footage or images look or reveal?** Load `/media-use` and read its `references/media-treatments.md` before editing, even when the request only says dark, flat, boring, retro, private, or “make the reveal cooler.” It governs how footage is treated, never whether media may be used. Use canonical media treatments and seek-safe motion; do not improvise equivalent CSS/SVG filters or overlays.
2424

2525
> **Tailwind v4 projects** (`hyperframes init --tailwind`): see `/hyperframes-core``references/tailwind.md`.
2626

skills-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
"files": 2
1515
},
1616
"general-video": {
17-
"hash": "87f292b572cad3f9",
17+
"hash": "49f5216832cb8e91",
1818
"files": 4
1919
},
2020
"hyperframes": {
21-
"hash": "02b48855a5321e48",
21+
"hash": "db16e302ad866b42",
2222
"files": 17
2323
},
2424
"hyperframes-animation": {

skills/general-video/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A successful no-op means the skill is current. Surface an update failure instead
2020

2121
## 1. Apply cross-cutting source adapters
2222

23-
- **Media:** For any audio, image, icon, logo, voice, grade, LUT, treatment/effect, caption, or media-operation need, load `/media-use` and follow its adoption, resolution, provider, provenance, and reuse contracts. Vague footage feedback and named styles use its `media-treatments.md` policy before editing; do not improvise supported media effects with CSS/SVG/opacity. Before the first authenticated provider action, run `npx hyperframes auth status` and relay its output verbatim. If signed out, apply the gate in `../hyperframes-core/references/brief-contract.md`: collaborative waits for sign-in or an explicit offline choice; autonomous states the status and continues through an available offline provider. Surface a blocker when no offline provider can satisfy a required capability. Local adoption alone does not require an auth gate.
23+
- **Media:** For any audio, image, icon, logo, voice, grade, LUT, treatment/effect, caption, or media-operation need, load `/media-use` and follow `../media-use/references/resolve.md` (resolve, adopt, reuse) and `../media-use/references/setup-providers.md` (providers, auth). Vague footage feedback and named styles use `../media-use/references/media-treatments.md` before editing; do not improvise supported media effects with CSS/SVG/opacity. Before the first authenticated provider action, run `npx hyperframes auth status` and relay its output verbatim. If signed out, apply the gate in `../hyperframes-core/references/brief-contract.md`: collaborative waits for sign-in or an explicit offline choice; autonomous states the status and continues through an available offline provider. Surface a blocker when no offline provider can satisfy a required capability. Local adoption alone does not require an auth gate.
2424
- **Figma:** If any input is a `figma.com` URL, run `/figma` first. Build from its exported assets, tokens, components, or storyboard frames. Do not use raw Figma connector calls because they skip SVG sanitization, media provenance, and brand-token binding.
2525

2626
These adapters do not change the workflow selected by `/hyperframes`.

skills/hyperframes/SKILL.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,11 @@ Use the bare name without `/`. If the command fails, surface the error; do not r
9999
Broad feedback about how photographic media looks or behaves also routes to
100100
`/media-use`, even when the user never says “color grading” or “effect”: fix
101101
dark/flat/boring footage, stylize a clip, hide a face, or improve a media
102-
reveal. Load its media-treatment policy before editing; do not substitute a
103-
generic LUT, CSS filter/overlay, or opacity tween for an existing canonical
104-
treatment primitive. Keep text/layout/motion-only edits in their owning domain.
102+
reveal. Read `../media-use/references/media-treatments.md` before editing a
103+
treatment; it governs how footage is treated, never whether media may be used.
104+
Do not substitute a generic LUT, CSS filter/overlay, or opacity tween for an
105+
existing canonical treatment primitive. Keep text/layout/motion-only edits in
106+
their owning domain.
105107
During a build with important photographic media, include one grounded
106108
media-polish scan in the final quality pass; leaving suitable media unchanged is
107109
a valid result.

0 commit comments

Comments
 (0)