widget-cms
Tạo, sửa và kiểm thử widget Laravel CMS theo renderer theme/core/plugin, layout builder, settings_schema, shortcode, hook, CSS/JS và zone contract.
- License 许可
- MIT
- 最近更新
- 2026-09-04
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- widget-cms
- license
- MIT
- version
- 2.0.0
- description
- Tạo, sửa và kiểm thử widget Laravel CMS theo renderer theme/core/plugin, layout builder, settings_schema, shortcode, hook, CSS/JS và zone contract.
02 资源文件 5
- 参考文档references/implementation.md1.1 KB
- 参考文档references/plugin-boundary.md941 B
- 参考文档references/rendering-content.md1.0 KB
- 参考文档references/runtime-schema.md1.3 KB
- 参考文档references/validation.md807 B
03 SKILL.md 正文
CMS Widget Builder
Tạo widget hoàn chỉnh cho C:\xampp\htdocs\cms theo đúng ownership: theme widget cho một theme, core widget dùng chung, plugin widget cho chức năng độc lập hoặc xuyên theme.
Workflow
- Đọc runtime-schema.md để xác định renderer, biến, schema và zone.
- Chọn ownership; đọc implementation.md cho theme/core hoặc plugin-boundary.md cho plugin.
- Tạo Blade, registry/manifest, schema và defaults cùng một contract; đọc rendering-content.md nếu có rich content, shortcode hoặc asset.
- Chạy checklist trong validation.md, kiểm layout builder và frontend.
Non-Negotiable
- Giữ
type/variant/style_keykhớp path Blade và registry. - Dùng
settings_schemacho mọi cấu hình block mới; key schema phải trùng key Blade đọc. - Nút sửa block phải mở popup schema trong
Admin > Bố cục trang chủ, không chuyển sang plugin settings. - Scoped CSS/JS, ID unique theo
$block->id, không tạo biến JS global. - Dùng
cms_content()cho rich content admin nhập; escape dữ liệu text/URL. - Không đặt widget plugin vào core/theme hoặc sửa legacy controller khi schema giải quyết được.
- Không query không giới hạn trong Blade.
Handoff
Báo type/variant, ownership, path Blade, schema, zone, asset/shortcode/hook, lệnh kiểm tra và trạng thái render.
04 同仓库更多 Skills
website-sitemap
This skill should be used to create, crawl, map, redesign, or migrate website sitemaps and information architecture from briefs, ERP data, URLs, documents, or mixed inputs.
web-frameworks
Build with Next.js (App Router, RSC, SSR, ISR), Turborepo monorepos. Use for React apps, server rendering, build optimization, caching strategies, shared dependencies.
ui-styling
Style UIs with shadcn/ui components (Radix UI + Tailwind CSS). Use for accessible components, themes, dark mode, responsive layouts, design systems, color customization.
threejs
Build 3D web apps with Three.js (WebGL/WebGPU). 556 searchable examples, 60 API classes, 20 use cases. Actions: create 3D scene, load model, add animation, implement physics, build VR/XR. Topics: GLTF loader, PBR materials, particle effects, shadows, post-processing, compute shaders, TSL. Integrations: WebGPU, physics engines, spatial audio.
theme-cms-ecommerce
This skill should be used independently to create, update, validate, or package complete Laravel CMS storefronts with product catalogs, search, promotions, cart, checkout, and responsive shopping UX.
theme-cms-business
This skill should be used for service, company, clinic, education, and other non-store Laravel CMS themes with editable content, shared layout, assets, routes, pagination, and SEO QA.