AI Agent Skill to generate and render beautiful Mermaid diagrams as SVG or terminal ASCII — 15 themes, 6 diagram types, batch CLI, no browser.
JavaScript agent-skillsai-agentsascii-artclaude-codecodexcursordiagram-generatordocumentationflowchartmermaidmermaid-diagramskillssvg
Releasing Pretty Mermaid
This process is for maintainers publishing a version from the default branch. Do not create a release from a feature branch.
1. Prepare the version
- Confirm
package.jsoncontains the intended semantic version. - Move completed entries from
Unreleasedinto a dated section inCHANGELOG.md. - Confirm the release notes describe user-visible behavior, compatibility, and important fixes.
- Merge the release changes into
mainand wait for CI to pass.
2. Verify from main
git switch main
git pull --ff-only origin main
npm ci
npm test
npm run validate
npm run gallery
git diff --exit-code -- assets/theme_gallery
The working tree should remain clean after verification.
3. Tag and publish
For the first release:
git tag -a v1.0.0 -m "Pretty Mermaid v1.0.0"
git push origin v1.0.0
Pushing a v* tag starts the Release workflow. It reruns tests and documentation validation, then creates a GitHub Release with generated notes categorized by .github/release.yml.
If the workflow fails, fix the underlying problem on main, create a new version tag, and publish that tag. Do not move a public release tag after users may have fetched it.