mcpField
B
bagisto-admin-theme-development

bagisto-admin-theme-development

github.com/bagistoDesign & UI13119 installsUpdated 2w ago
Repository

About bagisto-admin-theme-development

bagisto-admin-theme-development is a skill for creating and customizing Bagisto admin themes as Laravel packages. It covers package setup, theme registration, assets, layouts, and template overrides.

Key features

  1. 01Create admin themes as Laravel packages
  2. 02Register themes in configuration
  3. 03Configure views and asset paths
  4. 04Customize layouts and Blade components
  5. 05Build and manage theme assets

Use cases

  1. 01Create a distributable admin theme package
  2. 02Customize admin panel styling
  3. 03Override default admin templates

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bagisto/agent-skills --skill bagisto-admin-theme-development

After installing, type/bagisto-admin-theme-developmentin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets.md
creating-a-theme.md
layouts.md
reference.md

Details

From the project README

Admin Theme Development

Overview

Admin theme development in Bagisto involves creating custom admin panel themes packaged as Laravel packages. The end result is a self-contained package that can be distributed and maintained independently.

When to Apply

Activate this skill when:

  • Creating custom admin themes as packages
  • Building admin theme packages for distribution
  • Customizing admin panel styling
  • Overriding default admin templates

Bagisto Admin Theme Architecture

Core Components
ComponentPurposeLocation
Theme ConfigurationDefines available admin themesconfig/themes.php
Views PathBlade template filesDefined in theme config
Assets PathCSS, JS, imagesDefined in theme config
Admin Service ProviderLoads views and componentspackages/Webkul/Admin/src/Providers/AdminServiceProvider.php
Key Configuration Properties
// config/themes.php
'admin-default' => 'default',

'admin' => [
    'default' => [
        'name' => 'Default',
        'assets_path' => 'public/themes/admin/default',
        'views_path' => 'resources/admin-themes/default/views',
        'vite' => [
            'hot_file' => 'admin-default-vite.hot',
            'build_directory' => 'themes/admin/default/build',
            'package_assets_directory' => 'src/Resources/assets',
        ],
    ],
],

Reference files — load only what the current task needs

FileLoad when
creating-a-theme.mdScaffolding the theme package and registering it
assets.mdThe Vite pipeline, the build, and the dev-server workflow
layouts.mdAdmin layouts, Blade components, custom layouts
reference.mdPackage layout, key files, pitfalls, testing

REQUIRED SUB-SKILL: Use bagisto-change-verification before calling any change done.

Comments

Markdown supported