publish.mjs

Tools · Edit, render, publish · MIT

What it does

Sends a finished figure to the author's public community gallery as a GitHub pull request: copies the figure's source into a clone, checks the build, saves a preview, commits, force-pushes a branch to your fork and opens the pull request through the GitHub CLI. The skill says to do this only on the user's explicit yes, after showing a dry run. It records the agent and model name, and in Claude Code it reads the session log for minutes and tokens.

Get it

node scripts/publish.mjs <figure folder> --into <clone> --id <id> --title "..." --author <github user> --submit --dry-run

Source on GitHub
Needs

Git and the GitHub CLI signed in

License

MIT

License notes are on the pack's page

From

Anatomy

Everything from Anatomy in the gallery

Back to the Asset Library