Laravel API
REST and JSON API standards for modern Laravel backends.
npx skills add majiayu000/claude-skill-registry --skill api-fierzone-agent-skills-standar --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Laravel API ## **Priority: P1 (HIGH)** ## Structure ```text app/ └── Http/ ├── Resources/ # Data transformation └── Controllers/ └── Api/ # API specific logic ``` ## Implementation Guidelines - **API Resources**: Always use Resources/Collections for JSON formatting. - **RESTful Actions**: Follow standard naming (`index`, `store`, `update`). - **Auth**: Use **Sanctum** for SPAs/Mobile or **Passport** for OAuth2. - **Status Codes**: Return appropriate HTTP codes (201 Created, 422 Unprocessable). - **Versioning**: Prefix routes with version tags (e.g., `api/v1/...`). - **Rate Limiting**: Configure `RateLimiter` to protect public endpoints. ## Anti-Patterns - **Raw Models**: **No raw model returns**: Information leakage risk. - **Manual JSON**: **No response()->create()**: Use API Resources. - **Session Auth**: **No sessions for APIs**: Use Tokens (Sanctum). - **Hardcoded URLs**: **No static links in JSON**: Use HATEOAS or route names. ## References - [API Resource Patterns](references/implementation.md)
- Priority: P1 (HIGH)
- Structure
- Implementation Guidelines
- Anti-Patterns
- References
What does the Laravel API skill do?
REST and JSON API standards for modern Laravel backends.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill api-fierzone-agent-skills-standar --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
