Communitygithub.com

ShotSketch

Shotsketch: 영상 아이디어를 촬영용 스토리보드로 바꿔줍니다. 샷별로 릴 스크립트를 쓰고(시리아 아랍어, 영어, 독일어, 프랑스어), 손으로 그린 스케치로 포즈, 카메라 각도, 소품, 화면 텍스트를 보여주며, 촬영할 수 있는 한 페이지를 만들어 냅니다. «ستوري بورد», «لوحة تصوير», storyboard, Drehplan 또는 «storyboard pour…» 등에 사용하세요.

ShotSketch란 무엇인가요?

ShotSketch는 Wajih Alkhiami가 카메라를 보며 말하는 릴 영상(컴퓨터, 휴대폰, AI 도구 관련)을 촬영하기 전에, 휴대폰으로 열어볼 수 있는 단 한 페이지를 생성해주는 AI 에이전트 스킬입니다. 사용자가 주제와 언어(시리아 아랍어, 영어, 독일어, 프랑스어)를 선택하면, AI가 샷별 스크립트를 작성하고 각 샷에 대한 손 그림 스케치(포즈, 카메라 각도, 소품, 화면 텍스트 포함)를 그려줍니다. Claude Code, Cursor, 또는 Codex와 같은 AI 에이전트 플랫폼에서 작동하며, `build.py` 파이썬 스크립트와 `template.html` 템플릿을 이용해 완전한 HTML 스토리보드 페이지(9:16 세로 릴, 25~45초, 5~9개 샷)를 생성합니다. 이 스킬은 사용자가 빠르게 아이디어를 시각화하고 촬영 단계로 넘어갈 수 있게 해주며, 각 샷의 체크박스로 진행 상황을 추적할 수 있습니다. 프롬프트에 따라 사실 정보(소프트웨어 단축키, 메뉴명 등)는 웹 검색을 통해 검증하며, 언어별 소프트웨어 버전의 메뉴명을 반영합니다.

지원 대상✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/wajihalkhiami-tech/ShotSketch/tree/HEAD

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

ShotSketch은(는) 무엇을 하나요?

Wajih Alkhiami는 카메라를 보며 말하는 릴 영상(컴퓨터, 휴대폰, AI 도구 관련)을 촬영합니다. 촬영 전에 그는 휴대폰으로 열어볼 수 있는 단 한 페이지를 원합니다: 샷별로 나뉜 스크립트, 그리고 각 샷마다 앉는 방법, 카메라 위치, 손에 든 것, 화면에 표시될 텍스트가 그려진 손 그림 스케치가 필요합니다. 보드의 언어와 관계없이 그와 시리아 샤미 방언으로 대화하세요.

1. 주제와 언어

주제가 주어지면 바로 시작하고, 그렇지 않으면 짧은 질문 하나만 하세요. 기본값(묻지 않음): 세로 릴 9:16, 25~45초, 책상에서 휴대폰으로 촬영. 길이, 플랫폼 또는 장소를 언급하면 그걸 사용하세요.

보드 언어 → JSON의 lang:

  • ar (기본값): 스크립트는 시리아 샤미 방언, 구어체로 간단하게.
  • en: Reels/Shorts용 자연스럽고 캐주얼한 영어.
  • de: 캐주얼한 독일어, "du" 형태, 독일 크리에이터들이 말하는 방식.
  • fr: 캐주얼한 프랑스어, "tu". 그가 언급한 언어를 선택하세요 («بالإنجليزي», "in German", «بالفرنساوي»…). 그가 페이지에서 읽는 모든 것(스크립트, 화면 텍스트, 동작, 설정 팁, 샷 이름, 제목)은 해당 언어로 작성되고, 인터페이스 레이블은 자동으로 변경됩니다. 두 가지 언어를 요청하면 언어별로 하나의 보드를 만드세요.

