Publish

From rogie/figui3 · View interactive version

Publish is an AI agent skill from the GitHub repository rogie/figui3. Publish a FigUI3 release to GitHub and npm when the user explicitly asks to publish or release the package. Handles versioning, changelog, verification, generated dist files, commit, push, and npm publication.

How to use this skill

Skill file

Publish FigUI3

Use this workflow only when the user explicitly asks to publish or release the package. A request to commit, push, build, or prepare a release does not by itself authorize npm publish.

Preflight

Version policy

Release workflow

  1. Update the version in package.json and package lockfiles that record the root package version. Do not create a Git tag unless the user asks for one or an established repository release convention requires it.
  2. Add a new version section at the top of CHANGELOG.md. Summarize all changes included since the previous published version using the existing Added, Changed, and Fixed headings; omit empty headings.
  3. Run npm test, then npm run build. Stop on any failure. Ensure generated files under dist/ are current and included in the release commit when changed.
  4. Run npm pack --dry-run and inspect the package name, version, and included files. Stop if required runtime or distribution files are absent or unintended files are included.
  5. Review the final diff and git diff --check. Stage only release files and commit them as v{version}: {short summary}.
  6. Push the release commit to the configured GitHub remote and current branch. Do not continue to npm if the push fails.
  7. Run npm publish --access public.
  8. Verify the exact version through npm and report the version, commit hash, branch, and package URL.

Keep changelog entries concise and descriptive. Never bypass failing tests, builds, authentication checks, package inspection, or registry verification without explicit user direction.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.