wucaishi-generative-react-skill
v1.0.0
Published
Codex skill for Wucaishi component package workflow and HTML-to-React generation.
Maintainers
Readme
wucaishi-generative-react-skill
Codex skill for Wucaishi component package workflow, HTML-to-React component generation, build version confirmation, and Aliyun OSS upload.
Install
Run with npx:
npx wucaishi-generative-react-skill@latestThe installer copies this skill into:
~/.codex/skills/component-package-workflow-zhIf CODEX_HOME is set, it installs into:
$CODEX_HOME/skills/component-package-workflow-zhIncluded Skills
component-package-workflow-zhreact-component-spec-zhhtml-template-to-react-components-zhbuild-version-confirm-zhupload-aliyun-oss-zh
Installer Options
npx wucaishi-generative-react-skill@latest -- --help
npx wucaishi-generative-react-skill@latest -- --target /path/to/skills/component-package-workflow-zh
npx wucaishi-generative-react-skill@latest -- --no-backupBy default, if a target skill already exists, the installer creates a timestamped backup next to it before replacing it.
Publish
npm login
npm pack --dry-run
npm publishBefore publishing, inspect the package contents and make sure no local credentials, tokens, or machine-specific files are included.
GitHub Actions Release
Add an npm automation token to the GitHub repository secrets:
NPM_TOKENThe token must have permission to publish this package. If npm requires 2FA for publishing, use a granular access token that can publish the package and bypass 2FA.
Then bump package.json version and push a matching tag:
npm version patch
git push
git push origin v0.1.1The workflow publishes only when the tag version matches package.json version.