2. 스크립트를 샷별로 작성하기

  • 구어체, 짧은 문장. 각 샷 2~7초 = 한두 문장.
  • 샷 1은 훅(≤3초): 놀라움, 약속 또는 질문. 클로즈 프레이밍, rays: true, move: "zoom-in".
  • 5~9개 샷. 매 샷마다 프레이밍 또는 카메라 변경(클로즈 → 미디엄 → 탑 → 와이드…), 같은 프레이밍이 연속으로 두 번 오지 않게.
  • 키보드, 휴대폰 화면 또는 종이 위에 무언가를 보여줄 때는 항상 탑 뷰(view:"top")를 사용하세요.
  • 마지막 샷: 명확한 행동 유도(저장 / 팔로우 / 댓글), 보드 언어로 작성.
  • 소프트웨어에 관한 사실(단축키, 메뉴, 가격)은 정확해야 합니다. 확실하지 않으면 웹을 검색하세요. 언어별 소프트웨어 버전의 메뉴명이 다를 경우 그 메뉴명을 사용하세요.

3. 보드 JSON 채우기

{
  "lang": "ar",
  "title": "ريل: …",
  "platform": "ريلز / شورتس عمودي",
  "setup": ["휴대폰을 둘 곳", "조명", "준비할 소품", "촬영 팁 하나"],
  "shots": [
    {"name":"الهوك","seconds":3,"view":"front","framing":"close","pose":"talk","mood":"surprised","rays":true,
     "onscreen":"ما حدا قلك!","say":"…그가 말하는 것…","action":"…앉는 방법 / 할 일…","move":"zoom-in","edit":"편집 참고사항(선택)"}
  ],
  "footer": "Wajih Alkhiami · ShotSketch"
}

허용되는 값(다른 값은 빌드를 깨뜨림):

  • lang: ar · en · de · fr
  • view: front (기본값) · top (카메라가 책상 위, 손 + 물체만)
  • camera (레이블만, 프론트 뷰): front · side · low · ots
  • framing (프론트 뷰): close (얼굴) · medium (상반신, 기본값) · wide (책상 전체)
  • pose: rest · talk · point (화면 텍스트를 가리킴) · point-down (책상을 가리킴) · phone (휴대폰을 카메라로 듦) · laptop (닫힌 노트북 위에 손) · hands-up · chin (생각)
  • mood: smile · surprised · serious · thinking
  • props: laptop-closed · laptop-open · phone · mug · plant · paper
  • move: none · zoom-in · zoom-out · pan-left · pan-right · tilt-down · handheld
  • onscreen: ≤ 16자, 스케치에 크게 그려집니다. glasses: true, beard: false는 선택 사항입니다. setup은 35개의 실용적인 항목(휴대폰 높이, 앞 창문에서 들어오는 빛, 소품, 각 샷을 23번 촬영하고 각 끝에 1초 정도 침묵을 두고 촬영).

4. 페이지 만들기

아래 템플릿을 template.html로 (정확히, 테스트됨) 작성하고 빌더를 build.py로 작성한 후, 둘 다 작업 폴더에 넣고 다음을 실행하세요:

python3 build.py board.json storyboard.html

빌더는 언어, 포즈 및 소품을 확인하고 허용 목록과 함께 실패합니다. JSON을 수정하고 다시 실행하세요. 브라우저를 사용할 수 있으면 휴대폰 너비(≈420px)로 페이지를 한 번 스크린샷하고 확인하세요: 스케치가 그려졌는지, 텍스트 방향이 올바른지(아랍어는 오른쪽에서 왼쪽, 나머지는 왼쪽에서 오른쪽), 잘린 부분이 없는지 확인하세요.

글꼴: Cairo (제목, 대사 및 화면 텍스트용), IBM Plex Sans Arabic (본문 텍스트용, 둘 다 라틴 문자도 지원). 그대로 유지하세요. Wajih는 장식용 글꼴을 읽기 어렵다고 느꼈습니다.

storyboard.html을 «ShotSketch · <주제>» 제목으로, 아이콘 video로 게시하세요. 각 샷에는 촬영 중에 체크할 수 있는 체크박스가 있습니다(브라우저에만 저장됨).

5. 답변

