Repository navigation
Add the Plannotator diagram authoring skill - #37
Draft
backnotprop wants to merge 9 commits into
Draft
backnotprop wants to merge 9 commits into
backnotprop wants to merge 9 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
/diagramto the skill collection, Claude plugin, Codex skill directory, catalog, and installation guides. An agent writes editable.diagram.jsonwith stable part IDs, grounds references in the project and renders a standalone SVG. The existinghtml-diagramskill continues to handle self-contained HTML.The authoring body mirrors Plannotator's bundled skill. Plannotator's bundled CLI can create the source and render it. A standalone consumer uses the npm executable from
@plannotator/diagrams. Reviewers can install the candidate tarball in a scratch project. Hold this draft until the renderer release is available to intended users.Verified:
diagramandhtml-diagram, then installed onlydiagraminto an empty Codex project. Portable frontmatter and the repository's Claude/Codex/skills.sh manifests passed validation.Authoring from the reader’s question
The instructions start by identifying the reader and the visual relationship they need to understand. The skill lists the three placement modes, shapes, sections, images, references and routing controls. A complete example is no longer part of the skill.
Two fresh agents received the same skill and the packaged renderer. Each received its own brief and source material, with no layout directions. One made a north-up welcome-desk map. The other chose two parallel timelines and linked its claims to the JavaScript player. Both chose free placement, used it differently, and produced editable files with zero layout diagnostics. Exporting each file again produced a byte-identical SVG. The source links resolved and running the sample player confirmed the notes shown in the timeline.
Both authors independently asked how to see measured panel sizes during placement. The final skill adds a command for printing panel bounds. It returned all six panels in the map and all five in the playback comparison.
The current revision also removes the list of diagram types and the subject suggestions under each layout. A fresh author received only this skill, the npm tarball and invented conservation notes. The drawing distinguished a tested mechanical fit, matching diameters without a test, and two loose labels. All three references matched the notes and re-rendering produced an identical SVG with zero layout problems.