Re-record docs/demo.gif, the animated terminal demo at the top of README.md. Use after a major change that alters what droid-usage prints (report layout, columns, colors, warnings, CLI output or flags), or when the user asks for a new or updated demo GIF.
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
record_demo.py, next to this file, records docs/demo.gif. It types droid-usage --offline, runs the real release binary in a pseudo-terminal, and scrolls through the report. The data comes from tests/golden/home, copied to a temporary HOME, so no personal session data appears in the GIF.
Re-record in the same change as the visual work, and commit the GIF with it.
cargo build --releasepython3 -m venv /tmp/droid-usage-demo
/tmp/droid-usage-demo/bin/pip install pillow pyte/tmp/droid-usage-demo/bin/python .factory/skills/record-demo/record_demo.py \
--font /usr/share/fonts/noto/NotoSansMono-Regular.ttf \
--font-bold /usr/share/fonts/noto/NotoSansMono-Bold.ttf \
--preview-dir /tmp/droid-usage-demo/previewprompt.png, report-top.png, and end.png with the Read tool. Check that:
--cols,docs/demo.gif with the change that caused it. Keep it under about 1 MB (the current one is about 320 KB).--binary (default target/release/droid-usage): the program to run.--args= (default --offline): arguments after the program. Use the = form, because the value starts with --.--fixture (default tests/golden/home): folder copied to the temporary HOME.--out (default docs/demo.gif): output file.--font, --font-bold: must draw box-drawing characters.--cols (default 140): terminal width. Match the widest output line.--window (default 40): rows per frame.--prompt (default ~/droid-usage): label in the fake shell prompt.--timeout (default 60): seconds the program may run before the script stops it.--preview-dir: save the prompt, report-top, and end frames as PNG.┆, so the report's dotted separators vanish. Check the previews for gaps.HOME, PATH, and TERM set. Your shell settings and NO_COLOR do not reach it.MAX_ROWS in record_demo.py if a future report is that long.--fixture at your real home folder, and do not commit the venv or the preview PNGs.dwojtaszek/droid-usage
efe3316
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.