[KongchangAI]
· 3 min read· 1,553 words

When AI Teaching Assistants Meet Specification-Driven Development: How edu-spec Reshapes the Educational Component Lifecycle

When AI Teaching Assistants Meet Specification-Driven Development: How edu-spec Reshapes the Educational Component Lifecycle

The paper proposes edu-spec, mapping specification-driven development onto the educational component lifecycle to instill pedagogical discipline in teacher AI agents.

The article introduces research that transfers specification-driven development (SDD) from software engineering to education. Addressing the problem that general-purpose AI agents do not understand a course's normative context and treat "generating a file" as "completing the work," the paper proposes edu-spec: mapping user stories, functional requirements, and acceptance criteria into educational requirements, implementation requirements, and consistency criteria; using semester-sensitive educational component profiles as mandatory context; and splitting skills into infrastructure core skills and pedagogical/subject expertise, with four governance principles including specification-first and proportionate human oversight. The reference implementation is a 15-skill terminal agent plugin trialed in three courses, though the authors acknowledge the evidence is retrospective and learning effects remain unverified.

Title

When AI Teaching Assistants Meet Specification-Driven Development: How edu-spec Reshapes the Educational Component Lifecycle

Meta Description

A paper proposes edu-spec, mapping specification-driven development onto the educational component lifecycle and equipping teacher AI agents with 15 skills, emphasizing spec-first principles and human oversight.

Article Content

Education is undergoing a quiet transformation: more and more teachers are beginning to use AI agents to prepare syllabi, lecture materials, assignments, and assessment tools. But a fundamental problem emerges: general-purpose AI agents do not understand the normative context of a course. They treat heterogeneous teaching materials indiscriminately and equate "created a file" with "completed the work." As a result, AI-generated content often lacks pedagogical rigor and contextual consistency.

The software engineering field has long developed a methodology to address similar challenges—Specification-Driven Development (SDD). SDD enforces that agents follow explicit specifications to ensure outputs meet expectations. However, the concept of SDD presumes a software product as its target. How can this discipline be transferred to the lifecycle of educational components? A recent paper proposes the edu-spec tool, which maps SDD onto the educational component lifecycle and equips teachers' AI agents with a matching skill system.

rss source: Specification-Driven AI Integration for the Educational Component Lifecycle: Mapping Spec-Driven Dev

From Software Specs to Educational Specs: The Core Mapping

The core contribution of the paper is establishing a conceptual mapping that replaces key elements of SDD with their educational counterparts. User stories are replaced by "educational requirements," functional requirements become "implementation requirements," and acceptance criteria are transformed into "consistency criteria." This replacement is not a simple terminological conversion but a redefinition of the operational framework for AI agents in educational work.

More notably, the mapping treats "a coherent body of work" as a "version" and distinguishes between learning outcomes inherited from the curriculum and detailed component outcomes defined in the specification. This means AI agents need to understand the hierarchical structure of teaching materials: which objectives are at the macro curriculum level and which are at the level of specific teaching components.

In addition, the paper introduces "semester-sensitive educational component profiles" as mandatory context. This is a critical design choice, because the effectiveness of teaching components is highly dependent on contextual factors such as semester scheduling, prerequisite courses, and student demographics. General-purpose AI agents often ignore these contexts, while edu-spec ensures they are taken into account through mandatory profiles.

Specification-Driven Development (SDD) is an engineering methodology centered on the discipline of "writing clear specifications first, then letting agents implement." Its typical workflow is: humans first use structured documents to specify user stories, functional requirements, and acceptance criteria; AI agents may only generate implementations within the constraints of the specification and verify through automated checks whether outputs satisfy the acceptance conditions. The key to SDD is not the document itself but moving the definition of "done" forward from "generated a file" to "passed the specification check." This shift is especially important for agentic AI, because large language models naturally tend to quickly produce plausible-looking content but lack sensitivity to implicit constraints. When transferring SDD to education, the difficulty lies in the fact that the "correctness" of educational outputs is often contextual and hard to adjudicate automatically, so acceptance criteria must be transformed into verifiable consistency criteria, with teachers assuming the role of final arbiter.

Skill Model: Separating Core Skills from Pedagogical Expertise

The skill model of edu-spec adopts a layered design that separates infrastructure-level "core skills" from pedagogical "how to teach" skills and subject-domain "what to teach" skills. This separation has significant practical implications: core skills handle general tasks (such as file management and version control), while pedagogical skills guide AI agents in designing learning activities according to teaching principles.

The paper further refines artifact development into six skills based on teaching function, each with different readiness criteria. This means AI agents need to follow different quality standards and completion conditions when generating lecture slides, designing assignments, or building assessment tools. For example, the assessment tool skill may require agents to verify the alignment between questions and learning outcomes, while the lecture material skill may focus on the progressive presentation of concepts.

