laravel-jsonapi skillA
laravel-jsonapi is agent-read markdown (skill) from fusengine/agents: Use when building JSON:API spec-compliant endpoints in Laravel 13 with the first-party `JsonApiResource` base class..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
<objective> Covers Laravel 13's JsonApiResource base class for JSON:API v1.1-compliant responses: the toAttributes() method, resource $type declaration, sparse fieldsets (?fields[type]=a,b), relationship inclusion (?include=) with the included array, resource identifiers, self/related links, and the application/vnd.api+json content type. For general (non-JSON:API-spec) REST API building, see laravel-api instead. </objective> # Laravel 13 JSON:API Resources ## Agent Workflow (MANDATORY) Before ANY implementation, spawn 3 agents in parallel, one `Agent` call each with a `name`: 1. **fuse-ai-pilot:explore-codebase** - Inventory existing `JsonResource` classes to migrate 2. **fuse-ai-pilot:research-expert** - Check JSON:API v1.1 spec for required headers and structure 3. **mcp__context7__query-docs** - Pull `laravel.com/docs/13.x/eloquent-resources` examples After implementation, run **fuse-ai-pilot:sniper** for validation. --- ## Overview | Feature | Description | |---------|-------------| | **`JsonApiResource`** | Base class extending `JsonResource` with spec compliance | | **Content-Type** | Auto-sets `application/vnd.api+json` | …
Read the whole file at its exact version.
How to install
mdr add fusengine/agents/laravel-jsonapi@git:20260904.5f1d30fmdr add fusengine/agents/laravel-jsonapi@sha256:c3f591bf251e8ad0Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_2yrmn6qjbk5wgn4r)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260904.5f1d30f latest | 2026-09-04 | 5f1d30f | 4,980 B | A | view · diff |
| git:20260729.3b91eed | 2026-07-29 | 3b91eed | 4,951 B | A | view · diff |
| git:20260512.dc627c5 | 2026-05-12 | dc627c5 | 4,582 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4980 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
fusengine/agents · 28 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2yrmn6qjbk5wgn4r GET https://markdownregistry.com/api/v1/resolve?ref=fusengine/agents/laravel-jsonapi GET https://markdownregistry.com/api/v1/blob/c3f591bf251e8ad074a2edb63e4fc6abfb397edc98276d5a488367dbeb049b9e
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.