Skip to content

notque/vexjoy-agent / skills/frontend/frontend-slides

frontend-slides

Verified

Browser-based HTML presentation generation.

FileKindSize
SKILL.mdskill md13.2 KB
scripts/assemble-controllers.pyexecutablescript5.7 KB
scripts/assemble-layouts.pyexecutablescript6.3 KB
scripts/assemble-styles.pyexecutablescript6.8 KB
scripts/validate-slides.pyscript7.7 KB
templates/base.cssother998 B
templates/controllers/countdown-timer.jsscript695 B
templates/controllers/indicator.cssother389 B
templates/controllers/slide-controller.jsscript2.8 KB
templates/controllers/speaker-notes.cssother319 B
templates/controllers/speaker-notes.jsscript500 B
templates/layouts/code.cssother442 B
templates/layouts/code.htmlother134 B
templates/layouts/content.cssother628 B
templates/layouts/content.htmlother143 B
templates/layouts/grid.cssother694 B
templates/layouts/grid.htmlother271 B
templates/layouts/image.cssother352 B
templates/layouts/image.htmlother146 B
templates/layouts/quote.cssother383 B
templates/layouts/quote.htmlother144 B
templates/layouts/section-break.cssother290 B
templates/layouts/section-break.htmlother75 B
templates/layouts/title.cssother385 B
templates/layouts/title.htmlother109 B
templates/presets/arctic-minimal.cssother356 B
templates/presets/carbon-ember.cssother355 B
templates/presets/chalk-board.cssother351 B
templates/presets/glacier-blue.cssother359 B
templates/presets/lavender-mist.cssother354 B
templates/presets/obsidian-gold.cssother346 B
templates/presets/rose-noir.cssother369 B
templates/presets/sage-paper.cssother346 B
templates/presets/slate-coral.cssother364 B
templates/presets/solar-sand.cssother348 B
templates/presets/steel-wire.cssother422 B
templates/presets/void-neon.cssother433 B
tests/overflow-fixture.htmlother4.6 KB

tests/overflow-fixture.html

View on GitHub
<!DOCTYPE html>
<!--
  overflow-fixture.html — Test fixture for validate-slides.py

  Purpose:
    Verify that validate-slides.py correctly detects overflow on .slide elements.
    This file contains two slides:
      Slide 0 (id="slide-pass"): fits in the viewport — scrollHeight == clientHeight
      Slide 1 (id="slide-overflow"): forced overflow via 2000px inner div — scrollHeight > clientHeight

  Expected validate-slides.py result:
    Exit code 1 (overflow detected)
    Report must name slide index 1 at every breakpoint where overflow occurs.

  Do NOT use this file as a template for real decks — it intentionally violates
  the viewport-fit constraint for testing purposes.
-->
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
  <title>Overflow Detection Fixture</title>
  <style>
    /* === MANDATORY BASE — copy verbatim, theme on top === */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .deck {
      width: 100%;
      height: 100vh;
      height: 100dvh;
      overflow: hidden;
      scroll-snap-type: x mandatory;
      display: flex;
    }

    .slide {
      flex: 0 0 100%;
      width: 100%;
      height: 100vh;
      height: 100dvh;
      overflow: hidden;
      scroll-snap-align: start;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: clamp(1.5rem, 5vw, 4rem);
      padding-top: max(clamp(1.5rem, 5vw, 4rem), env(safe-area-inset-top, 0px));
      padding-bottom: max(clamp(1.5rem, 5vw, 4rem), env(safe-area-inset-bottom, 0px));
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }
    /* === END MANDATORY BASE === */

    /* Slide 0: correct — no overflow */
    #slide-pass {
      background: #1a1a2e;
      color: #e0e0e0;
    }

    #slide-pass h1 {
      font-family: system-ui, sans-serif;
      font-size: clamp(1.5rem, 4vw, 3rem);
      color: #00d4aa;
    }

    #slide-pass p {
      font-family: system-ui, sans-serif;
      font-size: clamp(0.9rem, 2vw, 1.2rem);
      margin-top: 1rem;
      max-width: 60ch;
      text-align: center;
    }

    /* Slide 1: intentional overflow — inner content is 2000px tall */
    #slide-overflow {
      background: #2d1b1b;
      color: #ffcccc;
      /* Intentionally omit overflow: hidden on the slide itself to expose content.
         The overflow:hidden on .slide is what normally prevents this.
         We test the case where an author forgets the overflow rule. */
      overflow: visible; /* INTENTIONAL VIOLATION — for testing only */
    }

    #slide-overflow h1 {
      font-family: system-ui, sans-serif;
      font-size: clamp(1.5rem, 4vw, 3rem);
      color: #ff6b6b;
    }

    .overflow-content {
      /* This block is 2000px tall — guarantees scrollHeight > clientHeight
         at every viewport size tested by validate-slides.py */
      height: 2000px;
      width: 100%;
      background: repeating-linear-gradient(
        0deg,
        #3d1f1f 0px,
        #3d1f1f 20px,
        #2d1b1b 20px,
        #2d1b1b 40px
      );
      display: flex;
      align-items: flex-start;
      padding: 1rem;
    }

    .overflow-content p {
      font-family: 'Courier New', monospace;
      font-size: 0.85rem;
      color: #ff9999;
    }
  </style>
</head>
<body>
  <div class="deck">

    <!-- Slide 0: passes overflow check — content fits within 100dvh -->
    <section class="slide" id="slide-pass">
      <h1>Slide 0: Viewport-Fit Pass</h1>
      <p>
        This slide correctly uses <code>height: 100dvh; overflow: hidden</code>.
        The validation script should report no overflow here at any breakpoint.
      </p>
    </section>

    <!-- Slide 1: intentionally overflows — used to verify detection logic -->
    <section class="slide" id="slide-overflow">
      <h1>Slide 1: Intentional Overflow</h1>
      <div class="overflow-content">
        <p>
          FIXTURE: This inner div is 2000px tall.<br>
          overflow: visible is set on the parent .slide.<br>
          scrollHeight will exceed clientHeight at every breakpoint.<br>
          validate-slides.py must report this slide as overflowing.<br>
          Expected exit code: 1<br>
          If validate-slides.py exits 0 on this file, the detection logic is broken.
        </p>
      </div>
    </section>

  </div>
</body>
</html>
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall