api-dev

Scaffold, test, document, and debug REST and GraphQL APIs from the command line.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/ViewWay/openclaw-skills --skill api-dev-viewway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-dev
Source: https://github.com/ViewWay/openclaw-skills/tree/main/api-dev
Command: npx skills add https://github.com/ViewWay/openclaw-skills --skill api-dev-viewway

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold, test, document, and debug REST and GraphQL APIs from the command line. The workflow covers the full API lifecycle from endpoint scaffolding to OpenAPI spec generation, mocking services, and HTTP debugging.

Core Features & Use Cases

  • Scaffolding new REST or GraphQL endpoints
  • Testing APIs with curl or scripts
  • Generating or validating OpenAPI/Swagger specs
  • Mocking external APIs for development
  • Debugging HTTP request/response issues
  • Load testing endpoints

Quick Start

Scaffold a new API endpoint locally and verify it with a curl request.

Frequently Asked Questions about api-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold and test a REST API endpoint from the command line?

To scaffold and test a REST API endpoint from the command line, you can generate the endpoint structure and immediately verify it using curl-based HTTP requests. This workflow streamlines both endpoint creation and validation.

What is the best way to generate an OpenAPI spec for existing HTTP APIs?

The best way to generate an OpenAPI spec for existing HTTP APIs is to use a command-line tool that inspects your endpoints and produces the documentation automatically. This ensures your spec matches your actual implementation.

Can I mock external APIs locally for development and testing?

Yes, you can mock external APIs locally for development and testing. This allows you to simulate service responses without relying on live third-party servers, enabling isolated and predictable testing conditions.

Does this API development workflow support both REST and GraphQL endpoints?

Yes, this API development workflow supports both REST and GraphQL endpoints. It covers the full API lifecycle for both protocols, allowing you to scaffold, test, document, and debug them from the command line.

How do I debug HTTP request and response issues during API development?

To debug HTTP request and response issues during API development, you can use curl-based testing to inspect headers, payloads, and status codes directly from the command line. This isolates network-level problems quickly.

What are the limitations of using command-line tools for load testing endpoints?

When using command-line tools for load testing endpoints, limitations include potential local resource bottlenecks and a lack of distributed testing capabilities. This approach is best suited for baseline performance checks rather than large-scale stress testing.