/bind-docs-sync
Create a docs-sync binding between local docs and a YApi category.
> /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
/bind-docs-sync
Context preview
What this command does when you run it.
Create a docs-sync binding between local docs and a YApi category.
Command definition
bind-docs-sync.mdname: bind-docs-sync description: Create a docs-sync binding between local docs and a YApi category.
Bind Docs Sync
1. Confirm the binding name, local directory, project ID, and category ID. 2. Run `command -v yapi >/dev/null || npm install -g @leeguoo/yapi-mcp`. 3. Run `yapi docs-sync bind add --name <binding> --dir <path> --project-id <project_id> --catid <catid>`. 4. Parse the command output. 5. Summarize the created binding and mention that metadata is stored under `.yapi/`.
面向 API 开发/测试的 Chrome 扩展:绕过 CORS 发请求、自动生成 cURL,并对 YApi「运行」页做增强(内嵌 cURL、路径参数 {param} 引导填写)。 本仓库包含生态内的多个子项目: packages/yapi-mcp — CLI / Skill(发布包名保持为 @leeguoo/yapi-mcp,MCP 配置作为兼容方案保留,不影响扩展打包) plugins/yapi-plugin — Cursor 与 Claude Code 插件(已从原独立仓库
Repo: leeguooooo/cross-request-master
Other commands on cross-request-master.
- /get-interface-by-id
Fetch a YApi interface by numeric ID.
Open command - /list-category-interfaces
List YApi interfaces under a category ID.
Open command - /login-yapi
Prepare the local YApi CLI and then run yapi login using the user's existing config flow.
Open command - /run-docs-sync
Run YApi docs-sync for one binding or for all configured bindings.
Open command - /search-interface
Search YApi interfaces by keyword through the local yapi CLI.
Open command - /setup-yapi
Install or verify the YApi CLI and report whether login is required.
Open command

