Agent skill

Basercms5 Development

by baserproject in baserproject/basercms

baserCMS 5系(CakePHP 5.0.5系)+ jQuery プロジェクトの共通ルール(環境・ディレクトリ構成・命名規則・ログ/エラーハンドリング・コアハック禁止・サーバ制約)を定めた基底スキル。「baserCMS 5 で開発」「5系プロジェクトの構成・規約を確認」「htdocs/plugins 配下の配置」「CakeLog…

MITAuto-check: notesAgent Workflows

Install Basercms5 Development

skills CLI
$ npx skills add baserproject/basercms --skill basercms5-development -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install baserproject/basercms basercms5-development --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/baserproject/basercms.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/basercms5-development .claude/skills/basercms5-development && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
basercms5-development
GitHub stars
190
Token cost
~1.1k tokens
SKILL.md length
183 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

baserCMS 5系(CakePHP 5.0.5系)+ jQuery プロジェクトの共通ルール(環境・ディレクトリ構成・命名規則・ログ/エラーハンドリング・コアハック禁止・サーバ制約)を定めた基底スキル。「baserCMS 5 で開発」「5系プロジェクトの構成・規約を確認」「htdocs/plugins 配下の配置」「CakeLog…

  • Tasks that involve Hooks and plugins
  • SKILL.md covers 使用技術, ディレクトリ構成のルール, コーディング方針(baserCMS5固有) and 命名規則(baserCMS5固有), plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Basercms5 Development is an agent skill from baserproject/basercms. baserCMS 5系(CakePHP 5.0.5系)+ jQuery プロジェクトの共通ルール(環境・ディレクトリ構成・命名規則・ログ/エラーハンドリング・コアハック禁止・サーバ制約)を定めた基底スキル。「baserCMS 5 で開発」「5系プロジェクトの構成・規約を確認」「htdocs/plugins 配下の配置」「CakeLog でログ出力」「htdocs/vendor/baserproject・cakephp はコアハック禁止」等、5系プロジェクト共通の方針・制約を確認する際に参照する。プラグイン開発・改修の実装パターン(Table/Entity・コントローラ・管理画面フォーム・イベント・Vue/JS 等)は basercms5-plugin-development、テーマ開発・改修(layout/element・ウィジェット・メールフォームテンプレ・アセット)は basercms5-theme-development が正本。baserCMS 4系の開発は basercms4-development、4→5 へのアップグレードは basercms4-to-5-upgrade スキルを参照。

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Hooks and plugins. It works with Vue.js and PHP. The repository describes itself as: baserCMS : Based Website Development Project. The licence is MIT.

When your agent uses it

  • Tasks that involve Hooks and plugins

Example prompts

  • “Use the basercms5-development skill to basercm 5系(CakePHP 5.0.5系)+ jQuery プロジェクトの共通ルール(環境・ディレクトリ構成・命名規則・ログ/エラーハンドリング・コアハック禁止・サーバ制約)を定めた基底スキル。「baserCM…”
  • “/basercms5-development”

What it can do on your machine

Read from SKILL.md and the folder at commit 748b4f6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Basercms5 Development loads about 1.1k tokens when it runs. Until then it costs about 132 tokens; SKILL.md has 183 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~132
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:37
    - 使用ファイル:`htdocs/config/.env`
  • NoteMentions a .env fileSKILL.md:133
    - `htdocs/config/.env.php`(ルーティング・デバッグ設定などの調査)

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from baserproject/basercms at commit 748b4f6, republished under its MIT licence (© baserproject). 183 words, ~1,113 tokens.

