Building character sheets is difficult. There's thousands of lines of html, CSS, and Javascript to write and keep track of. The sheet author community has switched to using PUG to write the majority of html code because it simplifies the HTML coding part of creating a sheet. PUG allows us to do many powerful things, including creating reusable bits of code for things that we need frequently.
The K-Scaffold provides a comprehensive library of PUG mixins for frequently used generic HTML constructions. It also provides a powerful link between your PUG code and the javascript sheetworkers that will power your sheet by allowing you to link attributes to functions directly in the PUG that creates them.