I like a definition of creativity described in
https://www.ribbonfarm.com/2015/02/18/a-dent-in-the-universe... , where it's contrasted with imagination. Briefly, creativity is domain specific, like in music or software, while imagination is a domain-independent survival skill for higher rungs on Maslow's hierarchy of needs.