SpecCompiler: auto-generated requirements and interface specs for every agent ticket
A tool that creates a detailed checklist of requirements and technical specs before an AI starts coding a ticket.
A pre-dispatch layer that reads each incoming ticket, maps it to the exact modules, APIs, and tests it touches using a repo symbol index plus retrieval (not free-form search), and attaches a structured requirements checklist and interface specifications before any coding agent starts. Benchmarks of structured procedural knowledge show it lifts agent pass rates materially on average, but software engineering sees the smallest domain gains, so specs ship as human-editable drafts grounded in repo facts rather than trusted blindly. First users: platform engineering leads at mid-sized SaaS companies running autonomous agents against GitHub Issues backlogs.
Concept
A repo-aware middleware that sits between the ticket queue (Jira, GitHub Issues, ServiceNow) and whatever coding agent a team runs. It is agent-agnostic — it only enriches the input, so no scaffold or vendor change is needed.
-
Trace — how it actually works. On ticket arrival, a three-stage pipeline resolves the ticket to code:
- Extract: an LLM pass pulls explicit references from the ticket text — file paths, stack-trace frames, API/class/function names, error codes — as candidate entities.
- Resolve: each candidate is checked against a pre-built repo index (tree-sitter/AST symbol tables, a language-server-style call graph, import and dependency edges). References that don't resolve to real symbols are dropped — precision over recall — so the spec never sends the agent chasing noise. Tickets that resolve to nothing get flagged for human triage rather than a speculative spec.
- Retrieve: a hybrid search (embeddings plus exact-match over the indexed symbols) ranks the affected modules and pulls in their interfaces, direct callers, and covering tests (via the import graph or existing coverage data). Skywork-SWE's finding that SWE data curation is manual today and that agents must resolve dependency chains over 32k tokens is the motivation for compressing this into a spec up front.
-
Generate — produce the two artifacts: a numbered, testable requirements list, and interface specifications (signatures, types, data models, expected behaviors). This step is now evidence-backed rather than speculative: SpecGen [4] shows LLMs can generate formal program specifications through a conversational refine-and-verify approach instead of rigid templates, and GeneUS [5][6] shows GPT-4-class models turning unstructured requirement documents into structured user stories with JSON output that drops straight into Jira/GitHub — including a "Refine and Thought" prompting strategy that specifically counters hallucination on long, noisy inputs [6].
-
Attach and dispatch — both documents ride along with the ticket to any agent (Copilot, Claude Code, Cursor, Devin, OpenHands). Human review is on by default, not an option: nl2spec [3] found first-pass LLM formalization was correct only ~44% of the time, but letting users iteratively edit sub-translations raised accuracy to 86.1%. So each requirement and interface entry is line-addressable, carries provenance (the ticket fragment and code symbol it was derived from), and feeds an edit-feedback loop that improves generation over time.
Why now
- SkillsBench [1] provides paired, matched-condition evidence that attaching structured procedural knowledge at inference time helps: curated Skills raised the average pass rate from 33.9% to 50.5% (+16.6 points) across 18 model-harness configurations, with gains ranging from +4.1 to +25.7 points — and smaller models with Skills matched larger models without them.
- Focused beats exhaustive: Skills with at most three modules outperformed larger bundles [1]. SpecCompiler's artifacts are deliberately short, ticket-scoped checklists and interface sheets — not repo-wide documentation dumps.
- The generation step is demonstrated in adjacent forms: formal specs from code [4], structured user stories from messy requirements documents in production use at Bell Mobility [5][6], and interactive correction of LLM-written specifications [3].
- Because specs are generated from the team's own repo rather than pulled from a skill marketplace, the supply-chain risks SoK documents for skill marketplaces [2] do not apply.
Honest limits
- Software engineering is the weakest domain for this effect. In the SkillsBench domain breakdown, Software Engineering gained the least from curated Skills (+4.5 points, vs +51.9 in healthcare and +41.9 in manufacturing) [2]. Generic procedural knowledge helps SE agents least — which is exactly why SpecCompiler generates task-specific requirements and interface facts mined from the actual repo rather than reusable how-to skills. Even so, the expected lift is plausibly modest, and pilots should run paired no-spec/spec dispatch on matched tickets to measure it rather than assume it.
- Auto-generated artifacts can hurt. Self-generated skills slightly degraded performance (-1.3 points) in SkillsBench [2]. Mitigations: specs always ship with provenance and alongside the raw ticket (a flawed spec never replaces the source of truth), entries are validated against existing tests where possible, and any spec can be discarded with one click.
- First drafts will often be wrong. ~44% initial accuracy in nl2spec's translation task [3] means the human edit pass is a core feature, not friction — the ROI case rests on editing a generated spec being faster than writing one from scratch, which nl2spec's sub-fragment editing results support but which must be validated per team.
Open questions
- How accurate is the Trace pipeline's ticket-to-module mapping across languages and architectures (monolith vs. microservices), and what is the noise floor when tickets reference nothing concrete?
- Does the measured resolve-rate lift on a real backlog justify the added generation-and-review latency in the ticket-to-patch cycle?
- Will engineers edit generated specs or bypass them — and does over-reliance (following a flawed spec over the actual code) appear, and does provenance-plus-raw-ticket suppress it?
First users
Platform engineering leads at mid-sized SaaS companies (roughly 100–500 engineers) who already dispatch autonomous coding agents (OpenHands, Devin, Copilot coding agent) against GitHub Issues backlogs and can measure resolve rates on their own triage queue.
Written by GLM · 24 Nov 2026 · revised 1× with new research (latest 24 Nov 2026, Gemma 4 and GLM)
AI assessment
An exceptionally well-grounded tool that solves the 'context gap' for coding agents by converting messy tickets into structured, human-verified specs using repo-aware indexing.
- Evidence strength 5/5
- The idea synthesizes multiple strong signals: SWE-Bench Pro's finding that removing human-written specs degrades performance, and SkillsBench's evidence that structured procedural knowledge lifts pass rates, while honestly accounting for the lower gains in the SE domain.
- Market pull 4/5
- Platform engineering leads at mid-sized SaaS companies are a high-intent user base currently struggling with the 'last mile' of autonomous agent reliability in complex proprietary codebases.
- Novelty & moat 4/5
- While other catalog ideas focus on benchmarking or review, this is a unique 'pre-dispatch' enrichment layer that transforms unstructured tickets into structured specs using a symbol-aware index.
- Feasibility 5/5
- The pipeline relies on existing technologies (Tree-sitter, ASTs, LLMs) and a human-in-the-loop editing flow, making a demoable MVP highly achievable for a small team.
- Wedge clarity 5/5
- The wedge is sharp: a dispatch webhook that attaches a requirements checklist to a GitHub Issue, providing a clear, measurable 'before and after' for resolve rates.
- Simplicity / focus 5/5
- The product is focused on a single function—input enrichment—rather than attempting to build a full agent platform or a general-purpose documentation tool.
Scored by Gemma 4 · 24 Nov 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.
Act on this idea
Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.
Business analysis
The framework reveals a high-potential middleware that leverages the 'Skills' effect to improve agent pass rates, but faces a critical tension between automation and accuracy. While the technical pipeline for repo-aware retrieval is sound, the product's success depends on the human-in-the-loop editing experience to overcome the inherent low initial accuracy of LLM-generated formal specs.
Strengths4
Weaknesses3
Opportunities3
Threats3
Essential for balancing the technical strengths of the trace pipeline against the known weakness of low LLM accuracy in software engineering specifications. · Generated 2026-11-24 by Gemma 4AI-generatedFull SWOT Analysis →
Who benefits
- ServiceNowcompany
Resolves high volumes of notoriously vague enterprise tickets with AI agents; attaching auto-generated requirements and interface specs to each ticket directly lifts agent resolve rates on its platform.
- GitHub (Microsoft)company
Its Copilot coding agent works GitHub Issues that rarely contain specs; a spec-compiler layer would raise resolve rates across millions of issues without changing the agent itself.
- Atlassiancompany
Jira is where enterprise tickets live and Atlassian ships AI agents against them; spec compilation turns thin issue descriptions into agent-ready inputs.
- Shopifycompany
Runs a large monolith with a big internal backlog and aggressive AI-coding adoption; specs on every ticket would raise first-pass resolution on its hardest changes.
Research it builds on
- SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?All ideas from this paper →
- SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse TasksAll ideas from this paper →
- SpecGen: Automated Generation of Formal Program Specifications via Large Language ModelsAll ideas from this paper →
- SoK: Agentic Skills -- Beyond Tool Use in LLM AgentsAll ideas from this paper →
- nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language ModelsMatthias Cosler, Christopher Hahn, Daniel Mendoza et al. · 2023 · 122 citationsAll ideas from this paper →
- Automated User Story Generation with Test Case Specification Using Large Language ModelTajmilur Rahman, Yuecai Zhu · 2024 · 53 citationsAll ideas from this paper →
- Skywork-SWE: Unveiling Data Scaling Laws for Software Engineering in LLMsLiang Zeng, Li, Yongcong, Xiao, Yuzhen et al. · 2025 · 41 citationsAll ideas from this paper →
- Take Loads Off Your Developers: Automated User Story Generation using Large Language ModelAll ideas from this paper →