Loading...
Loading...
Use when working inside the bagisto-api package — installing or removing it, adding or changing a REST or GraphQL endpoint or resource, building an admin menu's API, or fixing package behaviour. Install and removal happen only on explicit request, never automatically. Trigger phrases include "ApiResource", "Provider", "Processor", "DTO", "resolver", "install the bagisto-api package", "remove the package", "add an endpoint", "extend an endpoint".
npx skill4agent add bagisto/agent-skills bagisto-api-developbagisto-apipackages/Webkul/BagistoApiWebkul\BagistoApicomposer.jsonreference/install.mdreference/uninstall.md| Source | What it gives you |
|---|---|
| The authoritative conventions + a coverage table for every endpoint, with the per-resource decisions and quirks. Read this first for the resource you're touching. |
| Design specs for larger features. |
| What shipped, consumer-facing, under |
| Caching / IRI / schema-build performance notes. |
GitHub | The canonical code — copy the closest existing resource rather than writing the pattern from scratch. |
| The consumer-facing request/response shapes + the full endpoint index. |
CLAUDE.md| Topic | Reference file | Use when |
|---|---|---|
| Install the package | | Client asks to install / set up the API |
| Remove the package | | Client asks to remove / uninstall the package |
| Where files go | | Adding any file; finding the right directory + base class |
| Surfaces, transports, declaring a resource | | Designing a new endpoint; understanding the 5-file pattern + feature surface |
| Coding standards + checklist | | Writing/reviewing a resource against the rules |
| Foot-guns | | Before you ship — the things that silently break |
| What the API will / won't do | | Scoping a feature; deciding "do we support this?" |
| Tests + cache cycle | | Running/adding tests; the cache commands |
#[ApiResource]src/Resources/lang/en/app.phpsrc/src/Admin/BagistoApiServiceProvider::register()reference/api-structure.mdreference/structure.mdreference/limitations.md