Skip to content
Testing
Command

/get-interface-by-id

Fetch a YApi interface by numeric ID.

From plugin
cross-request-master
1688 skills8 commands
Install
> /plugin marketplace add leeguooooo/cross-request-master
> /plugin install yapi-plugin@cross-request-marketplace

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/get-interface-by-id

Context preview

What this command does when you run it.

Fetch a YApi interface by numeric ID.

Command definition

get-interface-by-id.md
name: get-interface-by-id
description: Fetch a YApi interface by numeric ID.

Get Interface By ID

1. Ask for the interface ID if it is not already present. 2. Run `command -v yapi >/dev/null || npm install -g @leeguoo/yapi-mcp`. 3. Run `yapi --path /api/interface/get --query id=<api_id>`. 4. Parse the returned payload. 5. Summarize the interface method, path, params, body schema, and response schema.

Ships withcross-request-master

面向 API 开发/测试的 Chrome 扩展:绕过 CORS 发请求、自动生成 cURL,并对 YApi「运行」页做增强(内嵌 cURL、路径参数 {param} 引导填写)。 本仓库包含生态内的多个子项目: packages/yapi-mcp — CLI / Skill(发布包名保持为 @leeguoo/yapi-mcp,MCP 配置作为兼容方案保留,不影响扩展打包) plugins/yapi-plugin — Cursor 与 Claude Code 插件(已从原独立仓库

Get the whole plugin
Stats
168
Stars
22
Forks
Active
Maintenance
JavaScript
Language
15d ago
Last commit
1y ago
Created

Repo: leeguooooo/cross-request-master