lc:laracrate-collection

Generate and update Laracrate file collection configurations in Laravel's config/laracrate.php.

12|2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/edulazaro/laraclaude --skill lc-laracrate-collection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lc:laracrate-collection
Source: https://github.com/edulazaro/laraclaude/tree/main/skills/laracrate-collection
Command: npx skills add https://github.com/edulazaro/laraclaude --skill lc-laracrate-collection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the complexity of manually configuring Laracrate file collections, preventing common structural errors in config/laracrate.php and ensuring all dependencies like disks and policies are correctly wired.

Core Features & Use Cases

  • Automated Configuration: Generates valid, correctly nested collection blocks including variants, previews, and scoping.
  • Dependency Validation: Automatically checks for required storage disks and suggests necessary environment variables for features like embeddings or text extraction.
  • Use Case: Quickly add a new user avatar collection with specific image cropping variants and an initials-based placeholder without manually editing complex PHP arrays.

Quick Start

Use the lc:laracrate-collection skill to add a new documents collection to your configuration with signed access and text extraction enabled.

Frequently Asked Questions about lc:laracrate-collection

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

FAQPage Schema
How do I configure Laracrate file collections in a Laravel application?

To configure Laracrate file collections, you generate and update collection blocks within the Laravel config/laracrate.php file, managing storage disks, access modes, and image variants for seamless package integration.

What's the best way to add image variants and access modes to file collections?

Adding image variants and access modes requires generating valid, correctly nested PHP array blocks in your configuration file, ensuring structural integrity and preventing manual syntax errors during setup.

Do I need specific storage disks configured before setting up Laracrate collections?

Yes, you need specific storage disks configured beforehand. The configuration process validates the presence of required infrastructure and suggests necessary environment variables for features like AI-driven text extraction.

Can I enable AI text extraction and embeddings for user document uploads?

You can enable AI text extraction and embeddings by configuring the appropriate settings within your collection blocks, which automatically validates dependencies and suggests required environment variables.

Why does my manually edited Laracrate configuration keep throwing structural errors?

Manual configuration often introduces structural errors because of the complex PHP array anatomy required. Automating the generation process ensures correct nesting of storage disks, policies, and variants.

How does Laracrate handle signed access and scoping for document collections?

Laracrate handles signed access and scoping by generating correctly nested configuration blocks that wire dependencies automatically, ensuring secure access policies are seamlessly integrated into the Laravel application.