Back to list
astoeffer

kirby-to-book

by astoeffer

0🍴 1📅 Jan 24, 2026

SKILL.md


name: kirby-to-book description: Convert Kirby CMS content to book/document formats. Use when generating PDFs, ebooks, or structured documents from CMS content. allowed-tools: Read, Write, Grep, Glob

Kirby to Moodle Book Skill

Export Kirby content as native Moodle Book chapters.

Trigger

  • Content export to Moodle requests
  • Book module creation
  • Multi-page content conversion

Book XML Structure

<?xml version="1.0" encoding="UTF-8"?>
<book>
    <name>Book Title</name>
    <intro><![CDATA[<p>Description</p>]]></intro>
    <chapters>
        <chapter>
            <pagenum>1</pagenum>
            <subchapter>0</subchapter>
            <title>Chapter Title</title>
            <content><![CDATA[<p>HTML content</p>]]></content>
        </chapter>
    </chapters>
</book>

Kirby Block to HTML Mapping

Kirby BlockHTML Output
heading<h2> or <h3>
text<div class="cloodle-text">
image<figure><img><figcaption>
quote<blockquote>
list<ul> or <ol>

Export Process

  1. Fetch Kirby page via API or walker
  2. Transform blocks to HTML
  3. Apply Cloodle CSS classes
  4. Generate Book XML
  5. Package with images

Cloodle Styling Classes

<div class="cloodle-content">
    <h2 class="cloodle-heading">Title</h2>
    <div class="cloodle-text">
        <p>Content styled with Cloodle theme</p>
    </div>
</div>

Existing Tools

  • /opt/cloodle/tools/content-pipeline/pptx_to_moodle.py
  • Supports: --format book

Score

Total Score

50/100

Based on repository quality metrics

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

Reviews

💬

Reviews coming soon