Skip to content
Skills Library
Design & UX · Tool integration

sketchi-code-mode

/sketchi-code-mode

Use when the user asks for sketchi-code-mode, Sketchi MCP, Sketchi Code Mode, or a Sketchi/Excalidraw diagram through MCP tools.

Repository
sketchi ↗
Licence
MIT
Last repository change
25.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when the user asks for sketchi-code-mode, Sketchi MCP, Sketchi Code Mode, or a Sketchi/Excalidraw diagram through MCP tools.

Original author description

Use when the user asks for sketchi-code-mode, Sketchi MCP, Sketchi Code Mode, or a Sketchi/Excalidraw diagram through MCP tools.

How it works

  1. Required Flow
  2. Guardrails
Original SKILL.md headings · 37 lines, 445 words
SKILL.md preview
---
name: sketchi-code-mode
description: Use when the user asks for sketchi-code-mode, Sketchi MCP, Sketchi Code Mode, or a Sketchi/Excalidraw diagram through MCP tools.
---

# Sketchi Code Mode

When the user asks to use `sketchi-code-mode`, use the configured MCP server tools. Do not replace the MCP flow with local repo scripts, in-process test harnesses, raw Mermaid, hand-written Excalidraw JSON, or Markdown reports.

## Required Flow

1. If syntax is unclear, call `sketchi-code-mode/docs` or `sketchi-code-mode/search`.
2. Call `sketchi-code-mode/execute` with an async JavaScript arrow function.
3. Inside the function, use `sketchi.buildFlowchart` for process graphs, `sketchi.buildMindmap` for nested topic hierarchies, or `sketchi.buildSequenceDiagram` for chronological participant interactions, then `sketchi.applyDiagramPatch` only for styling or supported visual edits.
4. Request user-facing artifacts:

```js
options: {
  artifactFormats: ["scene", "excalidraw", "png"],
  inlineArtifacts: [],
}
```

5. If the MCP text content begins with `Sketchi artifact ready.`, paste that first text block as the final chat response and stop.
6. If the execute result contains `artifactDelivery.finalResponseText`, paste that text as the final chat response and stop.
7. Otherwise return the accepted Sketchi artifact id, diagram id, artifact format refs, and the Excalidraw/PNG raw URLs directly in the chat response.

## Guardrails

- Do not create or edit repo files unless the user explicitly asks for files.
- Do not create local wrapper files, inspect nested inline Excalidraw JSON, or create an alternate Markdown/Mermaid artifact after Sketchi accepts an artifact. The final chat response with the Sketchi artifact IDs and URLs is the deliverable.
- Do not write a Markdown/Mermaid summary as the deliverable after Sketchi accepts an artifact.
- Do not call `sketchi.getArtifact({ format: "scene" })` just to create a local summary or wrapper. `scene` is only for patching/debugging, and the accepted artifact bundle is already the deliverable.
- `scene` is for patching and debugging only. `excalidraw` and `png` are the user-facing outputs.
- If local repo context is needed, inspect files only to understand the graph, then send the final graph to the MCP execute tool.
- For vague repo/system architecture prompts, summarize into a readable 8-14 node flowchart. Prefer a mostly monotonic spine with short side branches; group related packages/systems into layers instead of drawing every transitive dependency edge.
- Choose by the relationship being communicated: flowcharts for process paths and decisions, mind maps for topic hierarchy, and sequence diagrams for ordered messages between participants.
- Do not prompt the user to authenticate to Sketchi or add credentials. The deployed MCP endpoint is public.
- Do not install or require a local browser. The deployed Studio Worker renders PNG artifacts through Cloudflare Browser Run.
- If PNG export fails with a hosted renderer error, retry the hosted MCP request once. If it still fails, return the Excalidraw URL and clearly say PNG export is unavailable. Do not fall back to local rendering or remove PNG silently.

Versions

RepositoryScoreLicence
This page · shpitdev/sketchi100MIT
shpitdev/sketchi100MIT

Database snapshot: 13.11.2026 · package version 6345147f797d (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100sketchi-log-analysis
    Analyze Sketchi playground Cloudflare AI Gateway logs for prompt tuning, Gemini flowchart IR reliability, retained request/response payloads, and scenario regression evidence. Use when inspecting google-ai-studio Gateway logs, validating generated Sketchi IR, or turning model…
  • 100excalidraw
    Create and manage Excalidraw diagrams via MCP for architecture visualization. Use when: excalidraw, whiteboard, visual diagram, hand-drawn diagram.
  • 98excalidraw-mcp
    Build Excalidraw diagrams through the official Excalidraw MCP and turn the same source into a real .excalidraw file on disk or an Obsidian .excalidraw.md drawing. Use whenever the user says "use Excalidraw MCP", asks to create/draw/visualize a diagram, flowchart, architecture,…
  • 100excalidraw-diagram
    Generate Excalidraw diagrams from text content. Supports three output modes - Obsidian (.md), Standard (.excalidraw), and Animated (.excalidraw with animation order). Triggers on "Excalidraw", "diagram", "standard excalidraw", "animate".
  • 95excalidraw-diagram
    Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures, or concepts.
  • 90excalidraw-diagram-generator
    Create, implement, or review excalidraw diagram generator work with format, accessibility, performance, and visual-verification controls. Use when the requested deliverable depends on excalidraw diagram generator.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.