goravel-crud-search

Integrate a new entity into CMD+K global search with permission checks.

16|11|Updated Jun 12, 2025
One-click install
npx skills add https://github.com/liwoo/goravel-inertia-tw-starter --skill goravel-crud-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: goravel-crud-search
Source: https://github.com/liwoo/goravel-inertia-tw-starter/tree/main/.claude/skills/goravel-crud-search
Command: npx skills add https://github.com/liwoo/goravel-inertia-tw-starter --skill goravel-crud-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill enables seamless inclusion of new entities into the global search (CMD+K), with permission checks on the backend and a configurable frontend presentation.

Core Features & Use Cases

  • Backend gate: permission-filtered search results per entity, ensuring only authorized results appear.
  • Frontend config: entity type, icon, and color cues integrated into the search palette for quick recognition.
  • Use case: admins can add a new entity and have it discoverable via CMD+K with appropriate permissions.

Quick Start

Update the backend search and frontend search config to register a new entity, and then verify via CMD+K search.

Frequently Asked Questions about goravel-crud-search

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

FAQPage Schema
How do I add a new entity to Goravel global search?

You can include new entities in global search by updating the backend search logic to register the entity and configuring the frontend search palette with the appropriate entity type, icon, and color cues for CMD+K discovery.

How do I filter global search results by permissions in a backend?

Filtering global search results by permissions requires implementing a backend gate that checks user authorization per entity, ensuring only authorized results appear when admins use the CMD+K search functionality.

Can I customize the frontend search config for entity type, icon, and colors?

Yes, you can customize the frontend search config to integrate entity type, icon, and color cues into the search palette, allowing users to quickly recognize different entity types within the global CMD+K search results.

Does Inertia work with Goravel for backend search augmentation?

Inertia integrates with Goravel to support backend search augmentation by bridging the backend permission-filtered search logic with the frontend search configuration for entity type, icon, and colors.

Why are my newly defined entities not showing up in CMD+K search?

Newly defined entities may not show up in CMD+K search if the backend search logic is not updated to include them, or if permission checks are filtering them out for the current user's authorization level.