Command Palette

Search for a command to run...

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

book-chapter-generator

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

Designs the chapter structure for an intelligent textbook by analyzing the learning graph and concept dependencies. Use after the learning graph is complete…

dmccrearyот dmccreary★ 115 звёзд на GitHub24 установки в других каталогах

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

Book Chapter Generator

Version: 1.1.2

Changelog

  • v1.1.2 — The "Concepts Covered" table's second column is now headed Concept Impact Score instead of the abbreviated CIS Score, which redundantly repeated "Score" (CIS already stands for Concept Impact Score). Purely a column-header rename -- the underlying cis field, its computation, and every other behavior are unchanged. Applies to newly generated chapters; a book with chapters already generated under an earlier skill version keeps the old header on those files until its own chapter-generation script or table is updated separately.

  • v1.1.1 — Step 4.6's completion message now always includes a strong recommendation to create a learning mascot (via book-installer's learning-mascot guide) before running chapter-content-generator. A mascot designed up front gets placed into every chapter as content is written; adding one after dozens of chapters already exist means retrofitting each one instead. Also stated as a standing rule in the Notes section. No change to chapter design or file structure.

  • v1.1.0 — Version is now tracked in the SKILL.md frontmatter as metadata.ibook.version. It lives under metadata: rather than a bare version: key because strict packaging validation rejects any frontmatter key outside the six spec fields, which would block the skill from claude.ai, the Skills API, and package_skill.py. No behavioural change.

  • v1.0.0 — BREAKING: First tracked version number for this skill. Step 1.4a no longer computes its own "dependents count" from the edge list — it now reads the pre-computed Concept Impact Score (CIS) directly from each node's cis field in learning-graph.json (added by learning-graph-generator v1.06+). CIS is a strictly better importance signal than raw dependents count: it captures transitive impact (a concept with few direct dependents can still be highly foundational if those dependents themselves have many dependents), which plain dependents-count undercounts. The "Concepts Covered" section in each generated chapter's index.md (Step 4.4) is now a markdown table with Concept and CIS Score columns, replacing the old numbered list with a (N dependents) suffix. Requires learning-graph.json to have been regenerated with learning-graph-generator v1.06+ (nodes missing a cis field will read as cis=1, the minimum — check the console output when loading the graph and regenerate if every concept shows 1).

Overview

This skill creates a comprehensive chapter structure for intelligent textbooks by analyzing the course description, learning graph, and concept taxonomy. It designs an optimal chapter outline that ensures all concepts are covered exactly once, respects dependency relationships, and distributes content appropriately across chapters. This task is run serially after the learning graph generation.

When to Use This Skill

Use this skill when:

  • The course description is finalized and the a learning graph has been generated (learning-graph.json exists)
  • Chapter content structure needs to be designed before writing begins

Prerequisites:

  • /docs/course-description.md must exist
  • /docs/learning-graph/learning-graph.json must exist with ~200 concepts
  • mkdocs.yml file must be in place for the chapter links to be generated to the nav section

Do NOT use this skill if:

  • The learning graph hasn't been generated yet (use learning-graph-generator first)
  • Chapter content already exists and just needs updating

Chapter Generation Workflow

This skill follows a four-step sequential workflow with user approval before generating files.

Step 1: Analyze Input Resources

Before designing chapters, analyze the following resources:

1.1 Read Course Description

Read /docs/course-description.md to understand:

  • Course title and target audience
  • Learning objectives and outcomes
  • Prerequisite knowledge
  • Overall scope and goals

1.2 Read Learning Graph

Read /docs/learning-graph/learning-graph.json to extract:

  • Complete list of concepts (typically 200 concepts)
  • Concept dependencies (which concepts require others as prerequisites)
  • Concept groupings by taxonomy category
  • Metadata about the course

!!! info "Learning Graph = Concept Dependency Graph (a DAG)" A learning graph is a Concept Dependency Graph -- a directed acyclic graph (DAG) where each edge represents a "depends on" relationship. We chose the dependency direction (edges point FROM a concept TO the concepts it depends on) because this aligns with standard graph theory algorithms for topological sorting, cycle detection, and transitive reduction.

Some learning management systems use an alternative called an **enablement graph**,
where edges point in the opposite direction (FROM prerequisite TO the concepts it
enables). The enablement direction is more intuitive for some teachers ("learning
Ecology enables you t
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Designs the chapter structure for an intelligent textbook by analyzing the learning graph and concept dependencies. Use after the learning graph is complete and before generating chapter content.

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

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

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

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

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

Сравнить book-chapter-generator с