Plutonium Development Guide

VerifiedSafe

This high-level guide provides the foundational rules and conventions for building Plutonium applications. It covers the four-layer resource architecture, essential code generators for resources and portals, and directs developers to more specialized skills for definition fields, policies, and authentication.

Sby Skills Guide Bot
DevelopmentIntermediate
606/2/2026
Claude Code
#plutonium#rails#generators#resources#guide

Recommended for

Our review

High-level guide for working with Plutonium applications, read this first.

Strengths

  • Structured introduction to key Plutonium concepts
  • Quick reference to generators and resource architecture
  • Links to more specific skills

Limitations

  • Does not contain detailed implementation specifics
  • Assumes prior knowledge of Ruby on Rails
When to use it

When starting a new Plutonium project or needing an overview of the architecture.

When not to use it

If you need detailed instructions on a specific feature (e.g., field configuration) - refer to the dedicated skill instead.

Security analysis

Safe
Quality score90/100

The skill provides guidance for development with Plutonium, including standard Rails generator commands. There are no destructive, exfiltrating, or obfuscated actions. Commands are typical development tasks and do not involve risky patterns like piping to shell, deleting files, or disabling safety.

No concerns found

Examples

Get started with Plutonium
I'm starting a new Plutonium project. Give me an overview of the framework's architecture and the key generators I should use.
Resource creation guidance
Explain how to create a new resource in Plutonium, including the four layers (model, definition, policy, controller) and which generators to use.
Skill reference navigation
What are the available Plutonium skills? I need to understand how to configure fields for a definition.

name: plutonium description: High-level guide for working with Plutonium applications - read this first

Plutonium Development Guide

Read this first when working on a Plutonium application.

Core Rules

  1. Always use generators - Never manually create resources, packages, or portals
  2. Check relevant skills first - Each concept has a dedicated skill with details
  3. Definitions over controllers - UI customization belongs in definitions, not controllers
  4. Policies for authorization - All permission logic goes in policies

Key Generators

rails g pu:res:scaffold Post title:string --dest=main_app    # Create resource
rails g pu:res:conn Post --dest=admin_portal                 # Connect to portal
rails g pu:pkg:package blogging                              # Create feature package
rails g pu:pkg:portal admin_portal                           # Create portal

Always specify --dest to avoid interactive prompts.

Resource Architecture

A resource has four layers:

| Layer | Purpose | Customize when... | |-------|---------|-------------------| | Model | Data, validations, associations | Adding business logic | | Definition | UI - fields, actions, filters | Changing how things look/behave | | Policy | Authorization - who can do what | Restricting access | | Controller | Request handling | Rarely - use hooks if needed |

Skill Reference

| Topic | Skill | |-------|-------| | Creating resources | plutonium-create-resource | | Connecting to portals | plutonium-connect-resource | | Field configuration | plutonium-definition-fields | | Actions & interactions | plutonium-definition-actions | | Search, filters, scopes | plutonium-definition-query | | Authorization | plutonium-policy | | Custom views | plutonium-views | | Custom forms | plutonium-forms | | Nested resources | plutonium-nested-resources | | Packages & portals | plutonium-package, plutonium-portal | | Authentication | plutonium-rodauth |

Related skills