docs: multi-page Prompt Guide + text corrections from validation#2109
Open
vanceingalls wants to merge 8 commits into
Open
docs: multi-page Prompt Guide + text corrections from validation#2109vanceingalls wants to merge 8 commits into
vanceingalls wants to merge 8 commits into
Conversation
7 tasks
40d3095 to
745168e
Compare
745168e to
6fba438
Compare
Documentation-only updates surfaced by the prompt-guide validation campaign. The behavior fixes from the same campaign are in a separate PR (pipeline fixes); Tier 3 block bugs are tracked in #2107. - hyperframes-core SKILL.md: new "First-pass lint gotchas" subsection — the root composition element must carry data-start="0" (root_composition_missing_data_start), and initial states belong in gsap.fromTo, never a CSS transform paired with a GSAP tween on the same property (gsap_css_transform_conflict). Both were guaranteed first-build lint failures for agents writing compositions cold. - media-use SKILL.md: "Weak local-model defaults" row corrected — local Kokoro TTS is the free default with HeyGen as the paid upsell (was described backwards), and bg-removal runs via the hyperframes CLI. - docs/concepts/compositions.mdx: document that data-composition-src paths resolve relative to the project root, not the referencing file. - gsap-transforms-and-perf.md: runtime-created SVG (createElementNS) has no reliable center pivot — draw geometry at local (0,0) inside a positioning <g> so scale/rotation pivot on the shape's middle. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Splits guides/prompting into a Prompt Guide nav group (overview + Fundamentals + Making it look good, 11 pages) with a redirect from the old URL. Applies research-validated upgrades: beat content formula, before/after prompt rewrites with engine rationale, single-variable iteration moves, absolute-target calibration, camera/depth/pacing vocabulary, prerequisites gate. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Adds 18 pages completing the Prompt Guide expansion (phases 2-4): six video-type pages seeded by the verified example prompts, and twelve feature pages giving prompting guidance for surfaces the docs implied but never covered (transitions, caption styles, overlays, code blocks, data/maps, VFX, rendering/output, editing existing videos, media/audio, variables, runtimes/3D, design systems). All block/component/skill names grounded against the catalog and skills; render pairing deferred. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Runs validation builds for the primary prompt on every new feature page (all pass lint/validate/render) and applies the fixes they surfaced: lower-third exit-length note, block-adaptation framing on the anatomy technique slot, code-typing per-character wording, caption-component demo-content note, map determinism/merge-at-source notes, device-mockup demo-UI expectation, variables img clarification. Embeds 29 unedited renders next to their prompts (HeyGenVerse-hosted), including a default-vs-overridden pair demonstrating variables. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Moves all 28 example/validation renders to the docs' canonical media host (s3://heygen-public via scripts/upload-docs-images.sh) and points every embed at static.heygen.ai instead of HeyGenVerse asset URLs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…eness Five-way review of the section against docs.json, catalog pages, and skills. Fixes: stale /hyperframes-media skill row (real name /media-use) plus missing music-to-video and slideshow workflow rows; caption identity misattributions (keynote/documentary are scene-embedded, stomp carries no rail); prompts violating the guide's own ambient-idle rule; grounded keying rationale (u2net_human_seg); broken forward references; nested-backtick code spans; brand casing and frontmatter dash consistency throughout. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ked specs, measured motion Validates 16 more published prompts end-to-end (variants across every video type, caption styles, overlays with proven alpha, code diff and highlight, edit verbs against the real attribute map, a generated-avatar talking-head through embedded-captions, a presented slideshow deck) and fixes every prompt flaw the builds surfaced. Adds keyword-to-render grids for the easing, camera, and marker vocabulary; two more worked visual specs with renders; a measured before/after pair proving the motion grammar (frozen frames vs all-alive, 211KB vs 2.5MB); before/ after render pairs on editing and generated-artwork pages; and proof renders on the overview. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
b4005a7 to
2f958d1
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.
Summary
Two bodies of documentation work from the prompt-guide campaign:
1. Prompt Guide expansion (7 commits)
The single
guides/promptingpage becomes a top-level Prompt Guide nav section with 29 pages:Every published prompt was validated: built exactly as written by a builder agent, passed
lint/validate, rendered, and frame-checked (~40 validation builds, 100% pass; every failure became a page fix before publishing). 64 renders are embedded next to their prompts, hosted onstatic.heygen.ai(S3;docs/images/stays gitignored, synced viascripts/upload-docs-images.sh). Old URL redirects:/guides/prompting→/prompting/overview.2. Text corrections from the validation campaign
data-start="0"; initial states viagsap.fromTo, never CSStransform+ tween on the same property.data-composition-srcresolves relative to the project root, not the referencing file.createElementNSSVG has no reliable center pivot; draw at local(0,0)inside a positioning<g>.Behavior fixes from the same campaign are in #2110; Tier 3 block bugs tracked in #2107.
Test plan
docs.jsonparses; nav + redirect verified on local Mintlify dev server🤖 Generated with Claude Code