Conversation
The docs say: 'Library names, handles, statistics, and source labels inside cards are illustrative placeholders. Replace them with your own verified copy before publishing a video.' Nothing enforced it, so an unreplaced card publishes an invented statistic under a fabricated source line. Scanning the shipped library finds 135 fail-level placeholders across the 406 cards, 125 of them 'SOURCE - ... 2026' citation lines. This scans video-projects/ only, never the style library, since the library is supposed to contain placeholders. Statistics are warnings rather than failures because the script cannot know which are legitimately the user's. npm run check:placeholders npm run check:placeholders -- --list Exit 1 on anything found, so it works as a publish gate.
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
npm run check:placeholders, a publish gate for the placeholder content the kit's own docs already warn about:Nothing currently enforces that. Ship an unreplaced card and you publish an invented statistic under a fabricated source line, on your own channel.
Scale
Running it against the shipped library finds 135 fail-level placeholders across the 406 cards:
source-label— fabricatedSOURCE · … 2026citation linesplaceholder-handle—@handle,@yourchannelfont-placeholder—"FontName"shipped-handle— a specific handle carried in the cardsThe citation lines are the dangerous ones: they attach a source to a number that has no source.
Design
video-projects/only, never the style library. The library is supposed to contain placeholders; failing on it would fail always.73%,58B,4xget surfaced for a human to check, because the script cannot know which are legitimately the author's.Usage
No new dependencies.
npm run checkandnpm testboth still pass.