.agents/skills/reveal-js-debugging/SKILL.md
Use this skill when building or debugging Reveal.js decks, especially when slides appear blank, off-screen, or behave incorrectly because of CSS/layout conflicts.
npx skillsauth add spqw/skills-reveal-js reveal-js-debuggingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when working on a Reveal.js deck and any of the following happens:
For browser inspection and live page debugging, also load:
../chrome-devtools-cli/SKILL.mdUse the Chrome DevTools CLI via bash to inspect the current deck in the browser.
section elementsReveal.js controls slide layout using its own positioning rules on slide sections. A broad rule like this can break nested or vertical slides:
.reveal .slides section {
position: relative;
}
This can cause active slides to render off-screen while still existing in the DOM and accessibility tree.
Prefer styling an inner wrapper instead, for example:
.theme-shell {
position: relative;
height: 100%;
}
Rule of thumb:
.reveal .slides section.theme-shell or .slide-frameA Reveal.js slide can:
So use both:
take_snapshot to confirm semantic presencetake_screenshot to confirm actual renderingIf a slide is blank, inspect:
.slides section.present.slides > section.present.slides > section > section.presentCheck:
getBoundingClientRect()positiontop / leftdisplaytransformA strong clue is: the slide is present, but its rect has a large y value outside the viewport.
chrome-devtools list_pages
chrome-devtools select_page <pageId>
chrome-devtools take_snapshot
Use Reveal controls or keyboard:
chrome-devtools press_key "ArrowRight" --includeSnapshot true
chrome-devtools press_key "ArrowDown" --includeSnapshot true
chrome-devtools take_snapshot
chrome-devtools take_screenshot --fullPage true --filePath "/tmp/reveal-debug.png"
If the snapshot shows content but the screenshot is blank, suspect CSS/layout rather than data/content loading.
chrome-devtools evaluate_script '() => ({
present: Array.from(document.querySelectorAll(".slides section.present")).map(el => {
const r = el.getBoundingClientRect();
const s = getComputedStyle(el);
return {
cls: el.className,
text: (el.innerText || "").slice(0, 120),
rect: { x: r.x, y: r.y, w: r.width, h: r.height },
position: s.position,
top: s.top,
left: s.left,
display: s.display,
transform: s.transform,
opacity: s.opacity,
visibility: s.visibility
};
})
})'
Look for broad selectors affecting Reveal internals, especially:
.reveal .slides section.reveal sectionsection.stack.presentCommon dangerous properties:
positiondisplaytransformoverflowheightmin-heighttop / leftUse Reveal-managed sections for slide structure and your own wrapper for layout:
<section class="theme-shell">
<div class="slide-frame">
<h2>Title</h2>
</div>
</section>
.reveal .slides section {
box-sizing: border-box;
}
.theme-shell {
position: relative;
height: 100%;
}
If Reveal.js looks broken:
getBoundingClientRect()section rulesdevelopment
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.