Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/noobke-api-client-gen
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/api-client-gen
What's inside
- Skill name
api-client-gen- Description
- 需要从 OpenAPI spec 生成类型安全的 API 客户端时使用
- License
- MIT
- Instructions
- 44 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- name: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
# API Client Gen — API 客户端生成
从 OpenAPI/Swagger spec 或接口文档生成类型安全的 API 客户端。
## 流程
1. **读取 spec** — OpenAPI yaml/json 或接口文档
2. **分析接口** — 提取 endpoints、methods、parameters、responses
3. **生成类型** — TypeScript interfaces/types
4. **生成客户端** — 带类型的 fetch/axios 包装
## 输出
```
src/api/
├── types.ts # 请求/响应类型
├── client.ts # API 客户端(含错误处理)
└── endpoints/
├── users.ts # 用户相关接口
└── posts.ts # 文章相关接口
```
## 客户端模板
```typescript
// client.ts
const BASE_URL = process.env.API_URL ?? 'http://localhost:3000';
async function request<T>(
endpoint: string,
options?: RequestInit,
): Promise<T> {
const res = await fetch(`${BASE_URL}${endpoint}`, {
headers: { 'Content-Type': 'application/json' },
...options,
});
if (!res.ok) {
throw new ApiError(res.status, await res.text());
}
return res.json();
}
```From noobke/reasonix-skills, MIT.
More from noobke/reasonix-skills
- 0.504score
gh-fix-ci
noobke
GitHub Actions CI 失败时使用 — 用 gh CLI 检查 PR checks、拉日志、总结失败原因、生成修复方案
SkillCFreshness: C★ 3Claude Code +9 - 0.504score
find-docs
noobke
需要任何库/框架/SDK 的最新文档时使用 — 用 Context7 CLI 拉取最新 API 参考和代码示例,不要靠训练数据
SkillCFreshness: C★ 3Claude Code +9 - 0.504score
planning-with-files
noobke
复杂多步骤任务时使用 — 用 task_plan.md + findings.md + progress.md 持久化追踪进度,不怕 /clear
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
frontend-design
noobke
需要高质量前端界面时使用 — 精致的排版、间距、动效。适合 Landing Page、App UI、Demo 原型
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
get-api-docs
noobke
写第三方 API/SDK 集成代码前使用 — 用 chub CLI 获取最新的 API 文档,不要依赖训练数据
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
git-worktrees
noobke
开始需要隔离的功能开发时使用 — 用 git worktree 创建隔离工作空间,保护当前分支
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
agent-browser
noobke
需要浏览器自动化时使用 — 导航、填表、截图、抓取、端到端测试
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
autoresearch
noobke
需要自主目标驱动迭代时使用 — 修改→验证→保留/丢弃的自动循环,支持多种模式
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
brainstorming
noobke
写代码前先对齐需求 — 探索用户意图、约束和方案,产出设计文档后才开始实现
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
doc-writer
noobke
需要从代码生成文档时使用 — 自动生成 API 文档、README 或模块说明
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
executing-plans
noobke
有实施计划时使用 — 加载计划、批判性审阅、逐任务执行、完成时汇报
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
finish-branch
noobke
实现完成、所有测试通过时使用 — 呈现结构化选项:merge/PR/保留/丢弃
SkillCFreshness: C★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 28, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/noobke/reasonix-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from noobke
- 0.504score
planning-with-files
noobke
复杂多步骤任务时使用 — 用 task_plan.md + findings.md + progress.md 持久化追踪进度,不怕 /clear
SkillCFreshness: C★ 3Claude Code +9 - 0.504score
gh-fix-ci
noobke
GitHub Actions CI 失败时使用 — 用 gh CLI 检查 PR checks、拉日志、总结失败原因、生成修复方案
SkillCFreshness: C★ 3Claude Code +9 - 0.504score
find-docs
noobke
需要任何库/框架/SDK 的最新文档时使用 — 用 Context7 CLI 拉取最新 API 参考和代码示例,不要靠训练数据
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
db-migration
noobke
需要数据库迁移时使用 — 生成 migration 文件,含 up 和 down(回滚)
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
get-api-docs
noobke
写第三方 API/SDK 集成代码前使用 — 用 chub CLI 获取最新的 API 文档,不要依赖训练数据
SkillCFreshness: C★ 3Claude Code +9 - 0.501score
frontend-design
noobke
需要高质量前端界面时使用 — 精致的排版、间距、动效。适合 Landing Page、App UI、Demo 原型
SkillCFreshness: C★ 3Claude Code +9
Cite this page
api-client-gen skill. Agent Mart. https://agentmart.dev/skills/noobke-api-client-gen (last updated 2026-10-24)