Agent skill

API Generating

by huangjia2019 in huangjia2019/claude-code-engineering

Generate API endpoint code and documentation from specifications.

No licenceAuto-check passedBackend & APIs

Install API Generating

skills CLI
$ npx skills add huangjia2019/claude-code-engineering --skill api-generating -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install huangjia2019/claude-code-engineering api-generating --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/huangjia2019/claude-code-engineering.git skills-src && mkdir -p .claude/skills && cp -r skills-src/04-Skills/projects/05-api-generator .claude/skills/api-generating && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
api-generating
GitHub stars
1.1k
Used in
1 other repo
Token cost
~379 tokens
SKILL.md length
115 words
Files
11 (incl. scripts)
Skills in repo
10
Repo updated
First seen
Licence
None found

At a glance

Generate API endpoint code and documentation from specifications.

  • Works in 4 steps: Identify API Endpoints → Extract Information → Generate Documentation → …
  • The user wants to create new API endpoints
  • SKILL.md covers Quick Reference, Process, Output Formats and Automation
  • Runs Python and Shell scripts from its folder; calls python

What it does

API Generating is an agent skill from huangjia2019/claude-code-engineering. Generate API endpoint code and documentation from specifications. Use when the user wants to create new API endpoints, generate route handlers, scaffold REST APIs, or produce OpenAPI/Swagger specs from code.

Its SKILL.md is about 380 tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts (for example `EXAMPLES.md`, `PATTERNS.md` and `README.md`).

It sits in Backend & APIs, covering REST APIs and OpenAPI specifications. It works with OpenAPI. The repository describes itself as: This repository demonstrates how to use Claude Code to do real engineering work, not just writing code. 本项目是极客时间专栏 《Claude Code 工程化实战》 的官方配套示例仓库,目标就是: 👉 把 Claude Code…

When your agent uses it

  • The user wants to create new API endpoints
  • Generate route handlers
  • Scaffold REST APIs
  • Produce OpenAPI/Swagger specs from code

Example prompts

  • “/api-generating”