Download SKILL.mdSave it as .claude/skills/basercms5-development/SKILL.md (or your agent's skills folder).
name
basercms5-development
description
baserCMS 5系(CakePHP 5.0.5系)+ jQuery プロジェクトの共通ルール(環境・ディレクトリ構成・命名規則・ログ/エラーハンドリング・コアハック禁止・サーバ制約)を定めた基底スキル。「baserCMS 5 で開発」「5系プロジェクトの構成・規約を確認」「htdocs/plugins 配下の配置」「CakeLog でログ出力」「htdocs/vendor/baserproject・cakephp はコアハック禁止」等、5系プロジェクト共通の方針・制約を確認する際に参照する。プラグイン開発・改修の実装パターン(Table/Entity・コントローラ・管理画面フォーム・イベント・Vue/JS 等)は basercms5-plugin-development、テーマ開発・改修(layout/element・ウィジェット・メールフォームテンプレ・アセット)は basercms5-theme-development が正本。baserCMS 4系の開発は basercms4-development、4→5 へのアップグレードは basercms4-to-5-upgrade スキルを参照。
license
MIT

baserCMS5系(CakePHP 5.0.5 系)+ jQuery プロジェクトの開発ルール

このプロジェクトでは、以下の技術スタックおよび設計方針に従って開発されています。

5系スキルは3層構造になっており、本スキルは**共通ベース(環境・ディレクトリ構成・命名・ログ・コアハック禁止・サーバ制約)**を扱う。実装パターンは分野別スキルが正本: プラグイン開発・改修 → basercms5-plugin-development、テーマ開発・改修 → basercms5-theme-development、4→5 移行作業 → basercms4-to-5-upgrade(配下の分野別移行スキル含む)。

推奨: 5系の開発に着手する前に一度 basercms5-claude-workflow-setup(環境セットアップ)を参照し、進め方の環境(設計=superpowers brainstorming/権限整理=permissions-audit/その上での Auto mode/spec・plan の Markdown プレビュー)を整える。提案ベースで、整っていればスキップ。


使用技術

  • baserCMS 5系 を使用(内部的には CakePHP 5.0.5 ベース)
  • バックエンド:PHP 8.1.5 〜 8.2 / CakePHP 5.0.5
  • データベース:MySQL 5.7 〜 8.0
  • フロントエンド:jQuery 1.x〜3.x(プロジェクト内で複数バージョンが混在している可能性あり)
  • HTTPサーバ:Apache(mod_rewrite 有効)

ディレクトリ構成のルール

  • MVC構成は CakePHP 5.0.5 に準拠しつつ、baserCMSでは主にプラグイン単位で構築されている
    • htdocs/plugins/{Plugin名}/Controller/, Model/, View/ にそれぞれ配置される
  • 共通パーツ(ヘッダー、フッターなど)は、テーマ内の Elements/ ディレクトリに配置
    • 主に:htdocs/{テーマ名}/templates/element/
  • レイアウトもテーマ内に配置される
    • 主に:htdocs/{テーマ名}/templates/layout/
    • $this->layout により切り替えが可能
  • 管理画面系は /admin/ プレフィックスのURLルーティングで制御
    • 使用ファイル:htdocs/config/.env
    • 定義内容:export ADMIN_PREFIX="admin"

コーディング方針(baserCMS5固有)

共通ルールのコーディング方針も参照してください。

  • クラスベースよりも関数ベース・手続き的なコードが多く採用されている
  • JavaScript は Viewファイル内の <script> タグ内または .js ファイルに記述
  • Ajax通信は jQuery($.ajax())を用いて行う
  • ES6構文(Promise, fetch, import/export)は使用しない
  • フロント実装に React や Vue などの SPA 技術は導入していない
    • 一部、部分的に利用している箇所がある

命名規則(baserCMS5固有)

共通ルールの命名規則も参照してください。

※ baserCMSやCakePHPの命名慣習(Controller, Helper, Modelなど)はそのまま準拠する


ログ・エラーハンドリング方針(baserCMS5固有)

共通ルールのログ・エラーハンドリング方針も参照してください。

目的: /log エイリアスや、例外処理実装時の提案精度向上

baserCMS5固有の実装方法
  • PHPでは CakeLog::error() または error_log() を利用
  • JavaScriptでは console.error() を暫定対応とし、本実装時はサーバ送信も検討
実装例(baserCMS用で設定ファイルに記述):
/**
 * 専用ログ
 */
if (!defined('PROJECT_PLUGIN_ACTION')) {
	define('PROJECT_PLUGIN_ACTION', 'project_plugin_action');
	CakeLog::config('project_plugin_action', [
		'engine' => 'FileLog',
		'types' => ['project_plugin_action'],
		'file' => 'project_plugin_action',
		'size' => '5MB',
		'rotate' => 5,
	]);
}

// ログを取りたい箇所に記述する
$this->log('Start', PROJECT_PLUGIN_ACTION);
$this->log(print_r($array, true), PROJECT_PLUGIN_ACTION);

使用ライブラリとヘルパー

  • BcBaserHelper, BcFormHelper, BcHtmlHelper など baserCMS 固有ヘルパーを活用
  • HTML の出力は $this->BcBaser->css(), $this->BcBaser->img() などを使用し、手書きは控えめにする

実装パターンの正本は分野別スキルへ

具体的な実装パターン(要点・落とし穴を含む)は、分野別の正本スキルに集約している。

  • プラグイン開発(Table/Entity・コントローラ・管理画面フォーム・イベント・Vue/JS 等)→ basercms5-plugin-development
  • テーマ開発(layout/element・ウィジェット・メールフォームテンプレ・アセット)→ basercms5-theme-development

4→5 移行作業そのものは basercms4-to-5-upgrade / basercms-plugin-4-to-5-upgrade / basercms-theme-4-to-5-upgrade を参照。


ファイル・ディレクトリに関する扱いルール

目的: AIがコードを解析・提案する際に、以下の3つの分類に基づいて適切に扱うことで、不要な提案や誤った変更を防ぎます。

  • 読み取り専用:フレームワークのコアファイルなど、参照はするが変更は禁止
  • 設定調査用:設定値を確認するために参照するが、変更は禁止

以下の分類に基づいて、ファイル・ディレクトリの扱いを明確に区別してください。

読み取り専用(AI/人間が参照するが改変しないこと)
  • htdocs/vendor/baserproject/(baserCMS のコア)
  • htdocs/vendor/cakephp/(CakePHP 本体)
設定調査用(内容の把握目的。値の取得などには使うが変更禁止)
  • htdocs/config/install.php(接続設定の確認)
  • htdocs/config/.env.php(ルーティング・デバッグ設定などの調査)
  • htdocs/bin/cake(CLI の仕様確認)
  • htdocs/webroot/index.php, .htaccess(起動ファイル・Rewrite設定)

サーバ構成・制約(baserCMS5固有)

共通ルールのサーバ構成・制約も参照してください。

  • baserCMS はドキュメントルート配下に配置(index.php がルート)

制約・注意点

  • baserCMS の標準構成に準拠したカスタマイズが基本(コアハック禁止)
  • Laravel や CakePHP 5系など、他フレームワークへの置き換え提案は不要
  • モダン JS フレームワーク(Vue, React など)に関する提案も不要
  • 検討や提案を行う場合は、既存構成との互換性と影響を最優先に考慮すること
  • PHP 8.1.5の制約を考慮した実装を心がける
  • jQuery 1.x〜3.xの互換性を保つ
  • MySQL 5.7〜8.0の両方で動作するSQL文を使用
  • CakePHP4系準拠。Table / Entity の責務分離を意識。
  • バリデーションは Table クラスに定義。
  • データベース変更は Migration (phinx) を利用。

© baserproject, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/basercms5-development of baserproject/basercms.

Open the folder on GitHubat commit 748b4f6

Compare with similar skills

Basercms5 Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Basercms5 Development compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Basercms5 Development this skillbaserproject/basercms190—~1.1kAutomated safety check: NotesMIT
Discord Php Interactionsdiscord-php/DiscordPHP1.1k—~1.5kAutomated safety check: PassMIT
Plugin Forgedavila7/claude-code-templates32k2 repos~1.3kAutomated safety check: PassMIT
Interaction Flow Keeperdiscord-php/DiscordPHP1.1k—~1.7kAutomated safety check: PassMIT
Wp Plugin Developmentjorgerosal/wordpress-skills100—~12kAutomated safety check: PassMIT
Livewire Developmentcoollabsio/coolify63k—~964Automated safety check: PassMIT

Similar skills

  • Discord Php Interactions

    discord-php/DiscordPHP

    Build DiscordPHP slash commands and message components — global command trees with subcommands, user- AND guild-installable commands usable in DMs / group DMs / guild channels, Components V2…

    1.1k GitHub stars~1.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Plugin Forge

    davila7/claude-code-templates

    Create and manage Claude Code plugins with proper structure, manifests, and marketplace integration.

    32k GitHub starsUsed in 2 repos~1.3k tokens
    Agent WorkflowsAuto-check passed
  • Interaction Flow Keeper

    discord-php/DiscordPHP

    Maintain interaction flow — Interaction typing, resolved data caching, command routing, autocomplete, modal responses, and interaction builders.

    1.1k GitHub stars~1.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Wp Plugin Development

    jorgerosal/wordpress-skills

    WordPress plugin architecture review and WordPress.org submission standards.

    100 GitHub stars~12k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed
  • Livewire Development

    coollabsio/coolify

    A skill your agent uses for any task or question involving Livewire.

    63k GitHub stars~964 tokensUpdated today
    Backend & APIsAuto-check passed
  • Livewire Development

    yungifez/skuul

    A skill your agent uses for any task or question involving Livewire.

    409 GitHub starsUsed in 1 repo~1.9k tokens
    Backend & APIsAuto-check passed

More from baserproject/basercms

All 15 skills in this repo
  • Basercms Security Advisory

    baserproject/basercms

    baserCMS のリポジトリセキュリティアドバイザリ(GHSA・triage含む)対応を、一覧取得→指摘検証→課題別の修正→プライベートフォーク/ブランチ/PR作成→ローカル検証まで一気通貫で扱う手順とスクリプト。「セキュリティアドバイザリを確認」「triageの脆弱性を検証」「アドバイザリごとにフォークとPRを作って」「脆弱性修正をプルリクにまとめて」等のときに使う。Copilot/GHAは…

    190 GitHub stars~1.4k tokensUpdated 2 days ago
    Auto-check passed
  • Basercms Core Plugin Convert

    baserproject/basercms

    baserCMS の「通常プラグイン(サードパーティ/単体配布)」を monorepo の「コアプラグイン」に昇格させる手順。「コアプラグインに変更」「コアプラグイン化」「通常プラグインをコアに昇格」「monorepo に取り込む」等のときに参照する。プラグイン名の規約変更(bc- プレフィックス付与・CamelCase→ハイフン区切り)、.git/シンボリックリンク/standalone…

    190 GitHub stars~3.1k tokensUpdated 2 days ago
    Auto-check passed
  • Basercms Plugin 5x Update

    baserproject/basercms

    baserCMS プラグインを 5.2系 から 5.3系(PHP 8.5 / CakePHP 5.2.x ベース、開発中)へ移行する際の baserCMS 固有の破壊的変更・非推奨・テスト基盤対応のレシピ集。「プラグインを5.3に対応」「baserCMS 5.3 マイグレーション」「PluginCollection::create(): $config null given」「Plugin…

    190 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed
  • Basercms Release Note

    baserproject/basercms

    baserCMS の plugins/baser-core/VERSION.txt に、リリース分の変更履歴(NEW/CHG/BUG)をコミットログから生成して追記する手順。「VERSION.txt を更新して」「リリースノートを作って」「変更履歴をまとめて」「今回のリリース分の変更点を書き出して」「前回リリースからの差分を VERSION.txt…

    190 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Basercms Unittest

    baserproject/basercms

    baserCMS(CakePHP5 / PHPUnit)のユニットテストをローカル Docker 環境で実行・調査する手順。「ユニットテストを実行して」「全テストを走らせて」「このテストだけ流して」「テスト失敗を調べて」「プラグイン単体でテストを動かしたい」「プラグインにテスト環境を導入したい」等のときに参照する。コンテナ名・実行コマンド・権限自動承認のためのコマンド整形・失敗の集計と切り分け方…

    190 GitHub stars~4.9k tokensUpdated 2 days ago
    Auto-check passed
  • Basercms4 Development

    baserproject/basercms

    baserCMS 4系(CakePHP 2.10ベース)+ jQuery プロジェクトの開発ルール集。「baserCMS 4 で開発」「4系のプラグインを修正」「CakePHP 2系のコードを書く」「app/Plugin 配下の Controller/Model/View」「テーマの…

    190 GitHub stars~877 tokensUpdated 2 days ago
    Auto-check passed

Works with

Categories

Questions about Basercms5 Development

What does Basercms5 Development do?

baserCMS 5系(CakePHP 5.0.5系)+ jQuery プロジェクトの共通ルール(環境・ディレクトリ構成・命名規則・ログ/エラーハンドリング・コアハック禁止・サーバ制約)を定めた基底スキル。「baserCMS 5 で開発」「5系プロジェクトの構成・規約を確認」「htdocs/plugins 配下の配置」「CakeLog…. Basercms5 Development is an agent skill from baserproject/basercms.

When should I use Basercms5 Development?

Basercms5 Development fits situations like: tasks that involve Hooks and plugins.

How do I install Basercms5 Development in Claude Code?

Run `npx skills add baserproject/basercms --skill basercms5-development -a claude-code`. Or copy the skill folder (.agents/skills/basercms5-development in baserproject/basercms) into .claude/skills/basercms5-development in your project. Claude Code loads it when a task matches its description.

How do I install Basercms5 Development in Codex?

Run `npx skills add baserproject/basercms --skill basercms5-development -a codex`. Or copy the skill folder (.agents/skills/basercms5-development in baserproject/basercms) into .agents/skills/basercms5-development in your project. Codex loads it when a task matches its description.

Can I use Basercms5 Development in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add baserproject/basercms --skill basercms5-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/basercms5-development, .gemini/skills/basercms5-development, .github/skills/basercms5-development and .opencode/skills/basercms5-development in your project.

What does Basercms5 Development need to run?

SKILL.md names no scripts, command-line tools or credentials: Basercms5 Development is instructions for the agent only.

Does Basercms5 Development access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Basercms5 Development safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Basercms5 Development use?

Basercms5 Development is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Basercms5 Development use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Basercms5 Development?

Skills that share tags, products or a category with Basercms5 Development: Discord Php Interactions (discord-php/DiscordPHP, 1.1k stars), Plugin Forge (davila7/claude-code-templates, 32k stars), Interaction Flow Keeper (discord-php/DiscordPHP, 1.1k stars) and Wp Plugin Development (jorgerosal/wordpress-skills, 100 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Basercms5 Development?

baserproject (a GitHub organization) maintains it in baserproject/basercms, which has 190 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 5, 2026.

Source: baserproject/basercms on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.