Skip to content
Testing
Command

/login-yapi

Prepare the local YApi CLI and then run yapi login using the user's existing config flow.

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/login-yapi

Context preview

What this command does when you run it.

Prepare the local YApi CLI and then run yapi login using the user's existing config flow.

Command definition

login-yapi.md
name: login-yapi
description: Prepare the local YApi CLI and then run yapi login using the user's existing config flow.

Login YApi

1. Run `command -v yapi >/dev/null || npm install -g @leeguoo/yapi-mcp`. 2. Run `yapi login`. 3. Tell the user that credentials are stored in `~/.yapi/config.toml`. 4. Recommend running `yapi whoami` after login to confirm the environment.

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