Skip to content

Add demo GIF and video to the README - #6

Merged
sovikroy merged 1 commit into
mainfrom
claude/sweet-ride-afrlli
Nov 4, 2026
Merged

sovikroy merged 1 commit into
mainfrom
claude/sweet-ride-afrlli

Conversation

@sovikroy

@sovikroy sovikroy commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a 49-second demo to the top of the README that shows what the repo is for. It replays real terminal sessions captured from this repo:

  1. Services working together. catalog-api, orders-api and notifier-worker run as separate processes, connected through Redis. An order is priced by calling catalog-api, then notifier-worker logs the confirmation it sends. An unknown product is rejected with a 422.
  2. CI tests only what a change can break. scripts/ci/affected.py picks messaging plus its 2 dependent services for a library change, only orders-api for a change to that service, and nothing for a README change.
  3. A new service in one command. The new-service scaffold creates inventory-api, then ruff, mypy and pytest pass.

demo

Files

  • docs/demo.gif: 960px wide, 494 KiB. Embedded in the README.
  • docs/demo.mp4: 1280px wide, 420 KiB. Linked from the README, since GitHub doesn't play a video stored in the repo inside the README.
  • docs/demo/player.html: replays the captured output on a fixed timeline. You can also open it in a browser to watch it play.
  • docs/demo/record.mjs: renders the player frame by frame with Playwright and encodes both files with ffmpeg. Regenerate with node docs/demo/record.mjs.

The only edit to the captured output is the line wrapping of the long order command. I re-ran it in that form against the live services and it gives the same result.

Testing

  • Ran every command in the demo for real (services against redis-server, affected.py, and the scaffold followed by ruff, mypy and pytest), and checked frames from the rendered GIF and MP4.
  • pre-commit passes on the changed files, including check-added-large-files with the files staged.
  • CI should run no test jobs, because affected.py ignores docs/* and *.md. Lint still runs.

Generated by Claude Code

A 49s demo replaying real terminal sessions from this repo:
1. catalog-api, orders-api and notifier-worker running against Redis:
   placing an order, the worker sending the confirmation, a 422 for an
   unknown product.
2. scripts/ci/affected.py selecting only the members a change can break.
3. Scaffolding a new service with the new-service skill and passing
   ruff, mypy and pytest.

docs/demo/player.html replays the captured output on a fixed timeline;
docs/demo/record.mjs renders it frame by frame with Playwright and
encodes docs/demo.gif and docs/demo.mp4 with ffmpeg.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SE2PhHbNwAr33LePyqTcyc
@sovikroy
sovikroy merged commit 2cefc56 into main Nov 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants