kirby-core-development

📁 astoeffer/plugin-marketplace 📅 8 days ago
1
总安装量
1
周安装量
#46868
全站排名
安装命令
npx skills add https://github.com/astoeffer/plugin-marketplace --skill kirby-core-development

Agent 安装分布

replit 1
opencode 1
codex 1
gemini-cli 1

Skill 文档

Kirby Core Development

Create and modify Kirby CMS plugins, templates, and content for the Cloodle platform.

When to Use This Skill

  • Creating new Kirby plugins
  • Defining page blueprints
  • Building templates and snippets
  • Working with Kirby blocks
  • API route development

Server Paths

  • Kirby root: /opt/cloodle/apps/kirby/
  • Plugins: /opt/cloodle/apps/kirby/site/plugins/
  • Content: /opt/cloodle/apps/kirby/content/

Quick Start

See reference.md for complete patterns and examples.

Plugin Registration

<?php
Kirby::plugin('cloodle/my-plugin', [
    'blueprints' => [
        'pages/custom' => __DIR__ . '/blueprints/pages/custom.yml'
    ],
    'templates' => [
        'custom' => __DIR__ . '/templates/custom.php'
    ]
]);

Blueprint Structure

title: Custom Page
fields:
  text:
    type: blocks
    fieldsets:
      - heading
      - text
      - image

Existing Cloodle Plugins

  • cloodle/ – Portal dashboard
  • moodle-export/ – IMSCP export
  • zero-one/ – Theme plugin
  • oauth/ – Authentik integration