showboat-demo
Create executable Markdown demos using showboat to prove features work. Use after implementing features or fixing bugs to produce reproducible proof-of-work documents.
What this skill does
# Showboat Demos
## Overview
Showboat is a CLI tool that constructs Markdown documents by capturing real command output. Each `exec` block runs a command, records the output, and appends both to the document. The result is a reproducible demo that proves code works — not just that tests pass.
Install: `go install github.com/simonw/showboat@latest`
## When to Use
- After implementing a new feature or API endpoint
- After fixing a bug that affected observable behavior
- When onboarding documentation needs live examples
- When a PR would benefit from proof-of-work beyond test results
Do NOT use for:
- Internal implementation details (test those with unit tests)
- Workflows requiring complex auth flows that can't be reproduced locally
## Core Workflow
```
init → note → exec → exec → ... → verify
```
1. **init**: Create the document with a title
2. **note**: Add descriptive text explaining what follows
3. **exec**: Run a command and capture its output
4. **verify**: Re-run all commands and confirm outputs match
## Example: API Demo
```bash
# Create the demo document
showboat init demos/users-api.md 'Users API'
# Describe what we're demonstrating
showboat note demos/users-api.md 'Create a user and verify the response'
# Execute and capture API calls
showboat exec demos/users-api.md bash \
'curl -s -X POST http://localhost:3000/users \
-H "Content-Type: application/json" \
-d "{\"name\":\"test\"}" | jq .'
showboat exec demos/users-api.md bash \
'curl -s http://localhost:3000/users | jq .'
# Verify the demo is reproducible
showboat verify demos/users-api.md
```
## Example: CLI Tool Demo
```bash
showboat init demos/my-cli.md 'My CLI Tool'
showboat note demos/my-cli.md 'Show help output'
showboat exec demos/my-cli.md bash 'my-cli --help'
showboat note demos/my-cli.md 'Run a basic command'
showboat exec demos/my-cli.md bash 'my-cli process input.txt'
showboat verify demos/my-cli.md
```
### Naming Convention
Name demo files after the feature: `demos/<feature>.md`
Examples: `demos/users-api.md`, `demos/email-sync.md`, `demos/search.md`
## Error Recovery
If an `exec` captures bad output (wrong response, error, etc.):
```bash
# Remove the last section
showboat pop demos/feature.md
# Fix the issue, then retry
showboat exec demos/feature.md bash 'fixed-command'
```
`pop` removes the most recent entry (note, exec, or image). Call it multiple times to remove multiple entries.
## Verification
`verify` re-runs every `exec` block and compares output to what was recorded:
```bash
showboat verify demos/feature.md
```
- Exit code 0: all outputs match
- Exit code 1: outputs differ (demo is stale or non-reproducible)
Use `--output` to write an updated version without modifying the original:
```bash
showboat verify demos/feature.md --output demos/feature-updated.md
```
## Best Practices
1. **One concept per demo** — a single feature or short workflow, not an entire surface area
2. **Progressive complexity** — start with the simplest call, then show variations
3. **Use jq for formatting** — pipe JSON output through `jq .` for readability
4. **Add -s to curl** — suppress progress bars (`curl -s`)
5. **Narrate with notes** — explain what each exec block demonstrates
6. **Verify before committing** — always run `showboat verify` to confirm reproducibility
7. **Idempotent demos** — prefer read operations or use unique test data so demos can re-run cleanly
Related in Writing & Docs
jax-development
IncludedUse this skill when the user is writing, debugging, profiling, refactoring, reviewing, benchmarking, parallelising, exporting, or explaining JAX code, or when they mention JAX, jax.numpy, jit, grad, value_and_grad, vmap, scan, lax, random keys, pytrees, jax.Array, sharding, Mesh, PartitionSpec, NamedSharding, pmap, shard_map, Pallas, XLA, StableHLO, checkify, profiler, or the JAX repo. It helps turn NumPy or PyTorch-style code into pure functional JAX, fix tracer/control-flow/shape/PRNG bugs, remove recompiles and host-device syncs, choose transforms and sharding strategies, inspect jaxpr/lowering/IR, and benchmark compiled code correctly.
nature-article-writer
IncludedDrafts, rewrites, diagnostically critiques, and style-calibrates primary research manuscripts for Nature and Nature Portfolio journals. Use when the user wants a Nature-style title, summary paragraph or abstract, introduction, results, discussion, methods, figure legends, presubmission enquiry, cover letter, reviewer response, or when a scientific draft sounds generic, jargon-heavy, structurally weak, or AI-ish and needs precise, broad-reader-friendly prose without inventing data, analyses, or references. Best for primary research articles and letters rather than reviews or press releases unless explicitly adapting one.
deckrd
IncludedDocument-driven framework that derives requirements, specifications, implementation plans, and executable tasks from goals through structured AI dialogue. Use when user says "write requirements", "create spec", "plan implementation", "derive tasks", "structure this feature", "break down into tasks", or "document this module". Also use for reverse engineering existing code into docs (/deckrd rev). Do NOT use for direct code writing — use /deckrd-coder after tasks are generated. Do NOT use when the user only wants to run or fix existing code without planning.
clinical-decision-support
IncludedGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis.
handling-sf-data
IncludedSalesforce data operations with 130-point scoring. Use this skill to create, update, delete, bulk import/export, generate test data, and clean up org records using sf CLI and anonymous Apex. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, needs data factory patterns for Apex tests, or needs to seed/clean records in a Salesforce org. DO NOT TRIGGER when: SOQL query writing only (use querying-soql), Apex test execution (use running-apex-tests), or metadata deployment (use deploying-metadata).
accelint-ac-to-playwright
IncludedConvert and validate acceptance criteria for Playwright test automation. Use when user asks to (1) review/evaluate/check if AC are ready for automation, (2) assess if AC can be converted as-is, (3) validate AC quality for Playwright, (4) turn AC into tests, (5) generate tests from acceptance criteria, (6) convert .md bullets or .feature Gherkin files to Playwright specs, (7) create test automation from requirements. Handles both bullet-style markdown and Gherkin syntax with JSON test plan generation and validation.