MCPcopy Create free account
hub / github.com/alovajs/devtools

github.com/alovajs/devtools @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
745 symbols 1,895 edges 276 files 37 documented · 5% updated 10d agowormajs@0.2.7 · 2026-08-11★ 374 open issues

Browse by type

Functions 531 Types & classes 214
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

worma - The OpenAPI Generator for human and AI

npm version license

One OpenAPI spec. Code for developers, knowledge for AI.

worma is a universal OpenAPI code generator that simultaneously produces API calling code, TypeScript types, documentation, and AI Skills — for both humans and coding agents.

Key Features

🤖 AI Skill Generation

Auto-generate Skills-compliant API documentation that enables coding agents (Cursor, Copilot, Claude Code, Windsurf, etc.) to call your APIs accurately — correct function names, parameters, and import paths every time.

🧩 Four Outputs from One Source

One OpenAPI spec generates:

  • API calling functions for developers to import directly
  • TypeScript type definitions for type safety
  • In-editor documentation via VSCode extension
  • AI Skills for coding agents to read

🔌 Multi-Request-Library + Custom Templates

Built-in templates for Alova, Axios, Fetch, and Ky. Switch request libraries with a single config change. Full Handlebars-based custom template support.

📝 In-Editor API Docs

Install the VSCode extension to view complete API documentation on hover — parameter tables, response structures, and examples — even in plain JavaScript projects.

Quick Start

# Install worma for your coding agent
npx skills add alovajs/skills --skill worma-guidelines

# Or install the CLI package directly
npm i wormajs -D
npx worma init
# Edit worma.config.js with your OpenAPI URL, then:
npx worma gen

Documentation

Changelog

Changelog

Contributors

LICENSE

MIT

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 351
Method 180
Interface 149
Class 61
Enum 4

Languages

TypeScript100%

Modules by API surface

packages/wormhole/src/utils/openapi.ts26 symbols
packages/wormhole/src/type/ast.ts21 symbols
packages/wormhole/src/helper/template/index.ts20 symbols
packages/vscode-extension/ext/core/Global.ts16 symbols
packages/wormhole/typings/plugins.d.ts15 symbols
packages/wormhole/src/helper/config/ConfigHelper.ts14 symbols
packages/wormhole/src/plugins/presets/rename.ts13 symbols
packages/wormhole/src/helper/logger/index.ts13 symbols
packages/wormhole/src/helper/config/GeneratorHelper.ts13 symbols
packages/wormhole/src/helper/comment.ts13 symbols
packages/vscode-extension/src/hooks/use-tree-node.ts13 symbols
packages/vscode-extension/ext/utils/Log.ts12 symbols

For agents

$ claude mcp add devtools \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page