Communitygithub.com

後端 API 技能

設計並實作符合 RESTful 規範的 API 端點,包含適當的 HTTP 方法、狀態碼與一致的命名慣例。當建立或修改 API 路由、端點或伺服器端請求處理器時使用此技能。

後端 API 技能 是什麼?

此技能為 Claude Code 提供明確的指引,以遵循後端 API 開發的編碼標準。它定義了何時應啟用此技能,包括建立或編輯 API 路由檔案(例如 `src/pages/api/*.ts`)、實作 RESTful 端點、設計資源導向的 URL 結構與路由層級,以及處理查詢參數以進行過濾、排序、分頁或搜尋功能時。此外,它也涵蓋了 API 回應格式與 HTTP 狀態碼的定義、API 版本化策略的實作(URL 路徑或標頭式)、速率限制與 API 配額管理、CORS 政策與安全標頭的配置,以及 API 文件或 OpenAPI/Swagger 規格的撰寫。此技能支援各類伺服器端請求處理器或中介軟體的開發,並引用特定的標準檔案作為遵循依據,適合在需要嚴格遵循後端 API 設計準則的專案中使用。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/majiayu000/claude-skill-registry-data/tree/HEAD/api/backend-api-spaceplushy-portfolio

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

後端 API

此技能提供 Claude Code 關於如何遵循與後端 API 處理相關的編碼標準的具體指引。

使用時機

  • 建立或編輯 API 路由檔案時(例如 src/pages/api/*.ts、src/pages/api/*.js)
  • 使用 GET、POST、PUT、PATCH、DELETE 方法實作 RESTful 端點時
  • 設計資源導向的 URL 結構與路由層級時
  • 處理查詢參數以進行過濾、排序、分頁或搜尋功能時
  • 定義 API 回應格式與 HTTP 狀態碼時
  • 實作 API 版本化策略(URL 路徑或標頭式)時
  • 設定速率限制、流量管制或 API 配額管理時
  • 配置 API 安全標頭、CORS 政策或認證中介軟體時
  • 撰寫伺服器端請求處理器或中介軟體函式時
  • 處理 API 文件或 OpenAPI/Swagger 規格時

指示

詳細資訊請參閱此檔案中提供的資料: 後端 API

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Analyzes current state and user query to answer BMad questions or recommend the next workflow or agent. Use when user says what should I do next, what do I do now, or asks a question about BMad

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

majiayu000/claude-skill-registry-data

Create a hilarious and ultra-realistic video of an anthropomorphic animal acting like a human vlogger in a real-world setting.

majiayu000/claude-skill-registry-data

Speech-to-text transcription and translation via OpenAI Audio API -- models, response formats, timestamps, prompting, streaming, chunking, and diarization

majiayu000/claude-skill-registry-data

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

majiayu000/claude-skill-registry-data

小省导购员数字人带货版即梦视频提示词生成系统,基于四大智能体协同(提示词生成师、质量管控师、知识库运维师、跨环节适配师),按照"主体+运动+场景+(镜头语言+光影+氛围)"公式输出中英文双版提示词,适配5s短视频。确保人物一致性、视觉连贯性、情绪连贯性,支持知识库智能复用和跨工具适配(Suno音乐、AI绘画),为数字人带货视频提供高质量提示词生成服务。

majiayu000/claude-skill-registry-data

Upload and manage files using Google Gemini File API via scripts/. Use for uploading images, audio, video, PDFs, and other files for use with Gemini models. Supports file upload, status checking, and file management. Triggers on "upload file", "file API", "upload image", "upload PDF", "upload video", "file management".

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

majiayu000/claude-skill-registry-data

Conduct domain and industry research. Use when the user says "lets create a research report on [domain or industry]

majiayu000/claude-skill-registry-data

Conduct market research on competition and customers. Use when the user says "create a market research report about [business idea]".

majiayu000/claude-skill-registry-data

Conduct technical research on technologies and architecture. Use when the user says "create a technical research report on [topic]".

majiayu000/claude-skill-registry-data

Builds, edit or validate Agent Skill through conversational discovery. Use when the user requests to "Create an Agent", "Optimize an Agent" or "Edit an Agent".

相關技能