Modern software development is driven by many critical forces. Among them are fast deployment requirements, a code base adaptable to new technologies, easy-to-maintain code, and low development costs. These forces are contradicted by the rising complexity of the technological landscape, harder to understand code due to its complexity, missing documentations and quickly hacked in program logic. We introduce a concept aiding in lowering these negative aspects for code-based software development. Protagonists of our work are explicit semantics in source code and newly introduced code pattern templates, which enable code transformations and whose definition and application will be explained in this paper. Throughout this paper, the term code pattern includes architectural patterns, design patterns, and refactoring operations. Enabling automated transformations stands for providing means of executing possibly premature transformations that might lead to results requiring manual finishing.