I have been experimenting with these same type of factory pattern skills. Thanks for sharing.
After a session with Claude Code I just tell it "turn this into a skill, incorporate what we've learned in this session".