샤미 방언으로 두세 줄: 주제, 언어, 샷 수, 총 시간, 그리고 촬영 후 클립을 보내면 편집해 줄 것이라는 내용. 채팅에서 스크립트를 반복하지 마세요.

빌더: build.py

#!/usr/bin/env python3
"""Fill the storyboard template with a board JSON.
Usage: python3 build.py board.json out.html
"""
import json, sys, pathlib, html

here = pathlib.Path(__file__).resolve().parent
tpl = (here / "template.html").read_text(encoding="utf-8")
board = json.loads(pathlib.Path(sys.argv[1]).read_text(encoding="utf-8"))

LANGS = {"ar", "en", "de", "fr"}
if board.get("lang", "ar") not in LANGS:
    sys.exit(f"unknown lang {board.get('lang')} (use {sorted(LANGS)})")
POSES = {"rest", "point", "point-down", "talk", "phone", "laptop", "hands-up", "chin"}
PROPS = {"laptop", "laptop-open", "laptop-closed", "phone", "mug", "plant", "paper"}
for i, s in enumerate(board["shots"], 1):
    if s.get("pose", "rest") not in POSES:
        sys.exit(f"shot {i}: unknown pose {s.get('pose')} (use {sorted(POSES)})")
    bad = set(s.get("props", [])) - PROPS
    if bad:
        sys.exit(f"shot {i}: unknown props {bad} (use {sorted(PROPS)})")

data = json.dumps(board, ensure_ascii=False).replace("</", "<\\/")
out = tpl.replace("__BOARD_JSON__", data).replace("__TITLE__", html.escape(board["title"]))
pathlib.Path(sys.argv[2]).write_text(out, encoding="utf-8")
print("ok", sys.argv[2], len(board["shots"]), "shots")

템플릿: template.html

