plutonium-definition

Define Plutonium resource definitions extending Plutonium::Resource::Definition for Rails portals.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Resource definitions govern how data models render and behave in Plutonium applications, enabling consistent UI configuration across portals and minimal boilerplate.

Core Features & Use Cases

  • Auto-detected fields from models, with optional overrides to customize rendering and interactions
  • Hierarchical definitions across main app and portal overrides to tailor behavior per context
  • Runtime customization hooks to adjust fields, inputs, displays, and actions without changing business logic

Quick Start

Define a new PostDefinition by extending ResourceDefinition and override at least one field or scope to customize rendering.

Frequently Asked Questions about plutonium-definition

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

FAQPage Schema
How do I configure resource rendering and interactions in Rails portals?

You define resource definitions by extending ResourceDefinition, which auto-detects fields from models and auto-detects fields from models and applies hierarchical overrides to configure rendering and interactions across Rails portals consistently.

What is a resource definition in Plutonium and what problem does it solve?

A resource definition governs how data models render and behave in Plutonium applications, solving the need for consistent UI configuration across multiple portals with minimal boilerplate and structured maintainable configuration.

How do I customize fields and actions per portal without changing business logic?

You use runtime customization hooks provided by resource definitions to adjust fields, inputs, displays, and actions. This applies hierarchical portal-specific overrides across the main app without changing business logic.

Can I apply portal-specific overrides to auto-detected model fields in Plutonium?

Yes, Plutonium resource definitions auto-detect fields from models while supporting optional overrides. You can apply hierarchical definitions across the main app and portals to tailor behavior per context.

Does Plutonium resource definition support multi-layer overrides for Rails applications?

Yes, Plutonium resource definitions support multi-layer overrides across main apps and portals. This enables structured configuration with auto-detection and optional customization hooks for fields, policies, and actions in Rails applications.

What's the best way to structure maintainable UI configuration for Rails-based portals?

The best way is defining resources that extend ResourceDefinition. This provides structured, maintainable UI configuration with auto-detected fields and hierarchical portal overrides to minimize boilerplate in Rails-based portals.