The Commonplace
Home Papers Evidence Explore Trends Syntheses Digests References Docs 🎲 Workforce Futures
← Papers
Direction, evidence grade, and study type are AI-generated labels (gpt-5-mini), not human-verified. Syntheses are LLM-written. "Tensions" are machine-detected candidates, not confirmed contradictions. A research-acceleration tool, not peer review. How this is built →

A proactive self-distillation framework, SkillForge, raises LLM-based code-repair success rates by roughly 4–6 percentage points on standard benchmarks by synthesizing repository-specific bugs from tests and distilling reusable diagnostic and intervention skills.

SkillForge: Self-Distilling Agents for Project-Specific Issue Resolution
Silin Chen, Han Li, Xiaodong Gu, Yuling Shi, Haibing Guan · August 19, 2026
arxiv descriptive medium evidence 7/10 relevance Full text usable extracted full text Source PDF

Structured author observations

Linked only from stored provider relations; the raw author line above is never matched by name.

Arxiv

Latest observation:

  1. Silin Chen unresolved corpus identity
  2. Han Li unresolved corpus identity
  3. Xiaodong Gu unresolved corpus identity
  4. Yuling Shi unresolved corpus identity
  5. Haibing Guan unresolved corpus identity

Semantic Scholar

Latest observation:

  1. Silin Chen provider ID
  2. Han Li provider ID
  3. Xiaodong Gu provider ID
  4. Yuling Shi provider ID
  5. Haibing Guan provider ID
SkillForge proactively synthesizes project-specific buggy instances from repository tests and distills dual-level diagnostic and intervention skills, improving LLM-based automated issue resolution accuracy by around five percentage points on SWE-bench benchmarks.

Citation observations

Cumulative provider counts captured on specific dates; providers are never combined.

Large language model (LLM) based agents have demonstrated remarkable proficiency in automated software issue resolution, yet they often struggle to resolve issues in a specific repository because they lack project-specific knowledge. Existing self-evolving approaches acquire such knowledge from repository history or online repair trajectories, but they either depend on available historical issue-resolution signals or incur substantial per-issue test-time exploration cost. In this paper, we propose SkillForge, a self-distillation framework that proactively acquires project-specific knowledge from the repository itself. Instead of waiting for real issues to expose project-specific knowledge gaps, SkillForge synthesizes project-specific issues by re-implementing test-covered core functionalities of the repository. By resolving these synthetic issues, SkillForge distills reusable project-specific knowledge into entity-grounded skills and associates them with relevant repository entities for future issue resolution. Extensive experiments using both open-source and closed-source models show that SkillForge consistently improves issue resolution performance over strong baselines. These results demonstrate that proactively acquiring project-specific knowledge before solving real issues substantially improves downstream software issue resolution.

Summary

Main Finding

SkillForge is a proactive self-distillation framework that synthesizes executable, test-grounded “project-specific” issues from a repository and distills the resulting agent trajectories into a dual-level skill repository. Feeding these skills back to the agent (macro-level diagnostic priors + micro-level just-in-time intervention) substantially improves automated issue-resolution performance on standard benchmarks, outperforming both history-driven and online per-issue adaptation baselines.

Key quantitative results reported: - On SWE-bench Verified, SkillForge yields Pass@1 of 72.2% (DeepSeek-V3.2) and 60.6% (GPT-5-mini), improving over a Mini-SWE-Agent baseline by +5.8 and +5.6 percentage points, respectively. - On SWE-bench Pro, SkillForge improves over Mini-SWE-Agent by +5.8 and +4.1 percentage points (same two models). - Outperforms evaluated history-driven and online project-specific adaptation baselines.