<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>__TITLE__</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Cairo:wght@600;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;700&display=swap">
<style>
  :root{color-scheme:light;--paper:#f6f1e7;--ink:#1d1d1f;--accent:#f08a3c;--blue:#2c5fa8;--card:#fffdf8;--muted:#7a7266}
  *{box-sizing:border-box}
  body{margin:0;background:var(--paper);color:var(--ink);font-family:"IBM Plex Sans Arabic","Cairo","Tajawal",system-ui,sans-serif;line-height:1.75;font-size:16px}
  header{padding:22px 18px 8px;max-width:760px;margin:auto}
  h1,h2,h3,.num,.say,.ost{font-family:"Cairo","IBM Plex Sans Arabic",system-ui,sans-serif}
  h1{font-size:26px;margin:0 0 4px;line-height:1.4}
  .meta{color:var(--muted);font-size:14px}
  .box{background:var(--card);border:2px solid var(--ink);border-radius:14px;padding:12px 14px;margin:14px 0;box-shadow:4px 4px 0 var(--ink)}
  .box h2{font-size:17px;margin:0 0 6px}
  .box ul{margin:0;padding-inline-start:20px}
  main{max-width:760px;margin:auto;padding:0 14px 40px}
  .shot{background:var(--card);border:2px solid var(--ink);border-radius:16px;margin:22px 0;box-shadow:5px 5px 0 var(--ink);overflow:hidden}
  .shot.done{opacity:.55}
  .shot-head{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:2px dashed #cfc6b6}
  .num{background:var(--accent);color:#fff;font-weight:900;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none}
  .shot-head h3{margin:0;font-size:17px;flex:1}
  .dur{font-size:13px;color:var(--muted);white-space:nowrap}
  .shot-body{display:grid;grid-template-columns:minmax(150px,210px) 1fr;gap:14px;padding:14px}
  @media(max-width:520px){.shot-body{grid-template-columns:1fr}.sketch{max-width:240px;margin:auto}}
  .sketch svg{width:100%;height:auto;display:block;background:#fff;border:2px solid var(--ink);border-radius:10px}
  .chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;justify-content:center}
  .chip{font-size:13px;background:#efe7d8;border-radius:20px;padding:2px 10px}
  .say{font-size:18px;font-weight:700;background:#fff6ea;border-inline-start:5px solid var(--accent);padding:8px 12px;border-radius:8px}
  .label{font-size:12px;color:var(--muted);margin-top:10px}
  .ost{font-weight:800;color:var(--blue)}
  .tip{font-size:16px}
  label.check{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:14px;cursor:pointer}
  label.check input{width:20px;height:20px;accent-color:var(--accent)}
  footer{text-align:center;color:var(--muted);font-size:12px;padding-bottom:30px}
</style>
</head>
<body>
<header>
  <h1 id="t"></h1>
  <div class="meta" id="m"></div>
  <div class="box" id="setup"></div>
</header>
<main id="shots"></main>
<footer id="f"></footer>

<script>
/* ======== DATA: Claude fills ONLY this object ======== */
const BOARD = __BOARD_JSON__;
/* ===================================================== */

const NS="http://www.w3.org/2000/svg";
const W=270,H=480,CX=135;
const ink="#1d1d1f",accent="#f08a3c";
function el(tag,attrs,parent){const e=document.createElementNS(NS,tag);for(const k in attrs)e.setAttribute(k,attrs[k]);if(parent)parent.appendChild(e);return e}
function path(g,d,o={}){return el("path",{d,fill:o.fill||"none",stroke:o.stroke||ink,"stroke-width":o.w||3,"stroke-linecap":"round","stroke-linejoin":"round",...(o.dash?{"stroke-dasharray":o.dash}:{})},g)}

function rays(g,cx,cy){
  for(let i=0;i<9;i++){
    const a=Math.PI*(1+i/8);const r1=58,r2=r1+30+(i%2)*14;
    path(g,`M${cx+Math.cos(a)*r1},${cy+Math.sin(a)*r1} L${cx+Math.cos(a)*r2},${cy+Math.sin(a)*r2}`,{stroke:accent,w:10});
  }
}
function head(g,cx,cy,o){
  const r=32;
  el("circle",{cx,cy,r,fill:"#fff",stroke:ink,"stroke-width":3},g);
  path(g,`M${cx-r+2},${cy-8} Q${cx-r+4},${cy-r-10} ${cx},${cy-r-6} Q${cx+r-4},${cy-r-10} ${cx+r-2},${cy-8} Q${cx+12},${cy-r+4} ${cx-r+2},${cy-8}`,{fill:ink,w:2});
  if(o.beard!==false)path(g,`M${cx-r+3},${cy+4} Q${cx-r+6},${cy+r+12} ${cx},${cy+r+12} Q${cx+r-6},${cy+r+12} ${cx+r-3},${cy+4}`,{w:3});
  el("circle",{cx:cx-11,cy:cy-2,r:2.6,fill:ink},g);el("circle",{cx:cx+11,cy:cy-2,r:2.6,fill:ink},g);
  if(o.glasses){el("circle",{cx:cx-11,cy:cy-2,r:8,fill:"none",stroke:ink,"stroke-width":2},g);el("circle",{cx:cx+11,cy:cy-2,r:8,fill:"none",stroke:ink,"stroke-width":2},g);path(g,`M${cx-3},${cy-2} L${cx+3},${cy-2}`,{w:2})}
  const mood=o.mood||"smile";
  if(mood==="smile")path(g,`M${cx-10},${cy+12} Q${cx},${cy+21} ${cx+10},${cy+12}`,{w:2.5});
  else if(mood==="surprised")el("ellipse",{cx,cy:cy+15,rx:5,ry:7,fill:"none",stroke:ink,"stroke-width":2.5},g);
  else if(mood==="serious")path(g,`M${cx-9},${cy+15} L${cx+9},${cy+15}`,{w:2.5});
  else if(mood==="thinking"){path(g,`M${cx-8},${cy+15} Q${cx+2},${cy+11} ${cx+9},${cy+16}`,{w:2.5});path(g,`M${cx-17},${cy-14} L${cx-5},${cy-11}`,{w:2})}
}
function body(g,cx,y){ // y = shoulder line
  path(g,`M${cx-8},${y-16} L${cx-8},${y-4} M${cx+8},${y-16} L${cx+8},${y-4}`,{w:2.5});
  path(g,`M${cx-78},${y+95} Q${cx-74},${y+6} ${cx-22},${y-4} L${cx+22},${y-4} Q${cx+74},${y+6} ${cx+78},${y+95}`,{fill:"#fff"});
  path(g,`M${cx-14},${y-4} L${cx},${y+16} L${cx+14},${y-4}`,{w:2.5});
}
function hand(g,x,y){el("ellipse",{cx:x,cy:y,rx:10,ry:8,fill:"#fff",stroke:ink,"stroke-width":3},g)}
function phone(g,x,y,s=1){el("rect",{x:x-11*s,y:y-19*s,width:22*s,height:38*s,rx:4*s,fill:"#fff",stroke:ink,"stroke-width":3},g);path(g,`M${x-4*s},${y+14*s} L${x+4*s},${y+14*s}`,{w:2})}
function arms(g,cx,y,pose,tableY){
  const Ls=[cx-58,y+14],Rs=[cx+58,y+14];
  const rest=(s,hx)=>{path(g,`M${s[0]},${s[1]} Q${s[0]+(hx<cx?-12:12)},${tableY-30} ${hx},${tableY-4}`);hand(g,hx,tableY-4)};
  switch(pose){
    case "point": rest(Ls,cx-48);
      path(g,`M${Rs[0]},${Rs[1]} L${cx+92},${y-30} L${cx+104},${y-78}`);hand(g,cx+104,y-84);path(g,`M${cx+106},${y-92} L${cx+112},${y-112}`,{w:4});break;
    case "point-down": rest(Ls,cx-48);
      path(g,`M${Rs[0]},${Rs[1]} Q${cx+70},${tableY-20} ${cx+40},${tableY+4}`);hand(g,cx+40,tableY+6);path(g,`M${cx+34},${tableY+12} L${cx+26},${tableY+26}`,{w:4});break;
    case "talk": rest(Ls,cx-48);
      path(g,`M${Rs[0]},${Rs[1]} Q${cx+86},${y+60} ${cx+60},${y+38}`);el("ellipse",{cx:cx+56,cy:y+30,rx:11,ry:13,fill:"#fff",stroke:ink,"stroke-width":3},g);
      path(g,`M${cx+76},${y+18} l8,-6 M${cx+78},${y+30} l10,0`,{w:2.5,stroke:accent});break;
    case "phone":
      path(g,`M${Ls[0]},${Ls[1]} Q${cx-50},${y+70} ${cx-20},${y+52}`);path(g,`M${Rs[0]},${Rs[1]} Q${cx+50},${y+70} ${cx+20},${y+52}`);
      phone(g,cx,y+40,1.2);hand(g,cx-18,y+54);hand(g,cx+18,y+54);break;
    case "laptop": path(g,`M${Ls[0]},${Ls[1]} Q${cx-84},${tableY-10} ${cx-64},${tableY+22}`);hand(g,cx-64,tableY+24);path(g,`M${Rs[0]},${Rs[1]} Q${cx+84},${tableY-10} ${cx+64},${tableY+22}`);hand(g,cx+64,tableY+24);break;
    case "hands-up":
      path(g,`M${Ls[0]},${Ls[1]} L${cx-92},${y-20} L${cx-96},${y-60}`);hand(g,cx-96,y-66);
      path(g,`M${Rs[0]},${Rs[1]} L${cx+92},${y-20} L${cx+96},${y-60}`);hand(g,cx+96,y-66);break;
    case "chin": rest(Ls,cx-48);
      path(g,`M${Rs[0]},${Rs[1]} Q${cx+60},${y+40} ${cx+26},${y-14}`);hand(g,cx+24,y-18);break;
    default: rest(Ls,cx-48);rest(Rs,cx+48);
  }
}
function table(g,y){path(g,`M-300,${y} L${W+300},${y} L${W+300},${H+300} L-300,${H+300} Z`,{fill:"#efe7d8",w:0});path(g,`M-300,${y} L${W+300},${y}`,{w:3.5})}
function laptopClosed(g,cx,y){path(g,`M${cx-70},${y+12} L${cx+70},${y+12} L${cx+86},${y+34} L${cx-86},${y+34} Z`,{fill:"#d9d4cc"});el("circle",{cx,cy:y+23,r:4,fill:ink},g)}
function laptopOpen(g,cx,y){path(g,`M${cx-70},${y-66} L${cx+70},${y-66} L${cx+70},${y+6} L${cx-70},${y+6} Z`,{fill:"#d9d4cc"});el("circle",{cx,cy:y-30,r:5,fill:ink},g);path(g,`M${cx-84},${y+6} L${cx+84},${y+6} L${cx+92},${y+16} L${cx-92},${y+16} Z`,{fill:"#bdb6aa"})}
function mug(g,x,y){path(g,`M${x-12},${y-26} L${x+12},${y-26} L${x+10},${y} L${x-10},${y} Z`,{fill:"#fff"});path(g,`M${x+12},${y-20} q10,4 0,12`,{w:2.5});path(g,`M${x-4},${y-34} q-3,-6 0,-10 M${x+4},${y-34} q-3,-6 0,-10`,{w:2,stroke:"#999"})}
function plant(g,x,y){path(g,`M${x-12},${y-20} L${x+12},${y-20} L${x+9},${y} L${x-9},${y} Z`,{fill:"#fff"});path(g,`M${x-10},${y-26} L${x-4},${y-44} M${x+10},${y-26} L${x+4},${y-44} M${x},${y-26} L${x},${y-50}`,{w:2})}
function paper(g,x,y){path(g,`M${x-28},${y-38} L${x+28},${y-38} L${x+28},${y+10} L${x-28},${y+10} Z`,{fill:"#fff",r:2});path(g,`M${x-28},${y-38} L${x+28},${y-38} L${x+28},${y+10} L${x-28},${y+10} Z`,{w:2});path(g,`M${x-14},${y-18} L${x+14},${y-18} M${x-14},${y-6} L${x+14},${y-6}`,{w:1.5,stroke:"#767676"})}
const poses={rest,point,pointDown,talk,phone,laptop,handsUp,chin};
function draw(svg,shot,lang){
  while(svg.lastChild)svg.removeChild(svg.lastChild);
  const cx=135,cy=220;
  if(shot.view==="top"){
    const ty=350;table(g,ty);
    if(shot.props.includes("laptop-closed"))laptopClosed(g,cx,ty-40);
    else if(shot.props.includes("laptop-open"))laptopOpen(g,cx,ty-80);
    else if(shot.props.includes("phone"))phone(g,cx,ty-30,1.3);
    else if(shot.props.includes("paper"))paper(g,cx,ty-20);
    if(shot.props.includes("mug"))mug(g,cx+60,ty-10);
    if(shot.props.includes("plant"))plant(g,cx-50,ty-10);
    return;
  }
  // front view
  const ty=380;
  table(g,ty);
  head(g,cx,180,shot);
  body(g,cx,190);
  arms(g,cx,190,shot.pose,ty);
  if(shot.props.includes("laptop-closed"))laptopClosed(g,cx,ty-10);
  else if(shot.props.includes("laptop-open"))laptopOpen(g,cx,ty-50);
  else if(shot.props.includes("phone"))phone(g,cx+30,ty-10,1);
  if(shot.props.includes("paper")){if(!shot.props.includes("laptop"))paper(g,cx-40,ty-8)}
  if(shot.props.includes("mug"))mug(g,cx-48,ty-6);
  if(shot.props.includes("plant"))plant(g,cx+50,ty-10);
  if(shot.rays)rays(g,cx,100);
}

// Build page from BOARD
const L={ar:"العربية",en:"English",de:"Deutsch",fr:"Français"};
document.title=BOARD.title;
const dir=BOARD.lang==="ar"?"rtl":"ltr";
document.documentElement.setAttribute("lang",BOARD.lang);
document.documentElement.setAttribute("dir",dir);
document.getElementById("t").textContent=BOARD.title;
document.getElementById("m").textContent=BOARD.platform+(BOARD.lang?` · ${L[BOARD.lang]||BOARD.lang}`:"");
const setupEl=document.getElementById("setup");
const setupH2=document.createElement("h2");
setupH2.textContent=BOARD.lang==="ar"?"تجهيز"||"إعدادات":BOARD.lang==="en"?"Setup":BOARD.lang==="de"?"Setup":"Préparation";setupEl.appendChild(setupH2);
const ul=document.createElement("ul");
BOARD.setup.forEach(t=>{const li=document.createElement("li");li.textContent=t;ul.appendChild(li)});
setupEl.appendChild(ul);
const shotsEl=document.getElementById("shots");
BOARD.shots.forEach((s,i)=>{
  const div=document.createElement("div");div.className="shot";
  const head=document.createElement("div");head.className="shot-head";
  const num=document.createElement("div");num.className="num";num.textContent=i+1;head.appendChild(num);
  const h3=document.createElement("h3");h3.textContent=s.name||"";head.appendChild(h3);
  const dur=document.createElement("span");dur.className="dur";dur.textContent=s.seconds+"s";head.appendChild(dur);
  div.appendChild(head);
  const body=document.createElement("div");body.className="shot-body";
  const sketchDiv=document.createElement("div");sketchDiv.className="sketch";
  const svg=document.createElementNS(NS,"svg");svg.setAttribute("viewBox","0 0 270 480");svg.setAttribute("width","270");svg.setAttribute("height","480");
  draw(svg,s,BOARD.lang);
  sketchDiv.appendChild(svg);
  const chips=document.createElement("div");chips.className="chips";
  if(s.framing&&s.view!=="top"){const c=document.createElement("span");c.className="chip";c.textContent=s.framing;chips.appendChild(c)}
  if(s.view==="top"){const c=document.createElement("span");c.className="chip";c.textContent="top";chips.appendChild(c)}
  if(s.move&&s.move!=="none"){const c=document.createElement("span");c.className="chip";c.textContent=s.move;chips.appendChild(c)}
  sketchDiv.appendChild(chips);
  body.appendChild(sketchDiv);
  const info=document.createElement("div");
  const say=document.createElement("div");say.className="say";say.textContent=s.say;info.appendChild(say);
  if(s.onscreen){const os=document.createElement("div");os.className="ost";os.textContent="📺 "+s.onscreen;info.appendChild(os)}
  if(s.action){const ac=document.createElement("div");ac.className="label";ac.textContent=s.action;info.appendChild(ac)}
  if(s.edit){const ed=document.createElement("div");ed.className="label tip";ed.textContent="✂️ "+s.edit;info.appendChild(ed)}
  const label=document.createElement("label");label.className="check";
  const cb=document.createElement("input");cb.type="checkbox";
  const stored=localStorage.getItem("shot-"+i);if(stored==="done")cb.checked=true;
  cb.addEventListener("change",()=>{localStorage.setItem("shot-"+i,cb.checked?"done":"");if(cb.checked)div.classList.add("done");else div.classList.remove("done")});
  if(cb.checked)div.classList.add("done");
  label.appendChild(cb);
  const checkText=document.createElement("span");checkText.textContent=BOARD.lang==="ar"?"تم التصوير":BOARD.lang==="en"?"Filmed":BOARD.lang==="de"?"Gedreht":"Filmé";label.appendChild(checkText);
  info.appendChild(label);
  body.appendChild(info);
  div.appendChild(body);
  shotsEl.appendChild(div);
});
if(BOARD.footer)document.getElementById("f").textContent=BOARD.footer;
</script>
</body>
</html>

(참고: template.html은 스토리보드 페이지를 렌더링하는 완전한 HTML 문서입니다. 위의 내용은 축약된 형태이며, 실제 빌더에서 사용됩니다.)

관련 스킬