Skip to content

Add Laravel Boost skill: resources/boost/skills/anourvalar-eloquent-request/SKILL.md#1

Open
AnourValar wants to merge 1 commit into
masterfrom
claude/laravel-boost-skill-docs-akq1Q
Open

Add Laravel Boost skill: resources/boost/skills/anourvalar-eloquent-request/SKILL.md#1
AnourValar wants to merge 1 commit into
masterfrom
claude/laravel-boost-skill-docs-akq1Q

Conversation

@AnourValar
Copy link
Copy Markdown
Owner

Summary

Adds a laravel/boost skill so AI agents working in projects that depend on anourvalar/eloquent-request automatically pick up the package's public surface.

The new file: resources/boost/skills/anourvalar-eloquent-request/SKILL.md

What it documents (all verified against the source):

  • The three facades and their aliases:
    • EloquentRequest -> \AnourValar\EloquentRequest\Service (buildBy, extendActions, extendBuilders, replaceConfig).
    • EloquentRequestFlat -> FlatService (table create/drop/shadow/switch/resync/sync/syncSoft + casts/filters/sorts/ranges introspection).
    • EloquentRequestSearch -> SearchService (typo, similar, generate, generateFulltext, prepare).
  • ControllerTrait with its filter-preset and range-preset constants (PROFILE_FILTER_*, PROFILE_RANGE_*).
  • FlatInterface + FlatMapper (with PURPOSE_* constants) for declaring flat read-model tables.
  • Helpers\Request (ArrayAccess + get/filter/relation/scope/sort/hasOnly/cacheKey).
  • Action option constants (PaginateAction, Cursor*, Get, Generator, Null) and FilterAndScopeBuilder options.
  • The default profile shape, supported filter operations, validator/adapter interfaces, the make:controller-buildby artisan command, config keys, and the shadow-deploy workflow gotcha.

Format follows the Boost skill spec: YAML frontmatter (name, description) plus a focused, agent-oriented markdown body.

Test plan

  • Maintainer reviews factual accuracy against src/ (facade method signatures, ControllerTrait presets, action constants).
  • Description correctly activates for tasks around dynamic query building / flat tables / search helpers in Boost.
  • No other files changed in the repo (single new SKILL.md under resources/boost/skills/).

Generated by Claude Code

Document the EloquentRequest, EloquentRequestFlat, and
EloquentRequestSearch facades, the corresponding Service / FlatService
/ SearchService classes, ControllerTrait presets, FlatInterface +
FlatMapper, action option constants, and the shadow-deploy workflow so
laravel/boost agents can safely build query endpoints from request
input.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant