ai-slide-templates
Skill4 starsChanged 4 months agoApache-2.0View on GitHub
Use the Cogine AI ai-slide-templates repository to help users create polished slide decks from real content. Trigger when the user asks to make slides, a PPT, a presentation deck, an HTML deck, choose a presentation template, use Cogine AI slide templates, or install/use the ai-slide-templates workflow in Codex, OpenClaw, or another agent.
- Installs packages
We split this skill into the rules it gives an agent
33 rules. About 0 are common, 23 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈23
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill to turn a user's real material into a finished, browser-openable HTML slide deck using Cogine AI's ai-slide-templates …
- Distinctive: line 16
Always prefer the repository's current AGENTS.md over memory or this skill if they disagree.
- Distinctive: line 21
Read AGENTS.md in that repository.
- Very specific: line 22
Use INPUT_GUIDE.md when the user's source material is incomplete, long-form, or scattered.
- Very specific: line 23
Read template metadata from templates/*/template.json.
- Distinctive: line 30
If the agent cannot run shell or browser tools, give the user exact commands and file steps instead of claiming the deck was built.
- Very specific: line 34
If the current workspace already contains AGENTS.md, README.md, and templates/*/template.json from ai-slide-templates, use that checkout.
- Distinctive: line 49
When the user needs help preparing the brief or the input is a long article, script, transcript, memo, report, or scattered notes, also …
- Distinctive: line 55
Do not rely on a central template index.
- Very specific: line 63
Use template.json as the matching surface.
- Distinctive: line 80
If the user already picked a template or named a clear style, do not force options.
- Distinctive: line 82
If the user has not picked a visual direction, recommend the strongest fit.
- Distinctive: line 84
When the source material is longer than the requested slide count, repetitive, or not already organized per slide, synthesize a slide …
- Very specific: line 86
Use content_limits to judge whether a template can carry the user's amount of text, bullets, cards, or slide count.
- Very specific: line 88
Use layout_slots, when present, to map the user's content into named fillable regions before editing HTML.
- Distinctive: line 90
Ask clarifying questions only when the answer changes the template or deck structure.
- Distinctive: line 94
After choosing a template:
- Very specific: line 97
Keep the folder's template.html and template.json together.
- Very specific: line 98
Read layout_slots for the chosen layouts, when available.
- Very specific: line 99
Check content_limits, when available, and split overlong content across additional slides.
- Distinctive: line 102
If the user needs fewer slides, remove unneeded slides and update any visible counters.
- Distinctive: line 103
If the user needs more slides, duplicate the closest matching layout and replace the content.
- Distinctive: line 104
If a needed layout is missing, add a new slide that follows the same design system.
- Distinctive: line 115
Do not recolor, substitute fonts, strip decoration, merge multiple templates, or redesign the deck unless the user explicitly asks for …
- Distinctive: line 119
Use previews when the user is unsure about visual taste, asks to compare options, or the presentation is high-stakes.
- Distinctive: line 121
Use the repository preview tooling:
- Distinctive: line 129
When the user needs screenshot comparison artifacts, render screenshots:
- Distinctive: line 135
If screenshot dependencies are missing, run:
- Distinctive: line 144
After the user chooses a direction, build the full deck from that template only.
- Distinctive: line 156
If the repository's optional visual validator is available and the environment has a compatible browser, use it for higher confidence:
- Distinctive: line 168
If validation logic changed, also run:
- Distinctive: line 176
Keep the response focused:
- Distinctive: line 182
Do not narrate every implementation step unless the user asked for a walkthrough.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI Slide Templates
Use this skill to turn a user's real material into a finished, browser-openable HTML slide deck using Cogine AI's ai-slide-templates repository.
The repository is the source of truth:
https://github.com/cogine-ai/ai-slide-templatesAlways prefer the repository's current AGENTS.md over memory or this skill if they disagree.
Core Workflow
- Locate or clone the template repository.
- Read
AGENTS.mdin that repository. - Use
INPUT_GUIDE.mdwhen the user's source material is incomplete, long-form, or scattered. - Read template metadata from
templates/*/template.json. - Select the best template for the user's content and audience.
- Clone the chosen template folder into the user's output workspace.
- Replace demo content in
template.htmlwith the user's real content. - Open the finished HTML deck in a browser and verify basic rendering.
- Return the absolute path to the finished
template.html.
If the agent cannot run shell or browser tools, give the user exact commands and file steps instead of claiming the deck was built.
Repository Setup
If the current workspace already contains AGENTS.md, README.md, and templates/*/template.json from ai-slide-templates, use that checkout.
Otherwise guide the user to clone it:
git clone https://github.com/cogine-ai/ai-slide-templates.git
cd ai-slide-templatesThen read:
cat AGENTS.mdWhen the user needs help preparing the brief or the input is a long article, script, transcript, memo, report, or scattered notes, also read:
cat INPUT_GUIDE.mdDo not rely on a central template index. Scan per-template metadata:
find templates -maxdepth 2 -name template.jsonTemplate Selection
Use template.json as the matching surface. Compare the user's brief against:
moodtoneoccasionformalitydensityschemebest_foravoid_forcontent_limitslayoutslayout_slotsslide_count
Templates have tones, not fixed industries. Reuse a template across domains when its mood, content density, and audience fit the user's need.
If the user already picked a template or named a clear style, do not force options. Use that template unless it clearly conflicts with the content.
If the user has not picked a visual direction, recommend the strongest fit. When multiple directions are plausible, show a short list of two to four choices with one-line reasons.
When the source material is longer than the requested slide count, repetitive, or not already organized per slide, synthesize a slide outline before choosing or building the final deck. The outline should include slide titles, key messages, rough visual direction, and any blocking questions.
Use content_limits to judge whether a template can carry the user's amount of text, bullets, cards, or slide count. If content exceeds the limits, split it across more slides instead of shrinking fonts, removing whitespace, or overfilling a layout.
Use layout_slots, when present, to map the user's content into named fillable regions before editing HTML.
Ask clarifying questions only when the answer changes the template or deck structure. Good questions are about audience, occasion, desired tone, content density, and light/dark preference.
Deck Assembly
After choosing a template:
- Copy the full
templates/<slug>/folder to the output location. - Keep the folder's
template.htmlandtemplate.jsontogether. - Read
layout_slotsfor the chosen layouts, when available. - Check
content_limits, when available, and split overlong content across additional slides. - Edit
template.htmlslide by slide. - Replace all placeholder titles, body copy, bullets, captions, quotes, names, dates, numbers, charts, stats, tables, and image placeholders.
- If the user needs fewer slides, remove unneeded slides and update any visible counters.
- If the user needs more slides, duplicate the closest matching layout and replace the content.
- If a needed layout is missing, add a new slide that follows the same design system.
Preserve the template's visual identity:
- Fonts and imported font families
- Color palette and CSS variables
- Layout grid, spacing, and major positioning rules
- Slide classes and component structures
- Decorative vocabulary, borders, ornaments, textures, illustrations, and icon style
- Navigation behavior, keyboard handlers, progress bars, and counters
Do not recolor, substitute fonts, strip decoration, merge multiple templates, or redesign the deck unless the user explicitly asks for template maintenance work.
Preview Mode
Use previews when the user is unsure about visual taste, asks to compare options, or the presentation is high-stakes.
Use the repository preview tooling:
node scripts/preview.mjs --title "<deck title>" --subtitle "<short context>" <slug...>This writes standalone first-slide previews to previews/<slug>-preview.html.
When the user needs screenshot comparison artifacts, render screenshots:
node scripts/screenshot.mjs previews/<slug>-preview.htmlIf screenshot dependencies are missing, run:
npm install
npx playwright install chromiumOpen the generated preview HTML files or screenshots in the browser and send the absolute paths.
After the user chooses a direction, build the full deck from that template only.
Verification
For final decks, open the generated template.html in a browser and check:
- The deck renders without a blank page.
- Navigation works if the template declares navigation.
- Content does not obviously overflow or collide.
- Counters, progress bars, and copied slides still make sense.
- The deck uses the chosen template's visual system.
If the repository's optional visual validator is available and the environment has a compatible browser, use it for higher confidence:
node scripts/validate-visual.mjsFor repository maintenance, run:
node scripts/validate.mjsIf validation logic changed, also run:
node scripts/validate.test.mjsFinal Response
Keep the response focused:
- State the chosen template and why it matched the user's requested tone.
- Provide the absolute path to the finished
template.html. - Mention important caveats, such as custom layouts or missing browser verification.
Do not narrate every implementation step unless the user asked for a walkthrough.
Other versions1 project uses a version of this.
Word for word · 1
- cogine-ai/ai-slide-templates★ 11100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository38 other files it gives its agents.
- skills/supabase-postgres-best-practices/AGENTS.mdAGENTS.md
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- skills/supabase-postgres-best-practices/CLAUDE.mdCLAUDE.md
- ai-app-security-auditSkill
- backlog-ready-specSkill
- check-compiler-errorsSkill
- clawpackerSkill
- deslopSkill
- devex-reviewSkill
- fix-ciSkill
- fix-merge-conflictsSkill
- founder-office-hoursSkill
- get-cookiesSkill
- get-pr-commentsSkill
- gh-issue-priority-handoffSkill
- image2-with-codexSkill
- investigateSkill
- local-ultra-reviewSkill
- loop-on-ciSkill
- loop-on-pr-review-and-fixSkill
- new-branch-and-prSkill
- npm-release-pipelineSkill
- peer-reviewSkill
- plan-devex-reviewSkill
- planmode-ceoSkill
- planmode-engineerSkill
- qa-onlySkill
- review-and-shipSkill
- run-smoke-testsSkill
- security-best-practicesSkill
- site-design-auditSkill
- site-design-fixSkill
- slow-is-fastSkill
- supabase-postgres-best-practicesSkill
- vercel-react-best-practicesSkill
- xianyu-api-client-skillSkill
- xianyu-automation-skillSkill
- xianyu-product-manager-skillSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

