Back to Skills

formatting-api-responses

itsmeAlee
Updated 5 days ago
12 views
0
View on GitHub
Developmentapi

About

This skill provides a standardized TypeScript structure for formatting internal API responses, ensuring consistent success/error handling between backend functions and frontend components. It's designed for use in Services and Server Actions that fetch or mutate data, requiring developers to always wrap results in a structured object with `success`, optional `data`, and user-friendly `error` fields. This approach prevents raw error exposure and gives the UI predictable response patterns.

Quick Install

Claude Code

Recommended
Primary
npx skills add itsmeAlee/Tourly2 -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/itsmeAlee/Tourly2
Git CloneAlternative
git clone https://github.com/itsmeAlee/Tourly2.git ~/.claude/skills/formatting-api-responses

Copy and paste this command in Claude Code to install this skill

GitHub Repository

itsmeAlee/Tourly2
Path: .agent/skills/formatting-api-responses
0

Related Skills

qmd

Development

qmd is a local search and indexing CLI tool that enables developers to index and search through local files using hybrid search combining BM25, vector embeddings, and reranking. It supports both command-line usage and MCP (Model Context Protocol) mode for integration with Claude. The tool uses Ollama for embeddings and stores indexes locally, making it ideal for searching documentation or codebases directly from the terminal.

View skill

subagent-driven-development

Development

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

View skill

mcporter

Development

The mcporter skill enables developers to manage and call Model Context Protocol (MCP) servers directly from Claude. It provides commands to list available servers, call their tools with arguments, and handle authentication and daemon lifecycle. Use this skill for integrating and testing MCP server functionality in your development workflow.

View skill

adk-deployment-specialist

Development

This skill deploys and orchestrates Vertex AI ADK agents using A2A protocol, managing AgentCard discovery, task submission, and supporting tools like Code Execution Sandbox and Memory Bank. It enables building multi-agent systems with sequential, parallel, or loop orchestration patterns in Python, Java, or Go. Use it when asked to deploy ADK agents or orchestrate agent workflows on Google Cloud.

View skill