jamierpond/yapi/topics
Claude Code and agent skill by jamierpond/yapi
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install jamierpond/yapi/topicsSKILL.md
yapi — LLM Skill Guide
yapi is a CLI-first, git-friendly API client. You define requests in YAML files and run them from the terminal. No GUI, no accounts, no state — just files and a binary.
When to Use yapi
- Send HTTP, gRPC, GraphQL, or TCP requests
- Chain multiple requests together (auth flow, then use the token)
- Assert on responses (status codes, body content via JQ)
- Run API test suites with
yapi test - Poll endpoints until a condition is met
Core Concepts
Every request file starts with `yapi: v1`. This is required.
File extension: .yapi.yml (or .yapi.yaml). Test files use .test.yapi.yml.
Project config: yapi.config.yml at the project root defines environments and base URLs. yapi walks up the directory tree to find it.
Variables: Use ${VAR} syntax. Resolved from: chain step outputs > environment vars > shell env > defaults. Default values: ${VAR:-fallback}.
Quick Reference
Run a request file
Quick one-off request (no file needed)
Minimal request file
POST with body
Chain requests (pass data between steps)
Assert on responses
Run tests
Environments
Define in yapi.config.yml:
Then in request files, use ${url} and ${API_KEY} — they resolve from the active environment.
Documentation Map
The docs are split into topics (concepts/features) and commands (CLI reference). Read only what you need.
Topics (docs/topics/)
| File | Read this when you need to... | |
|---|---|---|
config.md | Know all available YAML fields (full schema reference) | |
chain.md | Chain multiple requests, pass data between steps | |
assert.md | Write assertions on status, body, or headers | |
variables.md | Understand ${VAR} interpolation and resolution order | |
environments.md | Set up dev/staging/prod environments | |
jq.md | Filter or transform response bodies with JQ | |
testing.md | Use the built-in test runner (yapi test) | |
polling.md | Poll an endpoint until a condition is met (wait_for) | |
send.md | Use yapi send for quick curl-like requests | |
protocols.md | Use gRPC, GraphQL, or TCP (not just HTTP) |
Commands (docs/commands/)
Each file documents one CLI command: yapi_run.md, yapi_send.md, yapi_test.md, yapi_stress.md, yapi_watch.md, etc. Refer to these for flag details and usage examples.
Common Patterns
Auth flow then use token: Chain with ${login.token} in the Authorization header of subsequent steps.
Validate an API contract: Use expect.assert with JQ expressions. Chain variable assertions let you compare across steps: .id == ${create.id}.
Wait for async job: Use wait_for.until with a period or backoff and timeout.
Filter noisy responses: Use jq_filter in the YAML or --jq on the CLI.
Gotchas
yapi: v1at the top of every file — missing it is the most common error- Variables are
${VAR}, not$VAR - Assertions are JQ expressions that must evaluate to
true - Chains stop on first failure (fail-fast)
- Protocol is auto-detected from URL scheme:
grpc://,tcp://, or HTTP by default
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs/topics/skill.md
Popularity
- Repository stars
- 109
- Repository forks
- 2
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jamierpond/yapi/topics)