Skip to content

zhangzhangco/film-production-skills / skills/compile-generation-prompts

compile-generation-prompts

Verified

Compile approved story, asset, and shot artifacts into provider-neutral semantic shot data, storyboard frames, image requests, video requests, provider adapters, and quality gates. Use when a film-production workflow needs traceable generation packages without changing narrative facts.

FileKindSize
SKILL.mdskill md2.7 KB
agents/openai.yamlconfig260 B
references/field-guide.mdmarkdown1.3 KB
schemas/input.schema.jsonconfig2.9 KB
schemas/output.schema.jsonconfig4.4 KB

schemas/output.schema.json

View on GitHub
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Compile Generation Prompts Result",
  "allOf": [
    {
      "$ref": "../../../schemas/common/result-envelope.schema.json"
    }
  ],
  "properties": {
    "skill": {
      "const": "compile-generation-prompts"
    },
    "data": {
      "type": "object",
      "required": [
        "shot_ir",
        "storyboard_frames",
        "image_requests",
        "video_requests",
        "provider_requests",
        "quality_gate"
      ],
      "properties": {
        "shot_ir": {
          "type": "array",
          "items": {
            "type": "object",
            "required": ["segment_id", "beat_ids", "asset_ids"],
            "properties": {
              "segment_id": {
                "type": "string"
              },
              "beat_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "asset_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": true
          }
        },
        "storyboard_frames": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "image_requests": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "video_requests": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "provider_requests": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "request_id",
              "provider_id",
              "model_id",
              "media_type",
              "generation_mode",
              "prompt",
              "asset_refs",
              "reference_roles",
              "parameters",
              "compatible",
              "issues"
            ],
            "properties": {
              "request_id": {"type": "string"},
              "provider_id": {"type": "string"},
              "model_id": {"type": "string"},
              "media_type": {"enum": ["image", "video", "audio"]},
              "generation_mode": {
                "enum": [
                  "text-to-image",
                  "text-to-video",
                  "image-to-video",
                  "first-last-frame-video",
                  "multi-reference-video",
                  "audio-generation"
                ]
              },
              "prompt": {"type": "string"},
              "asset_refs": {
                "type": "array",
                "items": {"type": "string"}
              },
              "reference_roles": {
                "type": "object",
                "properties": {
                  "first_frame": {"type": "string"},
                  "last_frame": {"type": "string"},
                  "multi_reference": {
                    "type": "array",
                    "items": {"type": "string"}
                  }
                },
                "additionalProperties": false
              },
              "parameters": {"type": "object"},
              "compatible": {"type": "boolean"},
              "issues": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": ["code", "field", "message", "alternatives"],
                  "properties": {
                    "code": {"type": "string"},
                    "field": {"type": "string"},
                    "message": {"type": "string"},
                    "alternatives": {
                      "type": "array",
                      "items": {"type": "string"}
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          }
        },
        "quality_gate": {
          "type": "object",
          "required": ["passed", "checks"],
          "properties": {
            "passed": {
              "type": "boolean"
            },
            "checks": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
  },
  "unevaluatedProperties": false
}
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 323kUpdated Claude CodeCodexVerifiedInstall