Skip to content

tim-hub/powerball-harness / .claude/skills/generate-video

generate-video

Verified

Generates product demo videos and release walkthroughs via Remotion. Use when creating video documentation or animated demos.

FileKindSize
SKILL.mdskill md6.6 KB
assets/backgrounds/backgrounds.jsonconfig4.9 KB
assets/sounds/sounds.jsonconfig5.7 KB
package.jsonmanifest710 B
references/MIGRATION-11.2.mdmarkdown7.9 KB
references/analyzer.mdmarkdown4.5 KB
references/asset-customization.mdmarkdown11.2 KB
references/best-practices.mdmarkdown8.6 KB
references/direction-guide.mdmarkdown14.6 KB
references/generator.mdmarkdown25.9 KB
references/image-generator.mdmarkdown9.0 KB
references/image-patterns.mdmarkdown14.5 KB
references/image-quality-check.mdmarkdown6.9 KB
references/naming-conventions.mdmarkdown6.0 KB
references/planner.mdmarkdown7.6 KB
references/visual-effects.mdmarkdown11.0 KB
remotion/components/BackgroundLayer.tsxother7.5 KB
remotion/components/EmphasisBox.tsxother5.9 KB
remotion/components/ProgressIndicator.tsxother6.8 KB
remotion/components/README.mdmarkdown8.5 KB
remotion/components/TransitionWrapper.tsxother5.7 KB
remotion/components/index.tsscript1004 B
remotion/tsconfig.jsonconfig617 B
schemas/README.mdmarkdown8.1 KB
schemas/animation.schema.jsonconfig5.2 KB
schemas/assets.manifest.schema.jsonconfig5.9 KB
schemas/character.schema.jsonconfig16.0 KB
schemas/direction.schema.jsonconfig4.5 KB
schemas/emphasis.schema.jsonconfig8.6 KB
schemas/examples/scenario-example.jsonconfig1.6 KB
schemas/examples/scene-example.jsonconfig1.6 KB
schemas/examples/video-script-example.jsonconfig5.1 KB
schemas/examples/visual-patterns/comparison-example.jsonconfig1.0 KB
schemas/examples/visual-patterns/concept-example.jsonconfig2.1 KB
schemas/examples/visual-patterns/flow-example.jsonconfig1.8 KB
schemas/examples/visual-patterns/highlight-example.jsonconfig745 B
schemas/scenario.schema.jsonconfig3.6 KB
schemas/scene.schema.jsonconfig8.2 KB
schemas/validate-schemas-basic.jsscript2.7 KB
schemas/validate-schemas.jsscript6.6 KB
schemas/video-script.schema.jsonconfig7.6 KB
schemas/visual-patterns.schema.jsonconfig14.2 KB
scripts/README.mdmarkdown7.4 KB
scripts/generate-schemas.jsexecutablescript6.2 KB
scripts/load-assets.jsexecutablescript14.1 KB
scripts/merge-scenes.jsexecutablescript15.0 KB
scripts/render-video.jsexecutablescript14.0 KB
scripts/template-registry.jsexecutablescript10.0 KB
scripts/validate-scenario.jsexecutablescript8.0 KB
scripts/validate-scene.jsexecutablescript4.3 KB
scripts/validate-video.jsexecutablescript13.0 KB
src/schemas/animation.tsscript3.7 KB
src/schemas/assets.manifest.tsscript2.8 KB
src/schemas/character.tsscript6.5 KB
src/schemas/direction.tsscript3.2 KB
src/schemas/emphasis.tsscript5.2 KB
src/schemas/index.tsscript423 B
src/schemas/scenario.tsscript2.7 KB
src/schemas/scene.tsscript5.5 KB
src/schemas/video-script.tsscript9.4 KB
src/schemas/visual-patterns.tsscript8.2 KB
src/types/README.mdmarkdown4.1 KB
src/types/components.tsscript6.0 KB
src/types/index.tsscript108 B
src/utils/README.mdmarkdown6.1 KB
src/utils/converters.jsscript5.9 KB
src/utils/converters.tsscript5.7 KB
src/utils/index.tsscript109 B
templates/image-prompts/comparison.txtmarkdown1.3 KB
templates/image-prompts/concept.txtmarkdown2.3 KB
templates/image-prompts/flow.txtmarkdown2.8 KB
templates/image-prompts/highlight.txtmarkdown3.2 KB
templates/intro-3min.jsonconfig8.9 KB
templates/teaser-90s.jsonconfig7.0 KB
tests/asset-loader.test.jsscript12.1 KB
tests/character-schema.test.jsscript7.9 KB
tests/converters.test.jsscript8.3 KB
tests/determinism.test.jsscript11.4 KB
tests/e2e/merge-e2e.test.jsscript13.3 KB
tests/e2e/render.test.jsscript6.1 KB
tests/fixtures/minimal-video-script.jsonconfig1.2 KB
tests/merge-scenes.test.jsscript17.2 KB
tests/schema-validation.test.jsscript3.7 KB
tests/validation-integration.test.jsscript12.9 KB
tests/visual-patterns.test.jsscript12.1 KB

