sb-create-doc
Skill1 starsChanged 40 days agoApache-2.0View on GitHub
Create a new Stable Baseline document (CDMD) with optional follow-up diagram/image insertion. Use when user wants to create a document, write docs, or run sb-create-doc.
In this repository14 other files it gives its agents.
- sb-agentSkill
- sb-connectSkill
- sb-create-diagramSkill
- sb-create-whiteboardSkill
- sb-dashboardSkill
- sb-databaseSkill
- sb-edit-docSkill
- sb-edit-whiteboardSkill
- sb-manage-dataSkill
- sb-manage-imagesSkill
- sb-searchSkill
- sb-setupSkill
- sb-syncSkill
- sb-updateSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Create a Stable Baseline document using MCP tools.
- Very specific: line 11
If you don't know IDs yet: use listWorkspaces, then listProjects, then listFolders to discover them.
- Distinctive: line 14
Write CDMD. Keep it readable and structured.
- Very specific: line 15
Do NOT include any diagram/image markers in the cdmd passed to createDocument.
- Very specific: line 16
If the user wants diagrams: create the doc first, then call insertDiagramInDocument.
- Very specific: line 17
If the user wants images: create the doc first, then call insertImageInDocument (or use createImageUploadSession + PUT + …
- Very specific: line 20
Call createDocument with { projectId, folderId (optional), title, cdmd }.
- Very specific: line 21
Update .sb/config.json cache.documents with the new document's title mapped to { "id": "<doc-id>", "folderId": "<folder-id-or-null>" }, and …
- Distinctive: line 22
If diagrams are requested:
- Very specific: line 24
Call insertDiagramInDocument with afterLine placements.
- Distinctive: line 25
If images are requested:
≈ “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.
Files
Stable Baseline: Create Document
Create a Stable Baseline document using MCP tools.
If you don't know IDs yet: use listWorkspaces, then listProjects, then listFolders to discover them. Or read .sb/config.json for cached IDs.
Rules:
- Write CDMD. Keep it readable and structured.
- Do NOT include any diagram/image markers in the
cdmdpassed tocreateDocument. - If the user wants diagrams: create the doc first, then call
insertDiagramInDocument. - If the user wants images: create the doc first, then call
insertImageInDocument(or usecreateImageUploadSession+ PUT +insertImageInDocument).
Steps:
- Call
createDocumentwith { projectId, folderId (optional), title, cdmd }. - Update
.sb/config.jsoncache.documentswith the new document's title mapped to{ "id": "<doc-id>", "folderId": "<folder-id-or-null>" }, and setcache.lastUpdatedto the current ISO 8601 timestamp. - If diagrams are requested:
- Call
listDiagramTypes/getDiagramTypeGuide - Call
insertDiagramInDocumentwith afterLine placements.
- Call
- If images are requested:
- Prefer upload-session flow.
Reference resources:
sb://cdmd-guidefor syntax
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
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.

