using-git-worktrees
OBobra/superpowers298k近 7 天新增 2,205 个 star
将公开 X 推文、Quote 或同作者 Thread 转为 1080×1440 图片切片和 MP4;也支持显式 source-only 素材桥接。保留所选原生视频及对应音频,不发布。
Turn one public X status URL into a complete 3:4 image sequence. Use sunset(落日琥珀版)unless the user explicitly chooses another template.
SKILL.md as SKILL_DIR.outputs/ directory. Never overwrite or delete an earlier run."<node-bin>" "$SKILL_DIR/scripts/yichen_x_slicer.mjs" \
--url "<x-status-url>" \
--output "<absolute-output-directory>"
Use the bundled Codex Node.js executable when available. The script locates bundled Playwright automatically; if discovery fails, set YICHEN_X_SLICER_PLAYWRIGHT_MODULE to <workspace-node-packages>/playwright/index.mjs after loading workspace dependencies.
The default template is sunset. To override it:
"<node-bin>" "$SKILL_DIR/scripts/yichen_x_slicer.mjs" \
--url "<x-status-url>" \
--template editorial \
--output "<absolute-output-directory>"
Use --template all only when the user asks to compare every style. Use --list-templates to print the registry. Read templates.md only when choosing or explaining a non-default template.
Generate images without a video only when the user explicitly asks for images only:
"<node-bin>" "$SKILL_DIR/scripts/yichen_x_slicer.mjs" \
--url "<x-status-url>" \
--images-only \
--output "<absolute-output-directory>"
The normal workflow appends one verified MP4 per selected template after PNG and ZIP verification. With --template all, generate 11 separate videos; never mix templates into one timeline. --images-only is an explicit opt-out. Read video.md for the fixed timing, source-audio, and verification contract.
When another workflow needs a faithful local Markdown source rather than visual slices, use the isolated source bridge:
"<node-bin>" "$SKILL_DIR/scripts/yichen_x_slicer.mjs" \
--url "<x-status-url>" \
--source-only \
--output "<absolute-output-directory>"
--source-only reuses the same verified routing and downloader but does not render. Read source-only.md before invoking or consuming this mode; it defines the five-output contract, Thread markers, media ordering, and mandatory native-MP4 binding.
Read content-routing.md when diagnosing routing, branches, missing Thread nodes, or quote_only exclusions.
contain; verify the rendered image bounds remain fully inside the media stage.For --source-only, use the separate verification and delivery checklist in source-only.md, not the visual-render checklist below.
For the normal rendering mode, require all of the following before reporting completion:
qa-report.json has zero failures.manifest.json records the requested template and sunset when no template was passed.source-label is empty and visually zero-sized on every frame.contact-sheet.png visually, then inspect the densest text frame and every media frame at full size.Unless --images-only was explicitly requested, also require:
fixed-reading-v1 plan in video.md, including the complete probed visual duration of every native video page.Return links to index.html, contact-sheet.png, the final ZIP, and every verified MP4. State the selected template, frame count, routed input type, and any quote_only exclusions. Omit the MP4 only for an explicit --images-only request.
pbs.twimg.com or video.twimg.com, including every redirect hop. Native MP4 downloads must remain on exact host video.twimg.com. Reject local paths, file:/data: URLs, oversized responses, wrong MIME types, non-image signatures, and non-MP4 video signatures.t.co URL cannot be resolved from top-level URL entities.--source-only, fail with x_article_route_required when any top-level node in the verified same-author chain signals an X Article, including a pure Article card excluded from ordinary text/media selection; this bridge must not turn an Article teaser into the source body.--images-only request; do not add other video pacing modes or free-form FFmpeg filters.-run-N sibling.OBobra/superpowers298k近 7 天新增 2,205 个 star
OBobra/superpowers298k近 7 天新增 2,205 个 star
OBobra/superpowers298k近 7 天新增 2,205 个 star
MAmattpocock/skills288k近 7 天新增 8,502 个 star
MAmattpocock/skills288k近 7 天新增 8,502 个 star
MAmattpocock/skills288k近 7 天新增 8,502 个 star