skills-ws
Version:
87 agent skills for AI coding assistants — marketing, growth, web3, dev, design & operations. Built for OpenClaw, Claude Code, Cursor, and Codex.
20 lines (15 loc) • 495 B
Markdown
## Response Envelope
```typescript
// Consistent response format
interface ApiResponse<T> {
data: T;
meta?: Record<string, any>;
pagination?: CursorPagination;
}
// Always wrap in { data: ... }
// Single item: { "data": { "id": "123", "name": "John" } }
// List: { "data": [...], "pagination": { "next_cursor": "...", "has_more": true } }
// Error: RFC 9457 Problem Details (no data wrapper)
// Why? Consistent parsing, easy to add metadata, forward-compatible
```