Skip to content

Eileenes/creative-skills / skills/x-profile-3d-promo

x-profile-3d-promo

Verified

把一个社交媒体主页(X / 小红书 / 公众号等)的截图做成"3D 主页介绍片":暗色主页斜放在 3D 空间、头像里跳出 3D 小人、置顶内容立起展示 + 数字滚动、撕纸拼贴墙、Logo 收尾卡,带配乐音效。用户给出主页链接和/或参考视频、要求做"个人主页介绍片 / 账号宣传片 / 类似风格视频"时使用。

template/render.cjs

View on GitHub
const path = require('path');
const {bundle} = require('@remotion/bundler');
const {renderStill, renderMedia, selectComposition} = require('@remotion/renderer');
const override = (c) => {
  const walk = (rules) => rules && rules.forEach((r) => {
    const uses = Array.isArray(r.use) ? r.use : r.use ? [r.use] : [];
    uses.forEach((u) => { if (u && typeof u === 'object' && String(u.loader).includes('esbuild')) u.options = {...u.options, tsconfigRaw: {compilerOptions: {jsx: 'react-jsx'}}}; });
    if (r.loader && String(r.loader).includes('esbuild')) r.options = {...r.options, tsconfigRaw: {compilerOptions: {jsx: 'react-jsx'}}};
    walk(r.oneOf); walk(r.rules);
  });
  walk(c.module.rules);
  return c;
};
(async () => {
  const [mode, ...rest] = process.argv.slice(2);
  const serveUrl = await bundle({entryPoint: path.join(__dirname, 'src/index.ts'), webpackOverride: override, publicDir: path.join(__dirname, 'public')});
  const composition = await selectComposition({serveUrl, id: 'Main'});
  if (mode === 'stills') {
    for (const fr of rest) await renderStill({serveUrl, composition, frame: Number(fr), output: `stills/f${fr}.png`, chromiumOptions: {gl: 'angle'}});
  } else {
    await renderMedia({serveUrl, composition, codec: 'h264', outputLocation: 'out/video_noaudio.mp4', concurrency: 2, crf: 18, chromiumOptions: {gl: 'angle'}, onProgress: ({progress}) => { if (Math.round(progress * 100) % 10 === 0) process.stdout.write(`${Math.round(progress * 100)}% `); }});
  }
  console.log('done'); process.exit(0);
})().catch((e) => { console.error(e); process.exit(1); });
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall