/dek:dekfrom dek
Builds and fixes slide decks from scripts using the dek build system on Bun. Write script.md, generate HTML slides, lint, and check with screenshots.
Ships in dek. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
dek builds a talk from its script. script.md holds what will be said, in order; each ## heading is one slide, written as one small HTML file, and lint checks everything a rule can measure. This skill is the loop. The installed dek tells you the rest, and it wins whenever the two disagree.
dekc, on Bun@hajimism/dek; the command is dekc. Never bunx dek or npx dek: dek on npm is an unrelated package that would be downloaded and run.bunx dekc; outside one, bunx @hajimism/dek. Not npx, not node.bunx @hajimism/dek init <dir>, then cd <dir>; where dek is already installed, bunx dekc init <dir> does the same.--json: every result command takes it. Branch on ok; an error carries a hint with the next command to run. Never scrape a verdict from the text output. show and theme print text meant to be read, and take --json too.bunx dekc --version and bunx dekc help --agent: every command and flag of the dek installed in this project. This file names few on purpose; use only what that list shows. It is written for dek 0.2.2 or newer; with an older one, follow only that list and AGENTS.md.AGENTS.md. dek rewrites it for the installed version: the conventions lint checks, how to check a slide, and what to do before reporting a deck as done. Follow it as written.bunx dekc theme: the classes, tokens, and layouts this deck's theme defines, and bunx dekc theme <layout> for a layout's markup. Use nothing else.Write or change script.md before any slide: ## is a slide, ### a beat, and paragraphs are what is said. bunx dekc sync writes a skeleton for each new section, and removes the skeletons nobody edited whose section is gone; it never touches a slide you edited. Keep the order and what is said in the script; a slide shows it. bunx dekc ls estimates the talk's length from the script against the duration in its frontmatter.
bunx dekc show <slug>: the slide's section of the script, its files, and the theme rules it uses.slides/<slug>.html, and slides/<slug>.css for what only this slide needs.bunx dekc check <slug> --shot --json: fix every error, then open the shot it names. Read its fill before judging the shot.bunx dekc lint --visual --json, which reports every problem in one run.A hint that sends a fix to theme.css means every slide of the deck shares the problem: fix it in the deck's own theme.css.
bunx dekc lint --visual reports no errors. Warnings do not fail it; read them and decide. A check listed in skipped did not run: say so, with its hint, rather than count it as passed.bunx dekc shot --sheet and judged the deck's balance.The human sees what lint cannot. Let them point at it:
bunx dekc <deck> --port <free port>, or your harness's preview tool if it has one.a, click what they want changed, write a note, and tell you when they are done. They may not know dek: name the keys, not the commands.bunx dekc annotations <deck> --json, and fix every note. Shoot the slide again with bunx dekc shot <slug> and compare it with the note's shot. Tell them in short what you changed.Leave dekc annotations clear to the human. If they marked beats while rehearsing, AGENTS.md says how to read those too.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub hajimism/dek --plugin dek