Skip to content

Releases

v1.3.0: Laser pointer

Choose a tag to compare

@KhaledSaeed18 KhaledSaeed18 released this 03 Nov 09:10

v1.3.0: Laser pointer

Decks can now point at what the speaker is talking about, from the deck or from the presenter window. The slide format is unchanged.

What changed

  • Laser pointer (L). The cursor on the stage becomes a red dot with a short fading trail. The block under it (card, table row, list item, figure, bridge line) gets a quiet ring, and everything fades after 2.5 seconds without movement. Press L again to turn it off.
  • Point from the presenter window. With the laser on, moving the mouse over the current-slide preview moves the dot on the audience screen. L toggles the laser in both windows, and the presenter status line shows "laser on".
  • Idle cursor hides itself. On the deck, the system cursor disappears after 2.5 seconds still, even with the laser off.
  • Theme tokens. The look comes from --laser, --laser-size, --laser-radius, --laser-halo, --laser-target-ring and --laser-fade in tokens.css, with rules in chrome.css. The starter theme includes them. A theme without --laser-size keeps the normal cursor, and L shows a short message instead. The examples work this way and are unchanged.
  • Sync. A new laser message joins the existing deck and presenter protocol (version 1). Positions are in canvas units, so any window size works.
  • Docs. The keys table and features list in the README, the help overlay (?) and the retheme skill now cover the laser.
  • Community standards. Adds a contributing guide, code of conduct, security policy, and issue and pull request templates.

Upgrading an existing deck

  1. Copy src/engine/ from this release (new: src/engine/laser.ts).
  2. Add the six --laser-* tokens to your src/theme/tokens.css, and the .laser rules to your src/theme/chrome.css, choosing colours that suit your theme. Without them, everything else still works and L only shows a message.
  3. Run pnpm check and pnpm test:deck, then try L in pnpm dev and in /presenter.html.

Your slides and deck manifest do not need changes.

Validation

  • pnpm check: 80 tests passed, including 3 new laser unit tests. The same nine CSS specificity warnings as before.
  • pnpm test:engine: 72 passed, 4 skipped, in Chromium and WebKit. Firefox was not run. New test: on a theme without laser styles, L keeps the cursor and shows the message.
  • Deck suite in Chromium: all passed. New test: the dot follows the mouse on the deck, and follows the presenter's pointer over the current-slide preview.
  • Checked visually in headless Chromium at 1920x1080. Print and PDF exports hide the laser, like the rest of the chrome.

Full changes: v1.2.0...v1.3.0

v1.2.0: Portable workflows for coding agents

Choose a tag to compare

@KhaledSaeed18 KhaledSaeed18 released this 14 Oct 19:42

v1.2.0: Portable workflows for coding agents

Deck-kit now shares one set of project instructions and presentation workflows across Codex, Claude Code and other coding agents. The presentation engine and slide format are unchanged.

What changed

  • AGENTS.md is the canonical project guidance; CLAUDE.md is a relative symlink to it.
  • .agents/skills/ holds all four skills; .claude/skills links to ../.agents/skills, preserving the existing Claude paths.
  • Workflows use available tools and models instead of requiring Claude-specific tool and model names. When subagents are unavailable, they use separate research and verification passes and disclose that limitation.
  • Fixed invalid YAML in the ship-deck skill description.
  • Updated the README, templates, package description and workflow graphic for multiple agents.
  • Aligned package.json with the GitHub release version; it previously still reported 0.1.0.

Using the skills

  • Codex: ask to use the new-deck skill, or use $new-deck in the CLI/IDE.
  • Claude Code: continue using /new-deck, /add-slide, /retheme and /ship-deck.
  • Other coding agents: use their skill discovery mechanism, or explicitly ask them to read AGENTS.md and .agents/skills/<name>/SKILL.md. Automatic discovery depends on the host.

Upgrading an existing deck

New template copies include the complete setup. For an existing deck:

  1. Back up your current instructions and skills, including any local customizations.
  2. Copy AGENTS.md and the complete .agents/skills/ directory from this release, merging your custom rules into those canonical files.
  3. Replace the old CLAUDE.md with a relative symlink to AGENTS.md.
  4. Replace the old .claude/skills/ directory with a relative symlink to ../.agents/skills. Preserve any other files in .claude/, such as settings.

Do not copy only .claude/skills: it is now a link and requires .agents/skills/ to exist. Use a Git checkout or another method that preserves symlinks, and verify the links after copying. On Windows, symlink creation may require Developer Mode or elevated permissions and Git's core.symlinks enabled before cloning.

Your slides, theme, engine and presentation content do not need changes. Keep your talk's own package name and description.

Validation

  • All four skill definitions validated; both compatibility symlinks resolve to the canonical sources.
  • Codex discovered all four repository skills in the working session.
  • pnpm check: 77 tests passed; nine existing CSS specificity warnings.
  • pnpm test:e2e: 77 passed, four expected skips for Chromium-only PDF and axe checks.
  • Standard, single-file and example builds passed as part of the browser test command.
  • Updated workflow graphic rendered and visually checked.

Claude's paths and commands are preserved, but live skill discovery inside Claude Code was not tested.

v1.1.0: cryptography example and kit fixes

Choose a tag to compare

@KhaledSaeed18 KhaledSaeed18 released this 14 Oct 01:21

Adds a second example deck, plus fixes found by building a real talk from scratch with the kit.

The cryptography example

New example: "The Key Is the Only Secret"

  • examples/crypto/: a 16-slide talk on Chapter 1 of Paar and Pelzl, Understanding Cryptography, made end to end with /new-deck. It has a full talk (12:55) and a short one (8:00).
  • Notebook theme: graph paper, a red margin, red-pencil notes and typewriter ciphertext.
  • examples/crypto/docs/ shows every document the workflow produces: brief, plan, decisions and fact log.
  • Run it with pnpm dev:example:crypto. Build any example with vite build --mode example-<name>.
  • The README has a new Examples section with screenshots of both decks.

Fixes

  • Slide lint: 26! (a factorial) is no longer flagged as an exclamation mark.
  • Slide lint: diagram labels no longer count toward the 30-word limit. The copy rules still apply to them.
  • pnpm shots: step screenshots no longer catch slides mid-fade, and the presenter shot shows "Linked to deck".
  • pnpm notes:pdf [profile]: writes out/presenter-script-<profile>.pdf, so a profile no longer overwrites another. The file name changed.
  • /retheme: spells out that raw colours and lengths are only allowed in tokens.css, and says which font packages are safe to remove.
  • /new-deck: keeps the icons the engine and examples use, and replaces the kit's README header with the talk's own.

Upgrading a deck made from v1.0.0: copy src/engine/validate.ts, scripts/shots.ts, scripts/export-notes-pdf.ts and .claude/skills/ from this release. Your slides and theme do not change.

v1.0.0

Choose a tag to compare

@KhaledSaeed18 KhaledSaeed18 released this 14 Oct 00:12

First release of deck-kit: an offline HTML presentation kit with a synced presenter view, plus Claude Code skills that build a talk from a topic.

deck-kit

Engine

  • Fixed 1920x1080 canvas, keyboard and clicker control, build steps, hash routing
  • Presenter window: live and next slide, per-step script, timer with pace, two-way sync (BroadcastChannel with an opener fallback for file://)
  • Overview, blackout, jump, help, hide chrome, fullscreen, swipe
  • Print to PDF, single-file deck.html, notes PDF, profiles, backup slides
  • Slide lint, plus engine and deck browser test suites that run with the network blocked

Claude Code skills

  • /new-deck, /add-slide, /retheme, /ship-deck

Getting started: click "Use this template", run pnpm install && pnpm dev, then /new-deck.