Логотип Canvas Generate

Canvas Generate

Сообщество
AgriciDaniel
canvas-generate

AI-orchestrated full canvas generation. Given a description, detects the best archetype, generates content and visuals, instantiates a template, applies layout, and produces a complete canvas. The flagship command. Dispatches canvas-media and canvas-composer agents for parallel asset generation. Triggers on: canvas generate, generate canvas, create a visual board, build me a canvas, make a canvas about, canvas from description, auto-generate canvas, full canvas generation.

Обзор

ИздательAgriciDaniel
Репозиторийclaude-canvas
Название навыкаcanvas-generate
Звёзды
301
Форки
27
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — AgriciDaniel. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Canvas Generate в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/AgriciDaniel/claude-canvas/tree/main/skills/canvas-generate
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AgriciDaniel/claude-canvas.git /tmp/claude-canvas
mkdir -p .claude/skills
cp -r /tmp/claude-canvas/skills/canvas-generate .claude/skills/canvas-generate
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Canvas Generate в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Canvas Generate, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Canvas Generate не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

canvas-generate: AI-Orchestrated Canvas Generation

The flagship command. Takes a high-level description and produces a complete, populated canvas.

Read ../canvas/references/template-catalog.md for archetype descriptions. Read ../canvas/references/media-guide.md for image/SVG/GIF integration. Read ../canvas/references/mermaid-patterns.md for native diagram options. Read ../canvas/references/performance-guide.md for node limits.


Pipeline

User: "/canvas generate [description]"
          │
          ▼
   1. Analyze description
          │
          ▼
   2. Detect archetype
          │
          ▼
   3. Plan content (what nodes, what media)
          │
          ▼
   4. Generate in parallel:
      ┌─────────────┬────────────────┐
      │ Composer     │ Media agent    │
      │ (text nodes) │ (images/SVGs)  │
      └──────┬──────┴───────┬────────┘
             │              │
             ▼              ▼
   5. Instantiate template with content
          │
          ▼
   6. Apply layout algorithm
          │
          ▼
   7. Validate + write

Workflow

Step 1: Analyze Description

Parse the user's description to extract:

  • Topic: What is the canvas about?
  • Purpose: What will it be used for? (presenting, planning, exploring, showcasing)
  • Content hints: Any specific items, data, or requirements mentioned?
  • Visual requests: Does the user want images, diagrams, or text-only?

Step 2: Detect Archetype

Map the description to one of the 12 template archetypes:

Keywords in descriptionArchetype
"presentation", "slides", "deck", "present"presentation
"flowchart", "process", "workflow", "steps"flowchart
"mind map", "brainstorm", "ideas", "explore"mind-map
"gallery", "images", "photos", "showcase"gallery
"dashboard", "metrics", "KPIs", "status"dashboard
"storyboard", "scenes", "video", "script"storyboard
"knowledge graph", "entities", "relationships"knowledge-graph
"mood board", "inspiration", "aesthetic", "vibe"mood-board
"timeline", "events", "history", "milestones"timeline
"comparison", "vs", "compare", "options"comparison
"kanban", "tasks", "board", "sprint"kanban
"brief", "kickoff", "project plan", "objectives"project-brief

If the archetype is ambiguous, ask the user to clarify.

Step 3: Plan Content

Based on the archetype and description, plan:

  • Node count: How many nodes does this canvas need? (respect <120 target)
  • Text content: What text goes in each node?
  • Media assets: What images, SVGs, or GIFs are needed?
  • Mermaid diagrams: What data visualizations should be embedded as Mermaid?
  • Edges: What connections exist between nodes?

Step 4: Generate Content and Media

For simple canvases (text-only, <10 nodes): Generate content inline — no agents needed.

For complex canvases (media required or >10 nodes): Dispatch agents in parallel:

a. Dispatch canvas-composer agent with:

  • Archetype name
  • Topic description
  • Number of text nodes needed
  • Any source files for context

b. Dispatch canvas-media agent with (if media requested):

  • List of images/SVGs/GIFs needed
  • Prompt descriptions for each
  • Target dimensions

c. Wait for both agents to complete. Collect their JSON output.

Step 5: Instantiate Template

Use the template engine to create the base canvas:

bash
python3 scripts/canvas_template.py [archetype] [output_path] \
  --param title="[topic]" --param [archetype_param]=[count]

Then update each node's content with the composer agent's output using the Edit tool.

