This generates Node.js scripts that automate WeChat mini-program deployments using the miniprogram-ci SDK. It walks you through setting up preview QR code generation, npm dependency packaging, and code uploads for CI/CD pipelines like GitHub Actions. The scripts are parameterized with environment variables so you can drop them into your workflow without hardcoding credentials. It's thorough about the annoying parts: reminds you to grab the upload key from the WeChat platform, add your CI server IP to the whitelist, and keep private keys out of your repo. If you're tired of manually uploading mini-program builds or want to add automated previews to pull requests, this handles the boilerplate setup so you can just run the generated scripts.
npx skills add https://github.com/whinc/wechat-miniprogram-skills --skill miniprogram-ci