Key Points

  • Cold-start problem: LLM-based SWE agents lack project-specific conventions and repeatedly rediscover the same patterns when deployed on a new repository.
  • Proactive synthesis: SkillForge uses coverage-guided traces and a masked reimplementation prompting strategy to create realistic, test-driven synthetic issues (pass→fail instances) without relying on historical issue reports.
  • Dual-level skill repository:
    • Mext (global diagnostic skills): entity-linked records capturing an entity’s purpose, playbook (repository-specific reasoning heuristics), and related_apis (co-involved APIs from trajectories).
    • Mint (local intervention skills): entity-specific repair guidance and pitfall-avoidance cues distilled from both successful and failed resolution trajectories.
  • Retrieval and injection:
    • Macro initialization: BM25 retrieval of top-k Mext records appended to the agent’s initial prompt as project priors.
    • Micro JIT injection: Mint records are appended to the agent’s context dynamically when it accesses specific files/entities (based on parsed shell commands).
  • Distillation pipeline: normalize agent trajectories, align accessed coordinates to AST-derived entities, contrast successful/failed edits to extract actionable lessons, structure records (purpose, playbook, related_apis, intervention_skills).
  • Implementation & evaluation: implemented with Mini-SWE-Agent and evaluated using DeepSeek-V3.2 and GPT-5-mini on SWE-bench Verified and Pro. Code and data released.

Strengths highlighted: - Does not depend on prior issue history and avoids heavy per-issue online exploration. - Entity-grounded retrieval reduces retrieval ambiguity and provides targeted guidance exactly when the agent examines relevant code. - Uses repository tests as the supervision signal, producing executable and behaviorally-grounded synthetic issues.

Limitations noted: - Requires a test suite that exercises core functionality—effectiveness depends on test coverage and quality. - Upfront synthesis and distillation requires compute; gains must offset that investment. - Distilled knowledge quality depends on LLM rewriter and trajectory quality; risk of noisy or incomplete skills in low-signal repos. - Possible dependence on model capabilities; gains reported for particular model families.

Data & Methods

  • Synthetic instance generation:
    • Identify passing tests that exercise core functionality via coverage instrumentation.
    • Extract contiguous traced code segments; rank top-k critical segments using an LLM given test purpose and segment summaries.
    • For selected segments, use a “strict-mask” code-rewriting prompt: LLM must reimplement the segment without seeing the original implementation (given only limited surrounding lines and test intent). This creates plausible implementation variants that often fail tests.
    • Assemble pass→fail instances: buggy repo snapshot, failing tests, derived problem statement (LLM translates failure evidence to a user-facing prompt), and reference patch.
  • Issue resolution & trajectory collection:
    • Use a SWE agent (Mini-SWE-Agent) to attempt fixes in isolated environment following SWE-bench protocol; log full action-observation trajectories (file edits, shell commands, test runs).
  • Skill distillation:
    • Normalize trajectories; parse shell commands to extract accessed files/line ranges; map to AST-derived entities to produce Ecand.
    • For each entity, distill:
      • Mext: purpose, playbook (agent-tested heuristics), related_apis (co-involved APIs observed during resolution).
      • Mint: intervention_skills assembled from successful and failed patches (e.g., “avoid overriding X because...”, “ensure setup_query called before...”).
  • Skill adaptation:
    • Macro-level: BM25 retrieval of relevant Mext records using the new issue description; prepend to initial prompt.
    • Micro-level: monitor agent’s real-time file accesses; inject matching Mint records as auxiliary observations just-in-time.
  • Benchmarks and baselines:
    • SWE-bench Verified and SWE-bench Pro.
    • Models: DeepSeek-V3.2, GPT-5-mini.
    • Baselines include Mini-SWE-Agent and both history-driven (e.g., EvoCoder, SWE-Exp) and online adaptation methods where available.
  • Experimental metrics: Pass@1 improvements reported; ablations and hyperparameter sensitivity explored (paper includes RQ2/RQ3 analyses).

Implications for AI Economics

  1. Upfront investment vs per-issue cost trade-off

    • SkillForge converts some recurring, per-issue exploration cost into an upfront distillation cost. Economically, this is an investment problem: if a repository expects many future issues or frequent edits, the amortized savings (faster fixes, fewer token/test cycles per issue) can justify the upfront compute and prompting expense.
    • Suggests a cost model: one-time distillation cost C_d versus expected per-issue savings s and number of future issues N. Break-even when N*s > C_d. This frames purchasing/licensing decisions for teams and vendors.
  2. Value of test coverage as an economic lever

    • The method’s reliance on tests makes test coverage a tangible productivity asset with direct economic value: better tests enable higher-quality skill distillation and hence greater agent effectiveness. Firms may find it economically rational to invest more in test suites to unlock automated-maintenance returns.
  3. Productization and markets for skills

    • Distilled skill repositories (Mext/Mint) are project-specific, reusable artifacts. They could be productized:
      • Sold as part of a maintenance subscription (distill once, reuse across issues).
      • Exchanged in marketplaces for popular frameworks or libraries (common modules with many consumers).
    • Ownership and privacy implications: in closed-source or enterprise environments, skill distillation may be proprietary IP; marketplaces would require governance and pricing models.
  4. Labor and task reallocation

    • By reducing repeated rediscovery and speeding fixes, SkillForge can shift human developers toward higher-level design and non-routine tasks. The effect is partial substitution for routine debugging labor; however, complex or low-test-coverage work still requires human expertise.
    • Firms should consider reskilling and reallocation strategies as agents handle more maintenance work.
  5. Heterogeneous returns across repositories

    • Repos with rich tests, modular architecture, and recurring patterns will see larger marginal returns from SkillForge. Conversely, low-coverage, ad-hoc codebases have lower returns and possibly higher distillation cost per unit benefit. This implies market price discrimination: agents/offerings could tier pricing by repo-health metrics.
  6. Compute and model-choice economics

    • Gains depend on base LLM capabilities. Higher-performing models improve synthesis and distillation quality but increase cost per token/call. Firms must choose model/compute trade-offs—e.g., cheaper model + more distillation iterations vs. fewer runs on a stronger model.
    • There is potential for hybrid strategies: distill with larger model once and run downstream resolution with smaller models supplemented by skills.
  7. Measurement & ROI

    • To evaluate ROI, organizations should track per-issue resolution time, number of test runs, tokens consumed, and downstream bug-recurrence. Key KPIs: mean time to fix, median token/test runs per fix, and percent of issues resolved autonomously.
    • A/B tests across repos or teams can quantify labor savings and inform pricing/investment decisions.
  8. Externalities and incentives

    • If proactive distillation becomes standard, incentives to maintain high test coverage and reusable modules increase—this is a positive feedback loop improving software quality and lowering maintenance costs.
    • Potential negative externalities include concentration of tooling value in large platforms that can pay upfront distillation costs, possibly widening productivity gaps between firms.

Practical recommendations for economists and product managers - Estimate expected issue volume and test-coverage quality before investing in distillation; prioritize high-variance or high-frequency repos. - Use a staged rollout: distill on core modules first, measure per-issue savings, then expand. - Consider offering “skill as a service” subscriptions for customers with similar stacks to amortize distillation costs across multiple repos. - Monitor and audit distilled skills to avoid propagation of subtle incorrect repair heuristics (quality control matters financially).

Limitations relevant to economic assessment - The paper reports relative Pass@1 gains but does not publish per-instance compute/token/time cost for distillation vs. online adaptation—needed for precise ROI models. - Effectiveness is conditional on test availability and LLM quality; these constraints should be modeled in economic projections.

Overall, SkillForge reframes part of software maintenance as an investable, reusable knowledge asset (skills grounded to code entities). That reframing opens pricing, productization, and labor-allocation opportunities, but also requires careful cost-benefit analysis tied to test-quality and expected issue flows.

Assessment