src/schemas/visual-patterns.ts

View on GitHub
/**
 * @file visual-patterns.ts
 * @description Auto-generated Zod schema for Visual Patterns Schema
 * @version 1.0.0
 * @generated This file is auto-generated from schemas/visual-patterns.schema.json
 *           All $ref references are resolved during generation.
 *           DO NOT EDIT MANUALLY - run `npm run generate:schemas` instead
 */

import { z } from 'zod';

/**
 * Schema for image generation patterns. Defines 4 pattern types: comparison, concept, flow, and highlight.
 */
export const VisualPatternsSchema = z.object({ "type": z.enum(["comparison","concept","flow","highlight"]).describe("Image pattern type"), "topic": z.string().min(1).max(200).describe("Image subject/theme"), "style": z.enum(["minimalist","technical","modern","gradient","flat","3d"]).describe("Visual style (optional)").default("modern"), "color_scheme": z.object({ "primary": z.string().regex(new RegExp("^#[0-9A-Fa-f]{6}$")).describe("Primary color (e.g., #3B82F6)").optional(), "secondary": z.string().regex(new RegExp("^#[0-9A-Fa-f]{6}$")).describe("Secondary color (e.g., #10B981)").optional(), "accent": z.string().regex(new RegExp("^#[0-9A-Fa-f]{6}$")).describe("Accent color (e.g., #F59E0B)").optional(), "background": z.string().regex(new RegExp("^#[0-9A-Fa-f]{6}$")).describe("Background color (e.g., #1F2937)").default("#1F2937") }).strict().describe("Color scheme settings").optional(), "comparison": z.object({ "left_side": z.object({ "label": z.string().min(1).max(50).describe("Label (e.g., Before, Bad example)"), "items": z.array(z.string().min(1).max(100)).min(1).max(5).describe("List of display items"), "icon": z.enum(["x","warning","sad","slow","confused","broken"]).describe("Icon type (e.g., x, warning, sad)").optional(), "sentiment": z.enum(["negative","neutral","caution"]).describe("Sentiment/impression").default("negative") }).strict().describe("Left side (Before / Bad example)"), "right_side": z.object({ "label": z.string().min(1).max(50).describe("Label (e.g., After, Good example)"), "items": z.array(z.string().min(1).max(100)).min(1).max(5).describe("List of display items"), "icon": z.enum(["check","star","happy","fast","clear","solid"]).describe("Icon type (e.g., check, star, happy)").optional(), "sentiment": z.enum(["positive","neutral","success"]).describe("Sentiment/impression").default("positive") }).strict().describe("Right side (After / Good example)"), "divider": z.enum(["arrow","vs","line","gradient"]).describe("Divider type").default("arrow") }).strict().describe("Settings for the comparison pattern").optional(), "concept": z.object({ "elements": z.array(z.object({ "id": z.string().regex(new RegExp("^[a-z0-9_-]+$")).describe("Unique ID of the element"), "label": z.string().min(1).max(50).describe("Element label"), "description": z.string().max(200).describe("Element description (optional)").optional(), "level": z.number().int().gte(0).lte(5).describe("Hierarchy level (0 = top level)").default(0), "parent_id": z.string().regex(new RegExp("^[a-z0-9_-]+$")).describe("Parent element ID (for expressing hierarchy)").optional(), "icon": z.enum(["box","circle","diamond","hexagon","cloud","gear","database","server","user","code"]).describe("Icon type").optional(), "emphasis": z.enum(["high","medium","low"]).describe("Emphasis level").default("medium") }).strict()).min(2).max(10).describe("List of concept elements"), "relationships": z.array(z.object({ "from": z.string().regex(new RegExp("^[a-z0-9_-]+$")).describe("Source element ID of the relationship"), "to": z.string().regex(new RegExp("^[a-z0-9_-]+$")).describe("Target element ID of the relationship"), "label": z.string().max(30).describe("Relationship label (e.g., contains, generates, depends on)").optional(), "type": z.enum(["hierarchy","flow","dependency","association"]).describe("Relationship type").default("association"), "bidirectional": z.boolean().describe("Whether the relationship is bidirectional").default(false) }).strict()).describe("Relationships between elements").optional(), "layout": z.enum(["hierarchy","radial","grid","flow","circular"]).describe("Layout type").default("hierarchy") }).strict().describe("Settings for the concept diagram pattern").optional(), "flow": z.object({ "steps": z.array(z.object({ "id": z.string().regex(new RegExp("^[a-z0-9_-]+$")).describe("Unique ID of the step"), "label": z.string().min(1).max(50).describe("Step label"), "description": z.string().max(150).describe("Detailed description of the step").optional(), "order": z.number().int().gte(1).lte(20).describe("Step order (1-based)").optional(), "type": z.enum(["start","process","decision","end","parallel","subprocess"]).describe("Step type").default("process"), "icon": z.enum(["circle","square","diamond","rounded","hexagon"]).describe("Icon type").optional(), "duration": z.string().max(20).describe("Estimated duration (e.g., 2 min, instant)").optional() }).strict()).min(2).max(10).describe("Flow steps"), "direction": z.enum(["horizontal","vertical","zigzag"]).describe("Flow direction").default("horizontal"), "arrow_style": z.enum(["solid","dashed","dotted","thick","animated"]).describe("Arrow style").default("solid"), "show_numbers": z.boolean().describe("Whether to show step numbers").default(true) }).strict().describe("Settings for the flow diagram pattern").optional(), "highlight": z.object({ "main_text": z.string().min(1).max(100).describe("Main text (content to emphasize)"), "sub_text": z.string().max(150).describe("Sub text (supplementary description)").optional(), "icon": z.enum(["star","check","alert","info","trophy","rocket","fire","bolt","heart","none"]).describe("Icon type").default("none"), "position": z.enum(["center","top","bottom","left","right"]).describe("Text position").default("center"), "effect": z.enum(["glow","shadow","gradient","outline","none"]).describe("Visual effect").default("glow"), "font_size": z.enum(["small","medium","large","xlarge"]).describe("Font size").default("large"), "emphasis": z.enum(["high","medium","low"]).describe("Emphasis level").default("high") }).strict().describe("Settings for the highlight pattern").optional(), "dimensions": z.object({ "width": z.number().int().gte(256).lte(2048).describe("Width (pixels)").default(1920), "height": z.number().int().gte(256).lte(2048).describe("Height (pixels)").default(1080), "aspect_ratio": z.enum(["16:9","4:3","1:1","9:16"]).describe("Aspect ratio").default("16:9") }).strict().describe("Image size settings").optional(), "generation": z.object({ "seed": z.number().int().gte(0).describe("Deterministic seed value (for reproducibility)").optional(), "quality": z.enum(["draft","standard","high"]).describe("Image quality").default("standard"), "retries": z.number().int().gte(0).lte(5).describe("Maximum retry count on quality failure").default(3) }).strict().describe("Generation settings").optional(), "metadata": z.object({ "scene_id": z.string().describe("Associated scene ID").optional(), "purpose": z.string().max(50).describe("Image purpose (e.g., intro, demo, cta)").optional(), "tags": z.array(z.string().max(30)).max(10).describe("Tags").optional() }).catchall(z.unknown()).describe("Metadata (additional information)").optional() }).strict().and(z.unknown().superRefine((x, ctx) => {
    const schemas = [z.object({ "type": z.literal("comparison").optional() }), z.object({ "type": z.literal("concept").optional() }), z.object({ "type": z.literal("flow").optional() }), z.object({ "type": z.literal("highlight").optional() })];
    const errors = schemas.reduce<z.ZodError[]>(
      (errors, schema) =>
        ((result) =>
          result.error ? [...errors, result.error] : errors)(
          schema.safeParse(x),
        ),
      [],
    );
    if (schemas.length - errors.length !== 1) {
      ctx.addIssue({
        path: ctx.path,
        code: "invalid_union",
        unionErrors: errors,
        message: "Invalid input: Should pass single schema",
      });
    }
  })).describe("Schema for image generation patterns. Defines 4 pattern types: comparison, concept, flow, and highlight.")

/**
 * Inferred TypeScript type from Zod schema
 */
export type VisualPatterns = z.infer<typeof VisualPatternsSchema>;

/**
 * Schema metadata
 */
export const VisualPatternsMeta = {
  version: '1.0.0',
  title: 'Visual Patterns Schema',
  description: 'Schema for image generation patterns. Defines 4 pattern types: comparison, concept, flow, and highlight.',
} as const;
rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).Stars: 198kUpdated Claude CodeCodexUnverifiedInstall
doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.Stars: 198kUpdated Claude CodeCodexVerifiedInstall