More often than not, I find it easier to understand things visually rather than in prose. Even better is if I can poke at and explore the concept.
Shelley has an output_html tool that's perfect for this. It renders HTML directly in chat and can be encouraged to generate all kinds of lovely explainers. Once I realized I was doing this over and over, I eventually calcified it by prompting Shelley to create a skill:
Make me a "break it down" skill for when I say "break it down" or "show me visually". Build an explainer in
output_htmlinspired by Bret Victor and NYT interactive stories: make it responsive, interactive, intuitive, and simple. Use prose where necessary, and multiple widgets when they make it clearer.
Now when I want to understand how a commit works, I just ask:
Break down commit
a84a223efor me.
And Shelley builds an interactive explainer for how a84a223e buckets parallel tool calls into sequential waves around change_dir:
↑ ↓, or change any cd(...) target (try server followed by relative ui).If the first version isn't quite right, Shelley can patch the underlying HTML file and update the iframe in place (v1, v2, v3) instead of rewriting it from scratch or flooding the chat. Iterating on an explainer takes a sentence or two. And because the artifact is just a self-contained static HTML file, sharing it with someone else is a breeze.
Incantations
A good Shelley skill is just a habit that’s been formalized. Once I know the exact steps I want Shelley to take, I tie them to the short phrase I'm already tempted to type in that moment:
- “break it down”: builds an interactive HTML explainer right in chat so I can poke at a commit or concept instead of reading a wall of text.
- “get it ready”: fetches upstream
main, puts my work on top as a single commit, and kicks off subagents to review the diff for common LLM mistakes and security issues. - “stage the UI”: starts a Shelley preview with live-updatable components and CSS so we can riff on UI ideas without rebuilding the Go binary.
- “daily work log”: reads Shelley's SQLite database and
git logto summarize what I worked on today and update my task list. - “what changed overnight?”: checks new commits on upstream
mainwhile I slept and drops a visual summary into chat.
You don't have to write these yourself, either. Shelley has bash, a browser, file editing, iframes, and subagents to build with. Ask it to create a skill from something you keep doing, or to look through your conversations to identify your habits.