Paper Typedescriptive Evidence Strengthmedium — The paper reports consistent empirical improvements on standard software-engineering benchmarks (SWE-bench Verified and Pro) across multiple LLMs and compares to relevant baselines and ablations, which supports the claim that SkillForge improves automated issue resolution. However, evidence is limited to benchmark experiments and synthesized issues derived from repository tests rather than field measurements of developer productivity or real-world incident resolution, and there are risks of dataset/model leakage and dependence on test coverage. Methods Rigormedium — The authors use established benchmarks (SWE-bench Verified/Pro), multiple LLMs (DeepSeek-V3.2, GPT-5-mini), and baseline comparisons and ablations, and describe a clear pipeline for synthesis, resolution, and distillation; but potential concerns remain: synthetic issue generation may not fully reflect real-world bugs, results depend on test coverage and the quality of LLM-generated rewrites, the excerpt does not report dataset sizes or statistical significance details, and there may be training-data leakage for large models. SampleEvaluation on SWE-bench Verified and SWE-bench Pro benchmarks (human-validated software issue-resolution datasets); experiments use Mini-SWE-Agent with DeepSeek-V3.2 and GPT-5-mini models; SkillForge synthesizes project-specific issues by rewriting test-covered code segments from repository snapshots and uses the resulting synthetic failing tests to train/distill dual-level skill repositories (global diagnostic Mext and local intervention Mint). Reported metrics include Pass@1 improvements on the two benchmarks; specifics on number of repositories/cases per benchmark are not provided in the supplied excerpt. Themesproductivity human_ai_collab GeneralizabilityRelies on availability and quality of repository test suites—low test coverage limits synthetic issue generation and learning signal, Evaluated on standard SWE-bench benchmarks; real-world issue distributions and developer workflows may differ, Results depend on the specific LLMs and agent scaffolding used; gains may vary with model size, pretraining data, or agent architecture, Potential leakage if foundation models have seen evaluated repositories in pretraining, which would inflate reported gains, Primarily validated on codebases and automated test-feedback loops; may not generalize to domains without executable tests or to non-software productivity tasks

Claims (7)

ClaimDirectionOutcomeConfidence & EvidenceDetails
On SWE-bench Verified, SkillForge achieves 72.2% Pass@1 with DeepSeek-V3.2 and 60.6% Pass@1 with GPT-5-mini. Output Quality positive Pass@1 software issue resolution rate
Reading fidelity high
Study strength medium
72.2% and 60.6% Pass@1
0.18
SkillForge improves SWE-bench Verified Pass@1 over Mini-SWE-Agent by 5.8 percentage points with DeepSeek-V3.2 and 5.6 percentage points with GPT-5-mini. Output Quality positive Pass@1 software issue resolution rate relative to Mini-SWE-Agent
Reading fidelity high
Study strength medium
+5.8 and +5.6 percentage points
0.18
On SWE-bench Pro, SkillForge improves issue-resolution performance over Mini-SWE-Agent by 5.8 percentage points with DeepSeek-V3.2 and 4.1 percentage points with GPT-5-mini. Output Quality positive Software issue resolution performance on SWE-bench Pro
Reading fidelity high
Study strength medium
+5.8 and +4.1 percentage points
0.18
Across SWE-bench Verified and SWE-bench Pro, SkillForge outperforms all evaluated history-driven and online project-specific knowledge acquisition baselines available for each benchmark. Output Quality positive Relative software issue resolution performance
Reading fidelity high
Study strength medium
not reported
0.18
Proactively acquiring project-specific knowledge before solving real issues improves downstream software issue resolution. Output Quality positive Downstream software issue resolution success
Reading fidelity high
Study strength medium
not reported
0.18
SkillForge acquires project-specific knowledge from a repository's own code and tests without relying on rich historical issue-resolution trajectories or costly per-issue online exploration. Training Effectiveness positive Project-specific knowledge acquisition for software issue resolution
Reading fidelity high
Study strength low
not reported
0.09
SkillForge's dual-level skill repository represents project-specific knowledge as global diagnostic skills and local intervention skills, enabling entity-grounded retrieval and just-in-time guidance during downstream issue resolution. Organizational Efficiency positive Contextual delivery of project-specific debugging and repair guidance
Reading fidelity high
Study strength low
not reported
0.09

Notes