Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

gitbook

БесплатноБез исполняемых скриптовНе проверен

GitBook documentation platform. Use when creating, publishing, or managing docs sites — content structure, blocks, Git Sync, customization, AI search…

enunoот enuno★ 17 звёзд на GitHub16 установок в других каталогах

Об этом скилле

GitBook Skill

Comprehensive assistance with GitBook — an AI-native documentation platform for creating, publishing, and managing product documentation, API references, and knowledge bases.

When to Use This Skill

Trigger this skill when:

  • Creating documentation in GitBook (spaces, pages, blocks, collections)
  • Setting up Git Sync between a GitBook space and a GitHub or GitLab repository
  • Publishing a docs site — custom domains, site structure, visibility settings
  • Configuring GitBook AI — AI Search, GitBook Assistant, GitBook Agent
  • Collaborating on docs — change requests, roles, permissions, comments
  • Importing content from Notion, Confluence, GitHub, or other sources
  • Customizing site appearance — themes, colors, fonts, logos, layout
  • Using the GitBook API or building integrations
  • Embedding docs into a product using Docs Embed
  • Troubleshooting Git Sync conflicts, publishing issues, or permission problems

Key Concepts

Content Hierarchy

Organization
  └── Collection (group of spaces)
       └── Space (a documentation project)
            └── Page (a document)
                 └── Block (content unit: text, code, hint, table, etc.)

Spaces vs Sites

  • Space — where you write and organize content (private by default)
  • Docs Site — the published version of one or more spaces; has its own URL, customization, and access controls

Change Requests

GitBook's equivalent of Git pull requests. All edits happen in a change request (a branch of the live content), then get reviewed and merged — preserving a full audit trail.


Getting Started

Create an Account and First Space

  1. Sign up at app.gitbook.com
  2. Create a new space from the sidebar
  3. Add pages using the + button or / command in the editor
  4. Publish as a docs site when ready

Import Existing Content

GitBook can import from:

  • Confluence — via the import panel
  • Notion — via the import panel
  • GitHub/GitLab — via Git Sync (bi-directional)
  • Files — Markdown, HTML, Word documents, CSV
Space menu → Import → Choose source

Content Creation

Blocks

GitBook is block-based — every element is a block. Insert with / in the editor.

Block Purpose
Paragraph Standard text with inline formatting
Heading (H1/H2/H3) Page structure and SEO
Code block Syntax-highlighted code with language detection
Hint Callouts: info, warning, danger, success
Table Structured data
Tabs Side-by-side content variants
Expandable Collapsible FAQ-style sections
Stepper Step-by-step guides
Cards Visual navigation grids
Image Single image or gallery
Embed Video, Figma, CodePen, etc.
Reusable content Synced block used across multiple pages
OpenAPI Auto-rendered API reference from an OpenAPI spec
Drawing Inline diagram editor
Math/TeX Mathematical formulas

Hint Block Styles

{% hint style="info" %}    → Blue info box
{% hint style="warning" %} → Yellow warning
{% hint style="danger" %}  → Red alert
{% hint style="success" %} → Green success
{% endhint %}

Code Blocks

  • Set language for syntax highlighting
  • Toggle line numbers, caption, line wrap
  • One-click copy button for readers

Reusable Content

Create once, sync everywhere. Edit one instance and all uses update automatically.

/ → Reusable content → Create new reusable block
Requires Pro or Enterprise plan

Variables and Expressions

Define reusable text values (version numbers, product names) at the space level. Reference them inline with {{ variable_name }}. Useful for content that changes across versions.

Version Control

Every change request merge creates a history entry. View the Version history side panel to see all changes — who made them, when, and what changed. Roll back by creating a new change request from a past version.


Git Sync

Bi-directional sync between a GitBook space and a GitHub or GitLab repo.

Enabling GitHub Sync

  1. Open space → Configure (top-right header)
  2. Select GitHub Sync from the provider list
  3. Authenticate with GitHub (one-time)
  4. Choose repo, branch, and sync direction:
    • GitHub → GitBook (import existing docs)
    • GitBook → GitHub (export to repo)
    • Bi-directional (recommended)

.gitbook.yaml Configuration

Place at the repo root to control how GitBook parses the repo:

root: ./docs          # optional: look in a subdirectory
structure:
  readme: README.md   # the space's root page
  summary: SUMMARY.md # table of contents

redirects:
  previous/page: new-folder/page.md

Monorepos

Point root: to a specific subdirectory to sync only part of a repo.

How Content Maps

  • Markdown files → GitBook pages
  • Folders → page groups
  • SUMMARY.md → sidebar structure (if present)
  • Images in .gitbook/assets → embedded images

Pull Request

Полный SKILL.md на GitHub

Установить gitbook в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/account.mdreferences/ai.mdreferences/collaboration.mdreferences/content.mdreferences/developers.mdreferences/getting_started.mdreferences/index.mdreferences/llms-full.mdreferences/llms-txt.mdreferences/llms.mdreferences/publishing.md

FAQ

Что делает скилл gitbook?

GitBook documentation platform. Use when creating, publishing, or managing docs sites — content structure, blocks, Git Sync, customization, AI search, collaboration, and the GitBook API.

Как установить скилл gitbook?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gitbook запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить gitbook с