agentleFS
stablebaselinestablebaseline/claude-code/skills/sb-edit-whiteboard/SKILL.md

sb-edit-whiteboard

Skill1 starsChanged 40 days agoApache-2.0View on GitHub

Update an existing Stable Baseline whiteboard: add, move, restyle, or remove elements, change or undo an AI design, embed diagrams or images, re-render, and export it as PowerPoint. Use when user wants to edit a whiteboard, update a board, change something on a board, turn a board into slides, or run sb-edit-whiteboard.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Update an existing whiteboard in Stable Baseline using MCP.

    line 9
  2. Very specific:

    Call getWhiteboard to load the current scene (elements and their ids) so you edit against the live state, never stale ids.

    line 13
  3. Very specific:

    Add elements: addWhiteboardElements (stencils, architecture icons, sticky notes, connectors, embedded diagrams via insertWhiteboardDiagram, …

    line 15
  4. Very specific:

    Always getWhiteboard first and edit against current element ids.

    line 23
  5. Very specific:

    Read getWhiteboardGuide for the element schema if unsure.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Stable Baseline: Edit Whiteboard

Update an existing whiteboard in Stable Baseline using MCP.

Steps:

  1. Resolve the whiteboardId: ask the user, find it via listWhiteboards, or read .sb/config.json (cache.whiteboards).
  2. Call getWhiteboard to load the current scene (elements and their ids) so you edit against the live state, never stale ids.
  3. Apply the changes:
    • Add elements: addWhiteboardElements (stencils, architecture icons, sticky notes, connectors, embedded diagrams via insertWhiteboardDiagram, images via insertWhiteboardImage).
    • Move, restyle, or delete existing elements, or replace the scene: updateWhiteboardScene. Pass deleteIds to remove elements; you do not need to re-send every element to delete or tweak a few.
    • Duplicate a group: duplicateWhiteboardElements.
    • A design autoDesignWhiteboard drew: to change how it looks or what it holds, or to undo a change or a clear, call autoDesignWhiteboard again with changeDesign, undoChange or undoClear (the sb-create-whiteboard skill has the rules and the cost). Never start a new design to change one that is already there.
  4. Render with getWhiteboardImage to verify, then iterate.
  5. To hand the board out as slides: exportFromWhiteboard with documentId and kind: "canvas" makes an editable PowerPoint in which each frame is a slide, in the board's slide order (a board with no frames is one slide). A large board finishes in the background: call again with the same arguments until status is completed. The download link lasts an hour.

Hard rules

  • Always getWhiteboard first and edit against current element ids.
  • Read getWhiteboardGuide for the element schema if unsure.
  • Preserve existing content unless the user asked to remove it.

Reference

  • getWhiteboardGuide / sb://whiteboard-guide

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.