Look Before You Prompt, and After: Scaffolding Human-AI Collaboration in Software Tutorial Creation
Abstract
With LLMs, creating software tutorials now involves steering the model's output and shaping it into a coherent, accurate learning resource, yet existing LLM tools offer writers little support for this work. By analyzing interviews with technical writers (), we identify three requirements for how they assemble and structure multiple LLM responses, curate the context the model uses, and verify the generated content. We designed a tool called dBlocks with the following features: blocks to scope content, a context manager to edit context, and inline execution to verify code. Following a human-centered design method, we iteratively refined the design through a user study (). In a within-subjects lab study () comparing dBlocks with participants' preferred workflows for LLM-assisted authoring, participants reported significantly higher confidence in the tutorials they produced with dBlocks. In addition, the tool reduced friction in verification, with writers verifying code as they drafted rather than deferring or skipping it, and helped them avoid searching long chat histories by scoping their work into blocks that kept each tutorial section and its LLM conversation together. More broadly, our work offers implications for tools that scaffold human-AI collaboration in SE workflows and shows how human-centered design can guide the development of LLM-integrated tools.
Create a lesson
Metadata
- Categories
- cs.SE, cs.HC
- Comments
- 27 pages, 8 figures, 5 tables. Under Review at TOSEM Special Issue on Human AI Collaboration in Software Engineering
Related papers
An Autonomy Aware Metamodel for Human AI Collaboration in Software Engineering
Shared title terminologycs.SEMd Mahade Hasan, Md Toufique Hasan, Zheying Zhang et al.
Comparing Humans and LLMs in Software Engineering Research
Shared title terminologycs.SEMarc Herrmann, Tolga Çakır, Michael Mircea et al.
Software Engineering After Human Comprehension? Review the Checks Instead of Code
Shared title terminologycs.SEChristoph Treude
From Software Factory to Solution Factory: Bounded, Human-Gated Recursive Self-Improvement of an LLM Agent Pipeline Across Projects
Shared title terminologycs.SEQiyu Zhang
Interactive Prompting Assistant: Just-in-Time Requirement Clarification for Agentic Software Development
Shared title terminologycs.SECuong Chi Le, Minh Le-Anh, Long Vu et al.
DevEx is for Humans, AX is for Agents: Measuring Context Health in Agentic Software Work
Shared title terminologycs.SEGratiana Fu, Josh Beitler, Brian Houck