At the governance level, the paper proposes four principles: specification-first, academic freedom, proportionate human oversight, and provenance traceability. These principles attempt to safeguard teachers' ultimate control over teaching content while leveraging AI efficiency. Specification-first means AI must follow educational specifications rather than its internal default logic; academic freedom requires the system to allow teachers to deviate from specifications to reflect personal teaching style; proportionate oversight advocates adjusting the intensity of human review according to risk level; and provenance traceability requires recording the sources and modification history of AI-generated content.

Pedagogical Content Knowledge (PCK) is a concept of teacher professional competence proposed by Shulman, referring to teachers' ability to transform subject knowledge into forms students can understand—for example, choosing appropriate analogies, sequencing concepts, and anticipating common misconceptions. It differs from pure subject knowledge (what to teach) and general pedagogical knowledge (how to organize a classroom); it is the fusion of both. By splitting "how to teach" and "what to teach" into independent skills, edu-spec is essentially using engineering structure to simulate the two sources of PCK. But note: the combined skills after splitting do not automatically equal PCK, because the core of PCK is precisely the integrated judgment of the two in specific contexts. This is one reason the paper emphasizes proportionate human oversight—decisions involving pedagogical trade-offs still require teacher involvement, while agents handle the parts that can be specified.

Proportionate human oversight originates from discussions of "human-in-the-loop" in AI governance. Its essence is to configure human review by task risk and irreversibility rather than applying equal-intensity review to all outputs. In educational scenarios, this principle means: low-risk formatting and material aggregation can be completed autonomously by agents with a record left behind; outputs involving alignment with learning outcomes and assessment fairness require substantive teacher review. It is paired with provenance, i.e., recording which agent, based on which version of the specification, and through which modifications produced each material. Only when combined can oversight be both focused and auditable, avoiding degeneration into a formalistic "click to confirm."

Reference Implementation and Preliminary Application

The reference implementation of edu-spec is a plugin designed for terminal AI agents, containing 15 skills. The tool was applied in three of the author's university courses, covering six versions over a period from August to November 2026.

It should be emphasized that the authors explicitly point out the limitations of the evidence: it is retrospective and comes from the author's own courses; time savings were not quantitatively measured; and no claims are made about any impact on learning outcomes. This cautious attitude is commendable, as it indicates the research is at an exploratory stage rather than a rigorously validated mature solution.

Nevertheless, this work offers valuable ideas for integrating AI in education. Most current educational AI tools are either too general (e.g., ChatGPT directly generating lesson plans) or too specialized (e.g., automated grading systems). edu-spec attempts to find a balance between the two: through a specification-driven approach, it gives general-purpose AI agents educational discipline while maintaining flexibility.

Implications for Educational AI Practice

For teachers who are using or considering using AI agents, this research conveys several important signals. First, prompt engineering may be insufficient to ensure the pedagogical quality of AI-generated content; more structured specification methods may be more effective. Second, AI agents need to understand the normative context of a course, not just execute isolated tasks. Third, human oversight should not be post-hoc review but embedded in the workflow, dynamically adjusted according to task risk.

For AI tool developers, the skill model of edu-spec offers a design pattern: separate general capabilities from domain expertise, inject context through configuration profiles, and balance automation with human control through governance principles. This approach may apply not only to education but also to other domains requiring professional normativity, such as healthcare and law.

Of course, this research is still at an early stage. The lack of controlled experiments, unmeasured time savings, and unknown learning effects are all gaps that future research needs to fill. But at least it raises a valuable question: when AI agents enter professional domains, what we may need is not more powerful general models, but better specification frameworks and governance mechanisms.

One-line Summary

The paper proposes edu-spec, mapping specification-driven development onto the educational component lifecycle to instill pedagogical discipline in teacher AI agents.

Paragraph Summary

The article introduces research that transfers specification-driven development (SDD) from software engineering to education. Addressing the problem that general-purpose AI agents do not understand the normative context of a course and treat "generating a file" as "completing the work," the paper proposes the edu-spec tool: mapping user stories, functional requirements, and acceptance criteria into educational requirements, implementation requirements, and consistency criteria respectively; using semester-sensitive educational component profiles as mandatory context; dividing the skill model into infrastructure core skills and pedagogical/subject-expertise skills, refined into six specialized skills by teaching function; and proposing four governance principles: specification-first, academic freedom, proportionate human oversight, and provenance traceability. The reference implementation is a terminal agent plugin with 15 skills, trialed across three courses and six versions, but the authors explicitly acknowledge that the evidence is retrospective, time savings were not quantified, and learning effects were not validated.

#edu-spec#Specification-Driven Development#educational AI#AI teaching assistant#AI governance#human oversight
Share:

Related articles