[KongchangAI]
Concept骨架编程

Skeleton Coding

An AI-assisted programming method in which developers supply a behavioral specification together with a high-level code format specifying program structure (the skeleton), thereby constraining the output space of AI coding agents and improving the accuracy and maintainability of generated code.

Timeline (last 90 days)

Oct 30

Skeleton Coding is a study whose core idea is that developers, while providing behavioral specifications, also specify the program structure (skeleton) in a high-level, code-like format to narrow the space of candidate programs.

Unverified50%
Oct 30

The paper models AI-assisted programming as a control problem and proves that skeletons can exponentially reduce the number of tests developers need to provide.

Unverified50%
Oct 30

On four models and three benchmarks, the best-performing skeleton specification reduced average test error by 48.4% compared with the best end-to-end behavioral specification.

Unverified50%
Oct 30

Even when the agent can query the complete reference implementation, adding the skeleton still reduced average test error by up to 27.0% relative.

Unverified50%
Oct 30

Skeletons significantly narrowed the average gap between small and large models, by about 52.4%.

Unverified50%
Oct 30

Using skeletons reduced implementation cost by 15–26 times.

Unverified50%
Oct 30

Skeletons reduced code erosion by an average of 24.7%.

Unverified50%
Oct 30

The skeleton is not meant to replace tests but to complement them—the structure determines the candidate space, and the tests make the selection within it.

Unverified50%
Oct 30

The paper's empirical evaluation covers four models and three benchmarks, but writing the skeleton itself requires cognitive effort from the developer.

Unverified50%

All Facts (9)

Source Articles