From magic-powers
Use when designing REST or GraphQL APIs - endpoint naming, versioning, error handling, pagination, authentication patterns
npx claudepluginhub kienbui1995/magic-powers --plugin magic-powersThis skill uses the workspace's default tool permissions.
Good APIs are consistent, predictable, and hard to misuse. Design for the consumer, not the implementation.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Good APIs are consistent, predictable, and hard to misuse. Design for the consumer, not the implementation.
GET /api/v1/users → List users
GET /api/v1/users/:id → Get user
POST /api/v1/users → Create user
PUT /api/v1/users/:id → Full update
PATCH /api/v1/users/:id → Partial update
DELETE /api/v1/users/:id → Delete user
/users not /getUsers)/users not /user)/users/:id/orders{
"data": { ... },
"meta": { "page": 1, "total": 100 },
"errors": []
}
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Human-readable description",
"details": [{ "field": "email", "issue": "invalid format" }]
}
}
Use standard HTTP status codes: 200, 201, 204, 400, 401, 403, 404, 409, 422, 429, 500.
GET /api/v1/users?page=2&per_page=20
GET /api/v1/users?cursor=abc123&limit=20 (preferred for large datasets)
/api/v1/ (simplest, recommended)Accept: application/vnd.api+json;version=1 (cleaner but harder to test)createUser(input: CreateUserInput!)X-RateLimit-*)