If the media agent generated images:

  • Add each as a file node inside the appropriate zone/slide
  • Use the auto-positioning algorithm or manual placement inside groups

Step 6: Apply Layout

If the template's built-in layout is insufficient (e.g., mind-map needs radial, knowledge-graph needs force), apply the appropriate algorithm:

bash
python3 scripts/canvas_layout.py [output_path] [algorithm]

Step 7: Quality Gate (MANDATORY)

This is the most critical step. A canvas that passes validation but has placeholder text is a FAILURE.

  1. Content check: Read every text node in the canvas. Search for these forbidden strings:

    • "Describe this" — replace with real content
    • "YYYY-MM-DD" — replace with real dates
    • "Content goes here" — replace with real content
    • "Value: 0" — replace with realistic values
    • "Define this entity" — replace with real definition
    • "What happened" — replace with real event If ANY are found, edit the canvas to replace them before proceeding.
  2. Layout check: Verify the correct layout was applied:

    • Mind-map → radial layout (nodes should expand from center, not in a grid)
    • Knowledge-graph → force layout (nodes should be organically spread, not in a grid)
    • Flowchart → dagre layout (hierarchical top-down or left-right flow) If the layout looks wrong, run python3 scripts/canvas_layout.py <path> <algorithm>.
  3. Spacing check: Run validation to catch overlaps:

    bash
    python3 scripts/canvas_validate.py [output_path]

    Must return valid: true with 0 errors and 0 overlap warnings.

  4. Visual scan: Is this canvas something you'd be proud to show? Would a user open it and immediately understand it? If not, improve it.

Only after ALL four checks pass, report success.


Examples

Example 1: Text-Only Dashboard

User: /canvas generate "project dashboard for mobile app launch"

  1. Archetype: dashboard
  2. Plan: 4 metric cards (Downloads, DAU, Crashes, Rating), 1 status zone
  3. Generate content inline (simple, text-only)
  4. Instantiate: python3 scripts/canvas_template.py dashboard output.canvas --param title="Mobile App Launch" --param metric_count=4
  5. Edit metric nodes with specific content
  6. No layout change needed (grid is fine)
  7. Validate and report

Example 2: Mood Board with AI Images

User: /canvas generate "mood board for a cyberpunk game"

  1. Archetype: mood-board
  2. Plan: 8 image slots, title card with aesthetic description
  3. Dispatch canvas-composer: write title card content (mood, colors, style)
  4. Dispatch canvas-media: generate 8 images via /banana:
    • "neon cityscape, cyberpunk, rain, reflections"
    • "cyberpunk character portrait, augmented, glowing eyes"
    • (6 more themed prompts)
  5. Instantiate mood-board template
  6. Replace placeholder text nodes with generated image file nodes
  7. Validate and report

Example 3: Presentation from Topic

User: /canvas generate "presentation about our Q3 results"

  1. Archetype: presentation
  2. Plan: 6 slides (title, overview, revenue, growth, challenges, next steps)
  3. Dispatch canvas-composer: write 6 slides of content
  4. Optionally dispatch canvas-media: 1-2 hero images
  5. Instantiate presentation template with slide_count=6
  6. Edit each slide's text with composer output
  7. Validate and report

Fallback Behavior

ScenarioAction
User description too vagueAsk: "What type of canvas? (presentation, mood board, dashboard, etc.)"
Archetype detected but uncertainConfirm: "I'll create a [archetype] canvas. Sound right?"
Media skills not availableBuild text-only canvas, suggest manual image addition
Canvas would exceed 120 nodesWarn and suggest splitting into sub-canvases
Template instantiation failsFall back to manual canvas construction with the orchestrator

Часто задаваемые вопросы

Что делает навык ИИ Canvas Generate?

AI-orchestrated full canvas generation. Given a description, detects the best archetype, generates content and visuals, instantiates a template, applies layout, and produces a complete canvas. The flagship command. Dispatches canvas-media and canvas-composer agents for parallel asset generation. Triggers on: canvas generate, generate canvas, create a visual board, build me a canvas, make a canvas about, canvas from description, auto-generate canvas, full canvas generation.

Зачем использовать Canvas Generate в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Canvas Generate — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Canvas Generate в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/AgriciDaniel/claude-canvas/tree/main/skills/canvas-generate. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Canvas Generate?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Canvas Generate?

С любым количеством. В TypingMind вы можете использовать Canvas Generate с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Canvas Generate?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — AgriciDaniel. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