🧩
AI EngineeringJavaScript

API Contract Architecture

by devcodex-labs

API Contract Architecture is an AI Engineering skill for Claude Code, published by devcodex-labs in devcodex.

202 stars26 forkson devcodex-labs/devcodexAdded 2026/09/05+16% in starsRepository updated 2026/08/31
ai-codingclaude-codecodexcoding-agentcursordeveloper-toolsgemini-cligithub-copilotgroklocal-firstworkflow-runtime
Install in seconds
Install API Contract Architecture
Copy API Contract Architecture into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/devcodex-labs/devcodex/tree/main/content/skills/api-contract-architecture ~/.claude/skills/api-contract-architecture

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/devcodex-labs/devcodex.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
content/skills/api-contract-architecture/SKILL.md in devcodex-labs/devcodex
Installs to
~/.claude/skills/api-contract-architecture
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering3101 skills

What API Contract Architecture does

API Contract Architecture defines and freezes public API contracts before implementation. Use it for HTTP, SDK, CLI, schema, error, pagination, idempotency, and compatibility changes that affect consumers.

API Contract Architecture is cataloged under AI Engineering on DirSkills. API Contract Architecture comes from a repository tagged ai-coding, claude-code, codex, coding-agent and cursor.

Documentation

README

API Contract Architecture Skill

定位

本 Skill 负责 API 契约 Owner 视角。它确保方案先回答“谁消费、契约是什么、如何兼容、如何验证”,再进入实现细节。

触发条件

场景 是否触发
新增或调整 HTTP API、SDK API、CLI 参数、Hook payload、MCP tool/resource、事件、配置 Schema 或 public types 必须
涉及版本兼容、迁移、错误码、分页、过滤、幂等、鉴权响应或消费者文档 必须
修复会影响调用方行为或示例用法 必须
纯内部实现且不改变任何公开输入/输出/错误/类型 N/A + skipReason

核心门禁

This is the opening of the README. Read the full README on GitHub.

Frequently asked about API Contract Architecture

  • What else does devcodex-labs publish alongside API Contract Architecture?

    API Contract Architecture is one of 25 skills that DirSkills catalogs from devcodex-labs/devcodex, the repository it ships in. Its siblings there include AI Agent System Architecture, AI Evaluation Engineering and Accessibility I18n. Each one is a separate skill with its own page in this directory, installs the same way API Contract Architecture does, and is maintained by devcodex-labs in that same repository. The rest of the collection is listed on the devcodex-labs/devcodex page.

  • How does API Contract Architecture compare to other AI Engineering skills?

    API Contract Architecture ranks #2828 by stars among the 3101 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of API Contract Architecture against them. Open each page to compare what they document and how they install.

More from devcodex-labs/devcodex

API Contract Architecture is one of 25 skills cataloged on DirSkills from devcodex-labs/devcodex.

See all 25 skills
🤖
47m ago

AI Agent System Architecture

AI Agent System Architecture covers agent routing, tool permissions, context, memory, state, and observability for tasks that need explainable and auditable agent behavior. Use it when designing agent workflows, recovery, handoff, or model-assisted governance.
AI Engineering
20226
🧪
47m ago

AI Evaluation Engineering

AI Evaluation Engineering designs evidence for model and prompt quality using golden sets, rubrics, judge calibration, repeat sampling, variance reporting, and regression decisions. Use it when comparing models, prompts, or upgrades and you need reproducible results with contamination checks.
AI Engineering
20226
🌐
47m ago

Accessibility I18n

Accessibility I18n handles accessibility and localization review for user-facing UI, CLI output, and docs. Use it when tasks involve keyboard flow, focus, screen readers, ARIA, RTL, translations, locale formats, or multilingual content.
Frontend
20226
🔍
47m ago

Analyze Default

Analyze Default defines a read-only workflow for multi-round code analysis, evidence gathering, and convergence checks. Use it when you need a factual conclusion, root-cause assessment, or review of whether something is correct without changing files.
Quality
20226
🔬
47m ago

Analyze Research

Analyze Research handles technical selection, feasibility checks, dependency comparisons, and root-cause investigation in a read-only workflow. Use it when you need evidence-based recommendations without changing source files.
AI Engineering
20226
🧪
47m ago

Api Verification

Api Verification generates archive-grade .http examples and .cjs automation scripts for API changes. Use it when validating endpoint behavior, contract fields, or regression checks in dev and fix workflows.
Quality
20226