スキル一覧に戻る
pytagoraspublishing

book

by pytagoraspublishing

0🍴 0📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: book description: Manage book projects - create/edit parts, chapters, sections. Use when user wants to add, rename, delete, or reorganize book structure elements. Triggers on "new chapter", "add section", "rename part", "delete appendix", "move chapter". allowed-tools: Read, Glob, Grep, Edit, Write, Bash, AskUserQuestion

Book Skill

Manage structured book projects with parts, chapters, sections, and appendices.

Config Requirement

Always read config.yaml first to determine the active filetype (latex, markdown, html).

./config.yaml

The types field specifies active formats. Load the corresponding implementation from commands/<type>/.

CLI Commands

Compile

python .claude/skills/book/cli/windows/compile_latex.py [filename]
  • No filename: compiles main.tex
  • With filename: compiles specified file

Initialize Project

python .claude/skills/book/cli/windows/init_book.py <type>
  • Creates project structure for specified type (latex, markdown, html)

Image Generation

python .claude/skills/book/cli/windows/image_gen.py new --path "path/to/output.png" "prompt describing the image"
python .claude/skills/book/cli/windows/image_gen.py edit --path "path/to/image.png" "prompt describing changes"

Structure Commands

For structural operations, load the command file from commands/:

OperationCommand File
Partnew-part.md, insert-part.md, rename-part.md, delete-part.md
Chapternew-chapter.md, insert-chapter.md, rename-chapter.md, delete-chapter.md, move-chapter.md, swap-chapters.md
Sectionnew-section.md, insert-section.md, rename-section.md, delete-section.md, move-section.md, swap-sections.md
Appendixnew-appendix.md, insert-appendix.md, rename-appendix.md, delete-appendix.md

Each command file specifies:

  1. Required information to gather
  2. Type-agnostic workflow steps
  3. Reference to type-specific implementation in commands/<type>/

Missing Arguments Rule

Always use AskUserQuestion when required information is missing:

  • Part/Chapter/Section/Appendix operations: Ask for slug and title if not provided
  • Insert operations: Ask for position if not specified
  • Move operations: Ask for target location if not provided

Reference Documents

  • templates/structure.md - Folder/file naming conventions
  • filetypes/<type>.md - Type-specific templates and patterns
  • docs/ - Additional reference documentation

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です