Skip to content
Back to skills

Api Surface Evolution

ASecurity

Evolve APIs safely using versioned DTOs/transformers, deprecations, and compatibility tests

  • 147 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added June 6, 2026
businessgotestingapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add jpcaparas/superpowers-laravel --skill api-surface-evolution --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Surface Evolution?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Surface Evolution
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jpcaparas-api-surface-evolution/badge)](https://www.skillsdirectory.com/skills/jpcaparas-api-surface-evolution)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: laravel:api-surface-evolution
description: Evolve APIs safely using versioned DTOs/transformers, deprecations, and compatibility tests
---

# 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.