laravel:api-surface-evolution

API Surface Evolution

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "laravel:api-surface-evolution" with this command: npx skills add jpcaparas/superpowers-laravel/jpcaparas-superpowers-laravel-laravel-api-surface-evolution

API Surface Evolution

Design for change without breaking clients.

Versioning Strategy

  • Choose explicit versioning (URI /v1/... or header negotiation)

  • Default to additive changes; never break a released contract

DTOs & Transformers

  • Define versioned DTOs; map from models/services via transformers

  • Keep controller thin—validate → transform → respond

Deprecations

  • Mark fields as deprecated in docs and responses (e.g., headers)

  • Provide sunset timelines; add metrics to see remaining usage

Testing

  • Contract tests per version (request/response shapes)

  • Backward compatibility tests for commonly used flows

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

laravel:routes-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
General

laravel:blade-components-and-layouts

No summary provided by upstream source.

Repository SourceNeeds Review
General

laravel:queues-and-horizon

No summary provided by upstream source.

Repository SourceNeeds Review
General

laravel:tdd-with-pest

No summary provided by upstream source.

Repository SourceNeeds Review