arXiv:2609.05563cs.SESep 2026

Manuscript Offprint

arXiv:2609.05563

Look Before You Prompt, and After: Scaffolding Human-AI Collaboration in Software Tutorial Creation

Avinash Bhat, Vy Bui, Jin L. C. Guo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

AVINASH BHAT, McGill University, Canada

VY BUI, McGill University, Canada

JIN L.C. GUO, McGill University, Canada

Figure

Fig. 1. Overview of dBlocks. The main interface contains a content editor and chat panel on the left, with a block list on the right. Three key features are highlighted: (a) users verify generated code by executing it inline and viewing output directly in the editor; (b) users curate the LLM context by selecting which elements to include through the context manager; (c) users organize tutorials into blocks, each with its own workspace and LLM chat history.

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 (N = 17), we identify three requirements for how they assemble and structure multiple LLM responses, curate the context the model uses,

Authors' Contact Information: Avinash Bhat, avinash.bhat@mail.mcgill.ca, McGill University, Montreal, Canada; Vy Bui, vy.bui@mail.mcgill.ca, McGill University, Montreal, Canada; Jin L.C. Guo, jguo@cs.mcgill.ca, McGill University, Montreal, Canada.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

and verify the generated content. We designed dBlocks with 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 (N = 5). In a within-subjects lab study (N = 16) comparing dBlocks with participants' preferred workflows for LLM-assisted authoring, participants reported significantly higher confidence in the tutorials they produced with dBlocks. In addition, dBlocks 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.

Additional Key Words and Phrases: software tutorial authoring, intelligent writing assistants, verifying LLM-generated content, user-centered design, writing interfaces, managing LLM context

ACM Reference Format:

Avinash Bhat, Vy Bui, and Jin L.C. Guo. 2026. Look Before You Prompt, and After: Scaffolding Human-AI Collaboration in Software Tutorial Creation. In Proceedings of Make sure to enter the correct conference title from your rights confirmation email (Conference acronym 'XX). ACM, New York, NY, USA, 27 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn

References (35)