Requirements

  • Python 3
  • A Bash shell
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Write, Bash(python:*), Bash(./scripts/*:*)

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Identify API Endpoints
  2. Extract Information
  3. Generate Documentation
  4. Create Overview

What it can do on your machine

Read from SKILL.md and the folder at commit 89fea03. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Write
    • Bash(python:*)
    • Bash(./scripts/*:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

API Generating loads about 379 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 115 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~379

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 115 words (~379 tokens).

“Generate comprehensive API documentation from source code.”

— opening of SKILL.md by huangjia2019
name
api-generating
allowed-tools
Read, Grep, Glob, Write, Bash(python:*), Bash(./scripts/*:*)

Read the full SKILL.md on GitHub

Files

SKILL.md and 10 other files (scripts) in 04-Skills/projects/05-api-generator of huangjia2019/claude-code-engineering.

  • SKILL.md
  • .claude/skills
  • EXAMPLES.md
  • PATTERNS.md
  • README.md
  • STANDARDS.md
  • scripts/detect_routes.py
  • scripts/validate_openapi.sh
  • templates/endpoint.md
  • templates/index.md
  • templates/openapi.yaml

Open the folder on GitHubat commit 89fea03

Used in 1 other repository

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in huangjia2019/claude-code-engineering, which our catalogue first saw on October 7, 2026.

Compare with similar skills

API Generating next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

API Generating compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
API Generating this skillhuangjia2019/claude-code-engineering1.1k1 repos~379Automated safety check: PassNone
API DesignerJeffallan/claude-skills12k2 repos~2kAutomated safety check: PassMIT
OpenAPI to MCP Servermcp-use/mcp-use11k—~5.2kAutomated safety check: PassApache-2.0
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT
Old Coder API DesignAmazingAng/old-coder7491 repos~3.4kAutomated safety check: PassMIT
API CallerNVIDIA/SkillEvaluator5481 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • API Designer

    Jeffallan/claude-skills

    Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.

    12k GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • OpenAPI to MCP Server

    mcp-use/mcp-use

    Turns an OpenAPI or Swagger spec into an MCP server with the mcp-use TypeScript SDK, mapping each operation to a tool, wiring auth, testing and deploying.

    11k GitHub stars~5.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Old Coder API Design

    AmazingAng/old-coder

    Reviews or designs an HTTP/JSON API's endpoints, auth, pagination, versioning and deprecations, guarding against inventing a bespoke interface or silently breaking consumers.

    749 GitHub starsUsed in 1 repo~3.4k tokens
    Backend & APIsAuto-check passed
  • API Caller

    NVIDIA/SkillEvaluator

    Official

    Call any REST API dynamically. An agent skill from NVIDIA/SkillEvaluator.

    548 GitHub starsUsed in 1 repo~1.1k tokens
    Backend & APIsAuto-check passed
  • API Endpoint Contract

    trycompai/comp

    The contract every new or modified API endpoint must follow so it is correct for the public OpenAPI spec, the MCP server (npm @trycompai/mcp-server), the ValidationPipe, and the docs.

    2k GitHub stars~2.7k tokensUpdated today
    Backend & APIsAuto-check passed

More from huangjia2019/claude-code-engineering

All 10 skills in this repo
  • Financial Analyzing

    huangjia2019/claude-code-engineering

    Analyze financial data, calculate financial ratios, and generate analysis reports.

    1.1k GitHub starsUsed in 1 repo~474 tokens
    Auto-check passed
  • API Documenting

    huangjia2019/claude-code-engineering

    Generate API documentation from code. An agent skill from huangjia2019/claude-code-engineering.

    1.1k GitHub starsUsed in 1 repo~396 tokens
    Auto-check passed
  • API Generating

    huangjia2019/claude-code-engineering

    Generate API endpoint documentation from Express route files.

    1.1k GitHub starsUsed in 1 repo~426 tokens
    Auto-check passed
  • Code Health Check

    huangjia2019/claude-code-engineering

    Perform a comprehensive code health check on a directory. An agent skill from huangjia2019/claude-code-engineering.

    1.1k GitHub stars~489 tokensUpdated 2 mo ago
    Auto-check passed
  • API Conventions

    huangjia2019/claude-code-engineering

    API design patterns and conventions for this project. An agent skill from huangjia2019/claude-code-engineering.

    1.1k GitHub starsUsed in 1 repo~398 tokens
    Auto-check passed
  • Code Reviewing

    huangjia2019/claude-code-engineering

    Review code for quality, security, and best practices. An agent skill from huangjia2019/claude-code-engineering.

    1.1k GitHub stars~499 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Categories

Questions about API Generating

What does API Generating do?

Generate API endpoint code and documentation from specifications. API Generating is an agent skill from huangjia2019/claude-code-engineering. Generate API endpoint code and documentation from specifications.

When should I use API Generating?

API Generating fits situations like: the user wants to create new API endpoints; generate route handlers; scaffold REST APIs; produce OpenAPI/Swagger specs from code.

How do I install API Generating in Claude Code?

Run `npx skills add huangjia2019/claude-code-engineering --skill api-generating -a claude-code`. Or copy the skill folder (04-Skills/projects/05-api-generator in huangjia2019/claude-code-engineering) into .claude/skills/api-generating in your project. Claude Code loads it when a task matches its description.

How do I install API Generating in Codex?

Run `npx skills add huangjia2019/claude-code-engineering --skill api-generating -a codex`. Or copy the skill folder (04-Skills/projects/05-api-generator in huangjia2019/claude-code-engineering) into .agents/skills/api-generating in your project. Codex loads it when a task matches its description.

Can I use API Generating in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add huangjia2019/claude-code-engineering --skill api-generating -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/api-generating, .gemini/skills/api-generating, .github/skills/api-generating and .opencode/skills/api-generating in your project.

What does API Generating need to run?

Going by SKILL.md and its folder, API Generating needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3; A Bash shell. Its frontmatter pre-approves these tools: Read, Grep, Glob, Write, Bash(python:*), Bash(./scripts/*:*).

Does API Generating access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is API Generating safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does API Generating use?

No licence was found for API Generating or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does API Generating use?

About 379 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to API Generating?

Skills that share tags, products or a category with API Generating: API Designer (Jeffallan/claude-skills, 12k stars), OpenAPI to MCP Server (mcp-use/mcp-use, 11k stars), Use Yaak (mountain-loop/yaak, 19k stars) and Old Coder API Design (AmazingAng/old-coder, 749 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains API Generating?

huangjia2019 (a GitHub user) maintains it in huangjia2019/claude-code-engineering, which has 1,133 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on July 23, 2026.

Source: huangjia2019/claude-code-engineering on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.