Skip to content
Back to skills

Cracktro

ASecurity

Edit, preview, and verify the standalone interactive talk deck in docs/public/cracktro (slides, SVG diagrams, transitions, WebAudio sound).

  • 5,758 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added November 15, 2026
ai-agentspythonrustgobashnodegitapisecurityperformance

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add githubnext/gh-aw --skill cracktro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cracktro?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cracktro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/githubnext-cracktro/badge)](https://www.skillsdirectory.com/skills/githubnext-cracktro)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cracktro
description: Edit, preview, and verify the standalone interactive talk deck in docs/public/cracktro (slides, SVG diagrams, transitions, WebAudio sound).
---

# Cracktro talk deck

Use Claude Opus 5.5 (`claude-opus-5.5`) for deck work, including subagents.

Published at `https://github.github.com/gh-aw/cracktro/`: a dependency-free deck of horizontal bands, separate from the homepage slideshow.

## Agent navigation and maintenance (mandatory)

- Find slides in `slides.md` by Id; link them as `#<id>` (stable; never `#N`, the layout is two-dimensional). Read the Summary before opening `deck.js`.
- When you add, remove, move, rename a slide or change its message, update its `slides.md` section (Summary, Keywords and Captions) in the same change. Summaries are public, durable takeaways without aging counts or dates; band headers start `Band header (<band>):`. Keywords are required, comma-separated, accurate search terms (synonyms, acronyms, option and pattern names); JSON-LD publishes them and the deck's `/` search matches them.
- Never copy slide lists, numbers or summaries elsewhere (`index.html` included): the docs build and dev server inject every row into JSON-LD `hasPart`; an invalid row fails the build.
- For speaker notes, load `../cracktro-speaker-notes/SKILL.md` (concise, research-informed What/Why/When cues for technical newcomers; keep evidence caveats).
- Before public content, read `content-rules.md` and People and mascots; verify via Preview loop and Tests; publish per Pull requests (slide screenshots).

## Files

- `docs/public/cracktro/index.html`: loads `ops-visuals.js`, `runtime.js`, `deck.js` (classic scripts; `file://` works); holds SEO/Open Graph/Twitter meta (absolute published-deck URLs).
- `docs/public/cracktro/og-image.png`: 1200x630 title-slide social card, UI hidden; keep it outside `assets/` (avatars only).
- `docs/public/cracktro/runtime.js`: talk-agnostic `window.CracktroDeck` runtime (stage, chrome, band headers, navigation, search, map, background). Keep talk content out.
- `docs/public/cracktro/deck.js`: about 950 KB: deck CSS, slides, prompts, themes, bands, synth. **Never read it whole.** `grep -n` `// ---------- <section> ----------` and `// <Slide title>` markers, then `view_range`.
- `docs/public/cracktro/assets/avatars/{mona,ducky}.jpg` and `mona-full.png` (full-body Mona): the only assets a test allows. Diagrams are inline SVG in `deck.js`.
- `.github/skills/cracktro/slides.md`: ordered slides: Heading, Notes (`illustrative` or empty), Summary, Keywords, Captions; band headers included.

Optional tail: `## More files` (fonts, tests, parser, README), `## Layout` (`deck.js` markers, helpers, `create` options), `## Slide object` (fields, hooks; test-enforced `experimental` labels).

## Reference files (load only what the task needs)

| File | Load when |
|---|---|
| `mechanics.md` | Changing bands, slide order, `group`, navigation, transitions, backgrounds, audio or SVG flows (`EDGES`/`SEQ`/`LANE`). |
| `content-rules.md` | Adding public text, data, avatars or images; per-slide Exception bullets for measured data. |
| `workflow-prompts.md` | Adding or refreshing a slide's `/agentic-workflows` prompt (`PROMPTS`, phone dialog); prompt mining and PR/task/session references. |
| `data-refresh.md` | Adding, changing or refreshing a data slide; refresh mini-skills and the slide→`refresh/<slug>.md` index. |
| `brand.md` | Any colour, gradient, glow, title or font change; brand/Primer palette, semantic hues, regularization pass. |
| `concept-style.md` | Adding or restyling a concept slide like The factory mindset or Trust the process (light header-less row, problem/answer statements, one live metaphor, horizontal split motion). |
| `guide-style.md` | Adding or restyling a guide slide like the `/agentic-workflows` router, authoring loop or persona optimization (column under Turn Intent to Workflows, title block, one looping board, blue accent). |
| `asset-generator.md` | Setting up or using the `asset-generator` MCP (og/social cards, wallpapers, charts, `create_slide_deck`); where outputs may live. |
| `../cracktro-voice/SKILL.md` | Changing Captions or voices; rebuild the voice track. |
| `perf.md` | Changing `runtime.js` rendering or adding slide animations, timers, `tick` work or runtime DOM; run the performance guard before and after. |

## People and mascots

- Never use a real GitHub user's avatar, handle or name for a person in slides, notes or comments; never fetch `github.com/<login>.png`.
- People are only the fake users (GitHub mascots) `mona` (maintainer) and `ducky` (external community contributor), from `assets/avatars/`. A `Developer` is either: mix them across slides; use both for two developers.
- Follow https://brand.github.com/graphic-elements/mascots: mascots sparingly, never as logos or on serious topics (security, enterprise, money); use role icons there.
- Never generate or redraw mascots. Avatars are 160x160 clips of brand.github.com 3D art (`mona.jpg`: dark-mode purple Mona, `mona-2026-versions.png`; `ducky.jpg`: middle Ducky, `mascots-03.png`), background `#0d1117`, never white.

Core rules (`content-rules.md`): everything is public; no real people; no 40-hex SHAs or private repos; the only URLs are `https://github.github.com/gh-aw/introduction/overview/`, the For PMs source link `https://github.com/chrizbo/agentics-beyond-code` and the repo-widget star endpoint `https://api.github.com/repositories/` (https pages only); speaker notes of illustrative slides must match `/illustrative|synthetic|simulated/i`.

Brand (`brand.md`): neutral canvas and text with one accent hue per slide; titles solid `#f0f6fc` or a single-hue gradient, never rainbow; Mona Sans at `"wdth" 100`, Monaspace for code and labels.

Colour accessibility: never use red/green alone for opposing states (pass/fail, allowed/blocked): colour-blind viewers confuse them. Use blue (`#4493f8`/`#79c0ff`) vs orange (`#db6d28`/`#ffa657`) and add a non-colour cue (label, icon, dash or strike).

## Preview loop

No build step (no injected JSON-LD). Serve, then open in the browser canvas:

```bash
python3 -m http.server 4329 --bind 127.0.0.1 --directory docs/public   # run async + detached
# open http://127.0.0.1:4329/cracktro/#security   (#<id> = slides.md Id)
```

After each edit:

1. `node --check` each edited `docs/public/cracktro/*.js`.
2. `location.reload()`, wait, screenshot.
3. Jump: click `[aria-label="Slide N"]` or set the hash.
4. Keys: dispatch on `window`: `dispatchEvent(new KeyboardEvent('keydown',{key:'ArrowRight',metaKey:true}))` (or `altKey:true`) changes slide; `key:'ArrowRight'` or `key:' '` (Space) runs in-slide steps.
5. Transitions: read `getComputedStyle(el).transform` ~200 ms after a move.

Screenshots are always 16:9; never capture the whole page (the canvas panel has any shape, fixed size). Capture the stage: `screenshot_page` with `selector: ".stage"` and `scroll_into_view_if_needed: false` (scaled 1920x1080 frame, no chrome). Check chrome (buttons, dots, minimap) in a separate full-page capture.

## Tests

Run from `docs/` after `npm ci`: `npx playwright test tests/talk.spec.ts`. The config builds and previews (`npm run build && npm run preview`, `localhost:4321`, `/gh-aw/cracktro/`, Chromium `/usr/bin/chromium-browser`) and covers built JSON-LD; under `npm run dev`, check `curl -s localhost:4321/gh-aw/cracktro/ | grep hasPart`. If `node_modules` is missing, report the tests as not run. The slide performance guard (`perf.md`) needs only Node and Chrome.

## Pull requests

A PR that adds or changes a slide must show it: upload a 16:9 `.stage` capture (Preview loop) of each changed slide, at the step carrying its message (often the last), into the PR description so it renders inline. Never commit screenshots. If you cannot upload images, say so there and ask the author to attach one.

<!-- instruction-prefix-end -->

## More files

- `docs/public/cracktro/fonts/`: Monaspace Neon plus its OFL licence. Mona Sans comes from `docs/public/fonts/`.
- `docs/public/cracktro/wizard.js`: `window.CracktroWizard`, a choose-your-own-adventure dialog replaying githubnext/gh-aw-wizard (W, dock button via `create({ wizard })`), loaded with `wizard-data.js` before `deck.js`. `wizard-data.js` is generated by `refresh/wizard.mjs` (`refresh/wizard.md`); never edit it by hand.
- `cracktro/captions.js`: kiosk closed captions (C), also read aloud by the voice (V: the recorded per-slide track in `cracktro/voice/`, else browser `speechSynthesis`; button disabled where unsupported), generated by the docs build and dev server (`docs/src/lib/cracktro/`) from the `slides.md` Captions fields; not in `docs/public/`.
- `docs/public/cracktro/voice/`: generated kiosk voice track (`<id>.webm` per slide, `index.js` caption-hash table); maintain with `../cracktro-voice/SKILL.md`, never by hand.
- `docs/tests/talk.spec.ts`: Playwright tests of the deck, runtime, parser and built JSON-LD against `slides.md`.
- `docs/src/lib/cracktro/`: `slides.js` parses `slides.md` and renders JSON-LD; `integration.js` (Astro) applies it.
- `docs/README.md` "Interactive talk": user-facing description (keys, public-content rules).

## Layout (search for these markers)

| Marker | Contents |
|---|---|
| `---------- styles ----------` | Deck CSS string. Slide classes use prefixes (`atk-`, `mra-`, `eph-`, `bh-` band headers, ...); check a new prefix is unused. |
| `---------- helpers ----------` | From the runtime: `h(tag, attrs, ...kids)` DOM; `letters(text, cls)` per-letter headings (`l-grad`, `l-out`); `resetIndex()`. |
| `---------- slides ----------` | One `{ ... slides.push({...}) }` block per slide after a `// Title: summary` comment. |
| `const OCTI` | Octicon paths for `ico(name,x,y,size,fill)`. |
| `---------- sound:` | WebAudio synth `sfx` (methods in `mechanics.md`); `MUSIC` themes; `slide(dir, music, shift)` transposes `shift` semitones. |
| `---------- band themes ----------` | `THEME` per band (see `mechanics.md`). |
| `---------- start ----------` | `CracktroDeck.create({ width, height, css, slides, themes, bands, solo, prototypes, last, sound, tours })`; `TOURS` above it holds the hard-coded tours (`mechanics.md`); `slides` may be a factory of `{ h, letters, resetIndex, sound, current }`. |
| runtime.js `create`, `navigation`, `search`, `slide map`, `animated background` | Rows, headers, chrome; `go()`, keys, dots, notes, hash; `fz-` search; map; `THEME` canvas grid. |

The stage is a fixed 1920x1080 frame (`W`/`H`) scaled to the window.

## Slide object

```js
slides.push({
  notes: "...",           // public What/Why/When cues; toolbar button or N
  group: "security",      // band id; picks the THEME; crossing groups slides up
  experimental: "lsp",    // optional .xbadge; label only from the feature's `cracktro` entry in pkg/workflow/data/experimental_features.json (test-enforced)
  key: "improvers",      // optional; pattern slide heading a column of examples
  under: "improvers",    // optional; hangs below the same-group slide with that key (mechanics.md)
  techno: 1,              // optional techno layer level
  el: h("section", { class: "slide" }, ...),
  enter(dir) {},          // reset per-slide state; dir = 1 forward, -1 back
  tick(t) {},             // called every frame, ONLY for the current slide
  onNext() {}, onPrev() {}, onKey(e) {}, // return true to consume (in-slide steps; ←/→/Space/Enter/Backspace, never ⌘/Alt+←/→)
});
```

Files in this skill

  • SKILL.md7.3 KB
  • content-rules.md11.1 KB
  • data-refresh.md3.1 KB
  • mechanics.md5.2 KB
  • refresh/daily-unsloppers.md7.1 KB
  • refresh/daily-unsloppers.mjs3.4 KB
  • refresh/docs-that-heal.md8.4 KB
  • refresh/docs-that-heal.mjs4.5 KB
  • refresh/explore-reuse-lint.md8.2 KB
  • refresh/explore-reuse-lint.mjs3.9 KB
  • refresh/human-agent-processes.md7.6 KB
  • refresh/human-agent-processes.mjs3.5 KB
  • refresh/merge-fast-unslop-daily.md8.1 KB
  • refresh/merge-fast-unslop-daily.sh3.2 KB
  • refresh/pr-review-squared.md7.7 KB
  • refresh/pr-review-squared.mjs4.9 KB
  • refresh/research-assign-observe.md8 KB
  • refresh/research-assign-observe.sh3.7 KB
  • refresh/scan-fix-learn.md6.6 KB
  • refresh/scan-fix-learn.sh2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.