I create quite a lot of libraries, and use a template repo for them., including a CLAUDE.͏͏md with instructions to set the repo up and then delete that section. My latest addition says to use the gh cli to configure repo settings and rules, including adding secrets from 1pass. It works great!
github.com