In the Macedonian Problemist no. 67 (January - April 2022),

Steffen Nielsen published this article about how to create studies out of chess games..

Also included the examples from the article..