yapi
Query and sync YApi interface documentation. Use when user mentions "yapi 接口文档", YAPI docs, asks for request/response details, or needs docs sync. Also triggers when user pastes a YApi URL that matches the configured base_url.
Install
mkdir -p .claude/skills/yapi && curl -L -o skill.zip "https://mcp.directory/api/skills/download/9344" && unzip -o skill.zip -d .claude/skills/yapi && rm skill.zipInstalls to .claude/skills/yapi
About this skill
YApi interface docs
Command policy
Prefer yapi command. If missing, fallback to one-shot npx without forcing global install:
yapi -h
# fallback:
npx -y @leeguoo/yapi-mcp -h
In command examples below, yapi can be replaced by npx -y @leeguoo/yapi-mcp.
Quick workflow
- If user gives a YApi URL, verify it belongs to configured
base_url. - Confirm auth (
yapi whoami), then runyapi loginonly when needed. - Resolve target by
api_id/ keyword / category. - Fetch raw JSON first, then summarize: method, path, headers, params, body, response schema/examples.
- For docs sync tasks, do
--dry-runfirst, then real sync.
URL detection
- Read configured
base_urlfrom~/.yapi/config.toml.
rg -n "^base_url\\s*=" ~/.yapi/config.toml
- If URL origin matches
base_url, extract IDs from path:/project/123/...->project_id=123.../api/456->api_id=456.../api/cat_789->catid=789
- Prefer direct lookup when
api_idexists:
yapi --path /api/interface/get --query id=<api_id>
Common commands
# version/help
yapi --version
yapi -h
# auth
yapi whoami
yapi login
# search / fetch
yapi search --q keyword --project-id 310
yapi --path /api/interface/get --query id=123
yapi --path /api/interface/list_cat --query catid=123
Config cache locations:
- Config:
~/.yapi/config.toml - Auth cache:
~/.yapi-mcp/auth-*.json
Docs sync
Binding mode (recommended):
yapi docs-sync bind add --name projectA --dir docs/release-notes --project-id 267 --catid 3667
yapi docs-sync --binding projectA --dry-run
yapi docs-sync --binding projectA
Notes:
- Binding file:
.yapi/docs-sync.json - Mapping outputs:
.yapi/docs-sync.links.json,.yapi/docs-sync.projects.json,.yapi/docs-sync.deployments.json - Default behavior syncs changed files only; use
--forcefor full sync. - Compatible with directory
.yapi.jsonconfig as fallback (without binding). - Mermaid/PlantUML/Graphviz/D2 rendering depends on local tool availability; missing tools do not block basic sync.
Interface creation guardrails
- Always set
req_body_type(usejsonif unsure) and provideres_body(prefer JSON Schema) when creating/updating interfaces. - Put structured request/response fields in
req_*/res_body, not only in free-textdesc/markdown.
More by openclaw
View all skills by openclaw →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
pdf-to-markdown
aliceisjustplaying
Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.
Related MCP Servers
Browse all serversConnect Supabase projects to AI with Supabase MCP Server. Standardize LLM communication for secure, efficient developmen
dbt bridges data build tool resources and natural language, enabling top BI software features, metadata discovery, and d
Unlock AI-powered automation for Postman for API testing. Streamline workflows, code sync, and team collaboration with f
Svelte Docs lets you efficiently query and retrieve Svelte documentation, streamlining access to framework-specific reso
Access advanced Ethereum blockchain data with Cryo. Efficient SQL queries & analytics using DuckDB. Powerful on-chain ex
Manipulate and analyze JSON data with JSON Manipulation using JSONPath syntax. Query arrays and explore JSONPath example
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.