Nova Resource Builder

Automate Laravel Nova 5.x resource creation and modification with PCR Card patterns.

1|Updated May 28, 2025
One-click install
npx skills add https://github.com/hackur/web-standards-playground-showcase --skill nova-resource-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Nova Resource Builder
Source: https://github.com/hackur/web-standards-playground-showcase/tree/main/.claude-laravel-backup/skills/nova-resource
Command: npx skills add https://github.com/hackur/web-standards-playground-showcase --skill nova-resource-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create and modify Laravel Nova 5.x resources with PCR Card patterns (tabs, badge fields with closures, select fields with constants). Triggers include "nova resource", "nova badge", "nova tabs", "nova field".

Core Features & Use Cases

  • Tab-based layouts with Tab::group and Heading for sectioning
  • Badge fields using closures with label mapping
  • Constant-based Select fields via dedicated Options methods
  • Integrated search configuration for resources

Quick Start

php artisan nova:resource ResourceName

Frequently Asked Questions about Nova Resource Builder

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

FAQPage Schema
How do I automate Laravel Nova resource creation with tab-based layouts?

Automate Laravel Nova resource creation by using the nova:resource artisan command, which generates resources with Tab::group-based layouts, Heading sections, and PCR Card patterns. The Skill enforces proper tab structure, including prohibition of Panel elements within tabs and correct HasMany relationship integration for Nova 5.x projects.

Can I use Badge fields with closures in Laravel Nova resources?

Yes, Badge fields in Nova resources support Closure-based implementations with label mapping. This approach enables dynamic badge rendering based on resource data, integrating seamlessly with tab-based layouts and PCR Card patterns in Nova 5.x.

What's the best way to configure Select fields with constants in Nova?

Configure Select fields in Nova resources using dedicated Options methods backed by constants. This pattern provides type-safe field definitions, improves maintainability, and integrates with search configuration for consistent resource behavior across Nova 5.x implementations.

Does Nova resource automation work with search configuration?

Yes, Nova resource creation includes integrated search configuration, enabling automated searchability setup alongside resource generation. The Skill applies search settings as part of the PCR Card pattern implementation for complete resource functionality.

What are the requirements for using tab-based Nova resources with HasMany relationships?

Tab-based Nova resources require proper HasMany relationship configuration within tabs, Tab::group usage with Headings for sectioning, and prohibition of Panel elements in tabs. The Skill enforces these technical requirements during resource creation and validation for Nova 5.x compliance.

How does the Nova resource builder integrate with artisan commands?

The Nova resource builder integrates with artisan commands and scripts for resource creation, validation, and cache refresh operations. This automation streamlines the resource generation workflow and ensures consistency with PCR Card pattern requirements across your Nova 5.x project.