Skip to content

docs: record render-diagram export + release-pipeline gotchas#37

Merged
AndreJorgeLopes merged 1 commit into
mainfrom
docs/render-diagram-release-learnings
May 30, 2026
Merged

docs: record render-diagram export + release-pipeline gotchas#37
AndreJorgeLopes merged 1 commit into
mainfrom
docs/render-diagram-release-learnings

Conversation

@AndreJorgeLopes

Copy link
Copy Markdown
Owner

Bakes the hard-won learnings from the v0.2.0 release work into the repo.

Changes

  • render-diagram skill (3 copies): Maintenance notes — node-25 canvas@3 requirement, excalidraw-to-svg cwd-relative read + EXCAL_NODE_MODULES chdir, NODE_PATH/CJS-only, getContext error is real (do not suppress).
  • CLAUDE.md Release Process: the two release-pipeline bugs fixed in v0.2.0 (pipefail badge-grep || true guard; annotated tag so --follow-tags pushes it).

Docs-only. NOT merged yet — per the standing rule, merging this triggers a release (v0.2.1). Merge when you want it shipped.

🤖 Generated with Claude Code

Bake hard-won learnings into the repo so they survive:

- render-diagram skill (3 copies): add "Maintenance notes" — node >= 25 needs
  canvas@3 (canvas@2 has no prebuilt); excalidraw-to-svg reads @excalidraw/utils
  via a cwd-relative path so the CLI passes EXCAL_NODE_MODULES + chdirs; global
  deps resolve via NODE_PATH (CJS require only, not ESM import); don't suppress
  the getContext error (it signals a missing canvas).
- CLAUDE.md Release Process: document the two release-pipeline bugs fixed in
  v0.2.0 — guard the check_version_consistency badge grep with `|| true` under
  pipefail, and create an annotated tag so `git push --follow-tags` pushes it.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 30, 2026 00:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This docs-only PR records operational lessons from the v0.2.0 release/export work so future maintainers avoid known render-diagram and release-pipeline regressions.

Changes:

  • Adds render-diagram export pipeline maintenance notes across the canonical skill and generated plugin copies.
  • Documents release-pipeline gotchas around pipefail badge greps, annotated tags, and manual dispatch overrides.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
skills/render-diagram/SKILL.md Adds canonical maintainer notes for the Excalidraw export pipeline.
devflow-plugin/skills/render-diagram/SKILL.md Mirrors the render-diagram skill maintenance notes into the plugin skill copy.
devflow-plugin/commands/render-diagram.md Mirrors the render-diagram notes into the slash-command version.
CLAUDE.md Adds release-process gotchas for version consistency checks, tag creation, and manual release overrides.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AndreJorgeLopes AndreJorgeLopes merged commit f08bbe3 into main May 30, 2026
1 check passed
@AndreJorgeLopes AndreJorgeLopes deleted the docs/render-diagram-release-learnings branch May 30, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants