plutonium-views

Customize Plutonium view layers with modular, overrideable Phlex page components.

68|10|Updated Jan 10, 2024
One-click install
npx skills add https://github.com/radioactive-labs/plutonium-core --skill plutonium-views
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plutonium-views
Source: https://github.com/radioactive-labs/plutonium-core/tree/main/.claude/skills/plutonium-views
Command: npx skills add https://github.com/radioactive-labs/plutonium-core --skill plutonium-views

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Customizes Plutonium view layers by providing modular, overrideable Phlex-based page components for flexible, maintainable UIs.

Core Features & Use Cases

  • Page customization: override index/show/form layout, breadcrumbs, and titles.
  • Component kit: reuse PageHeader, Panel, Block, and other kit methods to compose views.
  • Portal overrides: define portal-specific ShowPage/NewPage behavior without altering core definitions.
  • Form and Display customization: replace default templates with custom ones to fit branding.

Quick Start

Create a custom ShowPage by subclassing the default page and overriding page_title and render methods to tailor your UI.

Frequently Asked Questions about plutonium-views

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I customize Plutonium view layers for portal-specific overrides?

Customize Plutonium view layers using modular, overrideable Phlex-based page components. You can define portal-specific overrides for ShowPage and NewPage behavior without altering core resource definitions or framework integrity.

Can I replace default form and display templates in Plutonium with custom Phlex components?

Yes, you can replace default form and display templates with custom Phlex components. The component kit provides reusable PageHeader, Panel, and Block methods to compose tailored view layouts that fit specific branding requirements.

Do I need to know Phlex and resource definitions to tailor Plutonium page layouts?

Yes, tailoring Plutonium page layouts requires familiarity with resource definitions and Phlex components. You must understand optional overrides to extend default behavior across IndexPage, ShowPage, NewPage, and EditPage compositions.

How do I override breadcrumbs and titles on Plutonium index and show pages?

Override breadcrumbs and titles by subclassing the default Plutonium page and overriding the page_title and render methods. This applies definition-level page composition to tailor IndexPage and ShowPage layouts.

What's the best way to compose modular UI components for Plutonium portals?

The best way to compose modular UI components for Plutonium portals is using the provided component kit. Reuse kit methods like PageHeader, Panel, and Block to build maintainable, overrideable Phlex-based views.

Why should I use modular Phlex components instead of altering core Plutonium definitions?

Using modular Phlex components preserves core framework integrity while enabling flexible view customization. It allows portal-specific overrides for page composition without permanently altering the base resource definitions.