Command Palette

Search for a command to run...

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

book-installer

БесплатноЗапускает вложенные скриптыНе проверен

Installs and configures intelligent-textbook infrastructure - scaffold a brand-new MkDocs Material textbook (init textbook), install any of 41 features (math…

dmccrearyот dmccreary★ 115 звёзд на GitHub

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

Book Installer

Version: 1.0.5

Changelog

  • v1.0.5 — The mascot test page template (references/assets/templates/docs/learning-graph/mascot-render-test.md) now fits each transparency swatch tightly around its pose: the image has a fixed max height with width: auto (the same rule v1.0.2 gave mascot.css), and the swatches drop their inner padding and stop stretching to half the card. The old width: 100% + object-fit: contain box left empty checkerboard on both sides of every portrait pose, and the swatch outline now shows the 4 px trim border directly (found in mediterranean-travels). Existing books should replace the swatch rules in the <style> block of their docs/learning-graph/mascot-test.md.

  • v1.0.4 — references/home-page-template.md now has a required Landing Page Title Rule: when the cover image renders the book title, the landing page hides the duplicate h1 with the <style> block and starts the cover image's alt text with the exact book title, because display: none removes the h1 from the accessibility tree and the alt text is then what a screen reader announces. The rule also forbids hiding the h1 over a placeholder cover that does not show the title. The Step 8 template, Step 10 snippet, complete example, and troubleshooting section follow the rule (the old template hid a generic # Welcome heading and gave the cover only the bare title as alt text). The scaffold docs/index.md, the supplementary-content generator (Step 11), and the cover-image generator point to the rule. Existing books should add the same <style> block and title-first alt text to their docs/index.md (found in oer-evaluator).

  • v1.0.3 — The init-textbook mkdocs.yml template's exclude_docs now lists **/cover-image-prompt.md. The cover-image-generator guide writes docs/img/cover-image-prompt.md, but the template only excluded cover-prompt.md, so every new book published its cover prompt as a stray page (found in oer-evaluator). Books scaffolded earlier should add the same line to their own mkdocs.yml. This release also updates the book-metrics feature description in this file to mention the Reading Level column and the \( \) / \[ \] equation detection.

  • v1.0.2 — The canonical mascot CSS in references/learning-mascot.md (Step 5) now fixes the admonition image's height at --mascot-size and sets width: auto, dropping the square box and object-fit: contain. Mascot poses are portrait, so the square box shrank them and left visible empty space on both sides of the bird (a 185×280 pose drew 59px wide inside a 90px box in oer-evaluator). Existing books should make the same change in their own docs/css/mascot.css.

  • v1.0.1 — The canonical mascot CSS in references/learning-mascot.md (Step 5) now targets .md-typeset img.mascot-admonition-img instead of the bare .mascot-admonition-img. Material's .md-typeset img { height: auto } outranked the bare class selector, so only the width applied and portrait poses rendered far taller than --mascot-size (90px-wide poses measured 93–210px tall in clocks-and-watches). The class name itself is unchanged, so chapter markdown, validate-chapter-mascots.py, and glightbox skip_classes need no edits. Existing books should update the selector in their own docs/css/mascot.css.

  • v1.0 — First tracked version number for this skill. Adds references/mascot-placement-rules.md as the single canonical source for when and how often a learning mascot may appear, plus scripts/render-mascot-guide.py (renders those rules into a book's CONTENT-GENERATION-GUIDE.md between sentinel comments so the copy is regenerated, never hand-edited). The old fixed per-chapter ceiling is replaced with an informal guideline scaled to the chapter's concept count (~1 admonition per 2 concepts, adjusted for reader age), advisory only and never a hard failure. scripts/validate-chapter-mascots.py now also reports the deprecated -encouraging spelling of the encourage pose class — which mascot.css never defined, so it rendered unstyled — and exempts the Chapter 1 self-introduction from the 1-3 sentence cap it always violated. Version is tracked under metadata: rather than a bare version: key, which strict packaging validation rejects.

Overview

This meta-skill handles installation and setup tasks for intelligent textbook projects. It consolidates five installation skills into a single entry point with on-demand loading of specific installation guides.

When to Use This Skill

Use this skill when users request:

  • Setting up a new MkDocs Material project
  • Creating a new intelligent textbook from scratch (feature #0 scaffold)
  • Installing a learning graph viewer
  • Setting up skill usage tracking with hooks
  • Registering the book with Google Analytics (GA4 Measurement ID)
  • Bootstrapping project infrastructure
Полный SKILL.md на GitHub

Установить book-installer в Claude Code и Claude Desktop

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

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

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

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

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

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

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

README.mdTODO.mdassets/init-textbook/.gitignoreassets/init-textbook/AGENTS.md.templateassets/init-textbook/CLAUDE.md.templateassets/init-textbook/CONTENT-GENERATION-GUIDE.mdassets/init-textbook/docs/about.mdassets/init-textbook/docs/chapters/index.mdassets/init-textbook/docs/contact.mdassets/init-textbook/docs/course-description.mdassets/init-textbook/docs/css/extra.cssassets/init-textbook/docs/img/cover.pngassets/init-textbook/docs/img/license.pngassets/init-textbook/docs/index.mdassets/init-textbook/docs/learning-graph/index.mdassets/init-textbook/docs/license.mdassets/init-textbook/docs/sims/index.mdassets/init-textbook/mkdocs.ymlassets/init-textbook/plugins/social_override.pyassets/init-textbook/project.code-workspaceassets/mkdocs-serve-warning/mkdocs_serve_warning.pyreferences/about-page.mdreferences/assets/css/custom-admonitions.cssreferences/assets/css/feedback.cssreferences/assets/css/glightbox-custom.cssreferences/assets/css/quiz.cssreferences/assets/index.mdreferences/assets/js/copy-admonition.jsreferences/assets/js/feedback.jsreferences/assets/js/giscus-loader.jsreferences/assets/js/katex-config.jsreferences/assets/js/mathjax-config.jsreferences/assets/js/quiz.jsreferences/assets/local.cssreferences/assets/main.htmlreferences/assets/script.jsreferences/assets/slide-viewer/index.mdreferences/assets/slide-viewer/local.cssreferences/assets/slide-viewer/main.htmlreferences/assets/slide-viewer/script.js

FAQ

Что делает скилл book-installer?

Installs and configures intelligent-textbook infrastructure - scaffold a brand-new MkDocs Material textbook (init textbook), install any of 41 features (math, mascot, learning graph viewer, Google Analytics GA4, custom 404, kanban board), and generate book metrics. Routes to the appropriate installation guide.

Как установить скилл book-installer?

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

Скилл book-installer запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить book-installer с