Draft
Conversation
60ed224 to
0737462
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Adds the
audio-choreography.mdskill reference and positioning safety rules to SKILL.md. Teaches the agent how to sync visuals to music structure using audio analysis data, and prevents common layout bugs.Why
When building compositions with music, the agent needs guidance on how to interpret audio analysis output (beats, energy phases, builds, frequency bands) and translate that into timed visual reactions. Without this, compositions feel disconnected from the music — reveals land at arbitrary times instead of on beats, energy shifts go unacknowledged, and builds have no visual tension.
The positioning rules address a recurring issue where text elements overlap because the agent doesn't calculate actual element bounds before placing the next one. Multi-line text at large font sizes is the most common failure case.
Changes
New file:
skills/hyperframes/references/audio-choreography.mdA reference loaded on demand when compositions have audio. Covers:
Updated:
skills/hyperframes/SKILL.mdAdded positioning safety rules under "Rules (Non-Negotiable)":
width: 100%; text-align: center, nottranslateX(-50%)which breaks with GSAPxanimationtop + fontSize × lineHeight × lines, then verify no ranges overlap across simultaneously visible elementsdata-height - 80Added reference link to
audio-choreography.mdin the References section.Fix:
packages/cli/src/commands/validate.tsMinor fix in the validate command.
Test plan
npx hyperframes lintandnpx hyperframes validate