Ask an AI agent to “make a presentation deck” and you get a different layout on every run. External CDN links break offline, and endless prompt tweaking rarely stops the visual drift. make-slide tackles this by making the agent read a local design guideline file before writing any markup.

Feed the Design Guide to the Agent First

Running initial setup with a single npx command creates a theme guideline file at a designated path. Instead of inventing a layout from scratch, the agent reads this file and builds HTML according to fixed rules. You do not need to describe spacing or typography in prose. Passing the file path is enough, which also cuts token usage.

Input format stays flexible. Give it a one-line topic, a block of rough notes, or a full presentation script, and the agent analyzes the text to propose an outline. Pick a layout option that fits the slide context, such as centered alignment or a split view, approve it, and the agent moves into implementation. Because the output is a single self-contained HTML file, you only need a browser to open it.

Applying the Guideline Pattern Beyond Slides

Put your design team’s rules into the guideline file and the agent follows them directly. Teams can also add custom internal themes and run them as standard templates.

Using a .claude/skills/ directory structure to hand domain knowledge or design principles to an agent as local files turns multi-step work into a single command. Bar charts and metric cards render without external charting libraries, and the lightweight HTML file deploys straight to GitHub Pages.