basercms-core-plugin-convert

Installation
SKILL.md

baserCMS 通常プラグイン → コアプラグイン 昇格手順

サードパーティ/単体配布の baserCMS プラグインを、baserCMS 本体(monorepo)のコアプラグインとして取り込む手順。 参照: plugins/bc-blog 等の既存コアプラグインが「正」の構成。

前提と役割分担

  • バージョン移行(5.2→5.3 / PHP8.5)でのコード非推奨対応は basercms-plugin-5x-update スキル。
  • ユニットテストの実行・集計・切り分けは basercms-unittest スキル。
  • 本書は「通常プラグイン構成 → コアプラグイン構成」への構造変換に絞る。

0. 大原則 / 完成形

  • コアプラグインは plugins/<bc-name>/ に置かれ、自前の .git / vendor/ / bin/ / composer.lock / phpunit.xml.dist / tests/bootstrap.php / tests/TestApp/ を持たない。テストはアプリ全体のテスト基盤で実行する。
  • 依存・オートロード・テスト登録・CI 登録はルート側に集約する。
  • 完成形の例(plugins/bc-blog): README.md / composer.json / config/ / config.php / src/ / tests/ / webroot/(+必要なら webpack.config.js)。

Installs
38
First Seen
Jun 20, 2026
basercms-core-plugin-convert — baserproject/baser-skills