본문으로 건너뛰기
cccskills
무료GitHub에 공개

template-render

Render a Template + data + Style into a final artifact in one of HTML, PDF, PNG, SVG or PPTX. Use whenever the user asks for a concrete deliverable like "make me a poster", "render a card", "give me a one-pager".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Playwright
설치 방법 보기

포함된 파일(1)

  • SKILL.md1.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

template-render

The standard recipe for producing a deliverable from a Template and a Style.

Procedure

  1. Pick a Template:
    • If the user names a category ("a poster", "a card"), list candidates: claw template list --category <cat>.
    • If they describe a use-case, match by tags or name.
  2. Pick a Style:
    • If they reference a brand or saved style, use that.
    • Otherwise default to the workspace's primary Style (often the first non-builtin or claw).
  3. Compose data:
    • Read the template's slots from claw template get <id>.
    • For each slot, write a JSON field with id as the key.
    • Respect maxLength, maxItems, required.
  4. Render:
    claw template render <templateId> --style <styleId> --data data.json --format pdf,png --out ./deliverable
    
  5. Report back: the paths produced and a sentence describing what is in each.

Formats

FormatRendererNotes
htmldirectCanonical, fastest, no deps.
svgwraps html in <foreignObject>Use for scalable vector.
pdfPlaywright (Chromium)Falls back to a minimal Node PDF if Playwright is unavailable.
pngPlaywright (Chromium)2x deviceScaleFactor.
pptxOpenXML (Node only)Minimal one-slide PPTX. Best for presentation category.

Constraints

  • Never hard-code style values into the data. The Style is the source of truth for color and typography.
  • If the template declares outputs and the requested format is not in the list, fail with a clear error.
  • Generated outputs go under .claw/templates/<templateId>/outputs/ unless --out is specified.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Govern Clawix accessibility changes across screen reader behavior, keyboard navigation, focus order, contrast, reduced motion, text scaling, timed interactions, and agent-generated UI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

clawic/Clawix82026년 6월 6일 업데이트

Review or update stable, canonical, any-human, PMF, and adoption claims using adoption/canonicity governance packets.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

clawic/Clawix82026년 6월 6일 업데이트

Turn a new or changed ADR into implemented behavior, routing docs, tests, and guardrails rather than leaving it as standalone prose.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

clawic/Clawix82026년 6월 6일 업데이트

Repair confirmed architecture drift in small batches while preserving public canon and avoiding broad opportunistic refactors.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

clawic/Clawix82026년 6월 6일 업데이트

Given an existing Style, generate a human-readable brand guidelines document covering colors, typography, voice, do/don't, imagery rules, and usage examples. Use when the user asks for a brand book, brand guide, or design system document.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

clawic/Clawix82026년 6월 6일 업데이트

Add or improve canonical data catalog collections, fields, aliases, relations, evidence tags, docs, and tests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

clawic/Clawix82026년 6월 6일 업데이트

clawic의 스킬 모두 보기

이 스킬의 문제 신고