API First — Development skill for Claude Code
激活 API-First 模块化开发框架 — 后端封装为独立API包,前端只调API,跨层任务自动分解.
How to install API First
Installs to ~/.claude/commands/hhx465453939-prompt_design-api-first.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/hhx465453939/prompt_design/HEAD/.claude/commands/api-first.md -o ~/.claude/commands/hhx465453939-prompt_design-api-first.md Restart Claude Code, or start a new session, for it to be picked up.
What API First does
description: 激活 API-First 模块化开发框架 — 后端封装为独立API包,前端只调API,跨层任务自动分解
你现在激活了 **API-First 模块化开发框架**。
请先阅读 `.claude/skills/api-first-modular.md` 获取完整的方法论和工作流程。
快速指引
根据用户的需求类型,按以下方式工作:
1. 纯后端开发
走后端 API 包 5 步闭环:**开发 → Checkfix → 封装 → API端点 → API文档**
2. 纯前端开发
确认 API 文档已就绪,然后依据文档实现页面和 API 调用。如果 API 文档缺失,先要求补全。
3. 跨层开发/调试(最常见)
执行「跨层任务自动分解协议」:
- 层级识别 — 判断涉及哪些层(后端/前端/中间层)
- API边界拆分 — 按 API 包粒度拆为有序子任务
- 严格按序执行 — 后端先行 → API文档 → 前端消费 → 集成验证
4. Debug 任务
执行「Debug 边
Alternatives in Development
- OpenMythos — A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the availabl 14.8k ★
- Contributing To Skill Seeker — First off, thank you for considering contributing to Skill Seeker 11.1k ★
- Prompt Creater — I want you to become my Expert Prompt Creator 9.1k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
API First Modular
API-First 模块化开发框架 — 后端功能独立封装为API包,前端只调API,全栈只做编排,跨层任务自动分解
Breach Check
HIBP k-anonymity check on a password wordlist. Enriches each password with its breach count, ranks DESC. Free
StatsPAI
StatsPAI is the first Agent-native Python library for causal inference and applied econometrics — unified API,
JoeBro
The Mac workspace for your agents: Claude Code, Codex and OpenCode, plus your own Ollama, LM Studio or API mod
Agent Blackbox
Local-first flight recorder for coding agents : replay every run as a live session map, score the context bill
Claude Code Token Meter
Local-first dashboard for Claude Code token usage. Parses ~/.claude/projects/.jsonl and serves an interactive
Related Agents
FastAPI Pro
You are a FastAPI expert specializing in high-performance, async-first API development with modern P... opus w
Android Dev
Builds the Android app (phones and tablets) from product-designer's design and the API contract, test first -
Phase2 API Designer
Designs the API layer of a tech spec: RESTful contract-first design and integration patterns, building on data