Skip to content

docs: demo gifs, a stats section, and CONTRIBUTING.md - #12

Merged
jwarykowski merged 3 commits into
masterfrom
docs/demo-gif
Jul 29, 2026
Merged

docs: demo gifs, a stats section, and CONTRIBUTING.md#12
jwarykowski merged 3 commits into
masterfrom
docs/demo-gif

Conversation

@jwarykowski

@jwarykowski jwarykowski commented Jul 29, 2026

Copy link
Copy Markdown
Owner

The README described the commands but never showed them, and carried its development detail inline.

gifs

Both scripted with vhs rather than screen-captured, so they can be regenerated whenever the commands, the picker or the statusline change:

  • assets/demo.gif (1320x800, ~45s, 616K) — above ## requirements
  • assets/stats.gif (1500x1160, ~11s, 164K) — in a new ## stats section
vhs assets/demo.tape
vhs assets/stats.tape

Demo shot list: the statusline count · :ShepherdCapture on a -- TODO: comment, prompt pre-filled with the marker stripped · :ShepherdListedit with its pre-filled quick-add line · :ShepherdListdone, count drops · :Shepherd opening the board in the floating terminal with the captured item in it.

The recording runs with mouse empty, so it is keyboard-driven throughout.

CONTRIBUTING.md

Takes the development detail out of the README: the module layout (init.lua / board.lua / health.lua, all of it over the CLI — the plugin never parses a board file), what the specs cover and why logic belongs in pure helpers on _internal, the stylua/luacheck conventions, and how to re-record the gifs. The README's ## development is now the four make targets plus a pointer.

It also records the trap I hit while testing: named boards live under $XDG_CONFIG_HOME/shepherd/boards/, not wherever $SHEPHERD_TODO_FILE points, so a scratch tree for board commands needs XDG_CONFIG_HOME set too.

The README described the commands but never showed them. assets/demo.tape
records nvim driving the plugin with vhs: the statusline count, :ShepherdCapture
turning a TODO comment into an item, :ShepherdList picking one and editing it
with a pre-filled quick-add line, then ticking it off, and :Shepherd opening the
whole board in the floating terminal.

assets/demo-init.lua loads only this checkout — no plugin manager, no other
plugins — and assets/demo-seed.sh seeds a throwaway board under mktemp -d with
dates relative to the recording day, so nothing touches a real board and the
board still looks lived-in when the gif is re-recorded.
CONTRIBUTING.md takes the development detail out of the README: the module
layout, what the specs cover and why the logic sits in pure helpers, the stylua
and luacheck conventions, and how to re-record the gifs. The README's
development section is now the four make targets plus a pointer.

assets/stats.tape records :ShepherdStats — the charts need a taller window and
a smaller font than the board, since the output is 56 rows and the float only
gets 85% of them — and the README gains a stats section for it.

The demo gif moves above requirements, and the recording turns the mouse off so
navigation is keyboard-only.
@jwarykowski jwarykowski changed the title docs: add a scripted demo gif to the README docs: demo gifs, a stats section, and CONTRIBUTING.md Jul 29, 2026
@jwarykowski
jwarykowski merged commit 3767d1d into master Jul 29, 2026
3 checks passed
@jwarykowski
jwarykowski deleted the docs/demo-gif branch July 29, 2026 23:49
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.

1 participant