zenstory-ai/drama-skills / skills/short-drama-edit
short-drama-edit
Verified将已生成的短剧镜头与配音剪成成片,编写剪辑单并完成渲染验收。用于“剪成成片/套剪”“加字幕/画面文字”“统一响度”“调整成片剪辑节奏、配乐/字幕混音与渲染导出”或导出精修素材;需补素材或改故事时转回上游阶段。
assets/remotion/src/screen/CornerChip.tsx
View on GitHubimport React from "react";
import { AbsoluteFill, useCurrentFrame, useVideoConfig } from "remotion";
import { formatCountdown, secondsLeft } from "../rules.mjs";
import { Frame } from "./chrome";
import { COLOURS, MONO, StyleProps, TOP_U, entrance, exit, unit } from "./tokens";
/** The task chrome in miniature, top right: the label, and the countdown when there is one. */
export const CornerChip: React.FC<StyleProps> = ({ text }) => {
const frame = useCurrentFrame();
const { fps, height } = useVideoConfig();
const u = unit(height);
const shown = entrance(frame, fps);
return (
<AbsoluteFill
style={{ alignItems: "flex-end", paddingTop: u * TOP_U.corner, paddingRight: u * 2.4, opacity: exit(frame, fps, text) }}
>
<div style={{ opacity: shown, transform: `translateX(${(1 - shown) * u * 6}px)` }}>
<Frame colour={COLOURS.task} width={u * 24} style={{ padding: `${u * 0.7}px ${u * 1.1}px` }}>
<div style={{ fontSize: u * 1.35, color: COLOURS.chipLabel, fontWeight: 700, letterSpacing: u * 0.2 }}>
{text.items.map((item) => item.text).join(" · ")}
</div>
{text.countdown === null ? null : (
<div
style={{
fontFamily: MONO,
fontWeight: 800,
fontSize: u * 2.4,
color: COLOURS.alarm,
textShadow: `0 0 ${u * 0.4}px ${COLOURS.alarm}`,
}}
>
{formatCountdown(secondsLeft(text.countdown, frame / fps))}
</div>
)}
</Frame>
</div>
</AbsoluteFill>
);
};
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| 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: 196k | Updated | Claude CodeCodex | Verified | Install |