aicr-creating-guided-demos
Skill432 starsChanged 4 months agoApache-2.0View on GitHub
Scaffolds an interactive guided demo script (demos/*.sh), live or self-paced, with the Frame → Tell → Show → Close pattern. Triggers on "demo script", "guided walkthrough", "demos/*.sh", "live demo".
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- aicr-analyzing-snapshotsSkill
- aicr-auditing-docsSkill
- aicr-creating-slide-decksSkill
- aicr-cross-reviewSkill
- aicr-managing-openvexSkill
- aicr-release-notesSkill
- aicr-reviewing-component-driftSkill
- aicr-triageSkill
- aicr-uat-reportSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Show real output: Never >/dev/null, never fabricate.
- Distinctive: line 38
Don't fake success: Never weaken a gate/threshold to force green — an honest failure is a valid beat.
- Distinctive: line 40
Commit-ready by default: No home paths, kubeconfig paths, or private refs.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Creating Guided Demos
Overview
A guided demo is a narrative, not a command dump — and it serves two readers equally: a presenter driving it live for a room, and a lone user stepping through it to learn or reproduce the flow. Either way, at every step they know why they're here, what's about to happen, and what just happened.
Four beats: Frame → Tell → Show → Close. The script is the guide — it paces itself, explains each step, and streams the real tool output so what's watched is the actual thing working.
When to use
- Building a
demos/*.shto present a CLI/workflow live or to let a user self-walk it (onboarding, learning, reproducing a result). - Turning a bare sequence of commands into a self-paced, narrated walkthrough.
- Not for: non-interactive CI scripts, one-off scratch scripts, or pure reference docs.
The four beats
- Frame — the why, for whoever's following (a room, or one reader). One or two sentences: what's missing/broken and why it matters. No commands.
- Tell — name the steps before running them, so they have a map. Flag what's slow, what needs the network/VPN, what to watch for.
- Show — run the real commands one at a time, pausing before each, streaming their full output. Pre-stage the slow/fragile parts; keep a fallback for anything that can fail.
- Close — one line on what just happened, plus pointers: docs/ADR, related demos, the source of truth.
Mechanics
Copy skeleton.sh. It gives you:
banner/note/pause/runhelpers — numbered sections, dim explanations, an Enter-gated pause per step, and arunthat echoes then streams output verbatim. Plus an optionalrun_expect_failfor steps where a non-zero exit is the expected result (uses|| rc=$?soset -euo pipefaildoesn't abort).- One env config block at the top — every input is an env var; required ones fail fast (validate producer-only inputs inside the producer branch so the skip flag still works), the rest default. Each runner overrides only what differs.
- Re-runnability —
DEMO_NO_PAUSE=1runs unattended; a skip flag (e.g.SKIP_SETUP=1) reuses pre-staged state. Skip contract: guard the producer, assert the artifact exists (fail loudly), then run the fast steps either way.
Rules
- Show real output. Never
>/dev/null, never fabricate. Watching the real tool is the point. - Don't fake success. Never weaken a gate/threshold to force green — an honest failure is a valid beat.
- Respect time. Anything multi-minute (deploys, benchmarks, sign-in) is pre-staged; live steps are seconds.
- Commit-ready by default. No home paths, kubeconfig paths, or private refs; generic defaults. (A throwaway personal demo can relax this.)
Worked example
demos/evidence-demo.sh — the split-leg recipe-evidence walkthrough: Frame (the reachability gap) → Tell (validate → publish → verify) → Show (each leg, streamed, pre-staged with fallbacks) → Close (ADR-007 + related demos). Reads the same whether presented live or run solo.
Common mistakes
- Command dump, no Frame/Close → the runner never learns why, or what they saw.
- Slow producer step run live → blows the time budget; pre-stage it and add a skip flag.
- Hardcoded paths/criteria → not reusable; use env vars and fail fast on required ones.
- Faked/suppressed output or a weakened gate → destroys the trust the demo exists to build.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

