humanpages
Search and hire real humans for tasks — photography, delivery, research, and more
Design, build, test, document, and secure production-grade APIs. Covers the full lifecycle from schema design through deployment, monitoring, and versioning. Use when designing new APIs, reviewing existing ones, generating OpenAPI specs, building test suites, or debugging production issues.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install 1kalin/afrexai-api-architect打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Design, build, test, document, secure, and monitor production-grade APIs. Not just curl commands — a complete engineering methodology.
Always design before coding. The spec IS the contract.
Map your domain to resources using this template:
# api-design.yaml
service: order-management
base_path: /api/v1
resources:
- name: orders
path: /orders
description: Customer purchase orders
identifier: order_id (UUID)
parent: null
operations: [list, create, get, update, cancel]
sub_resources:
- name: line_items
path: /orders/{order_id}/items
operations: [list, add, update, remove]
- name: payments
path: /orders/{order_id}/payments
operations: [list, create, get, refund]
states: [draft, confirmed, processing, shipped, delivered, cancelled]
transitions:
- from: draft → to: confirmed (action: confirm)
- from: confirmed → to: processing (action: process)
- from: processing → to: shipped (action: ship)
- from: shipped → to: delivered (action: deliver)
- from: [draft, confirmed] → to: cancelled (action: cancel)
| Rule | Good | Bad |
|---|---|---|
| Plural nouns for collections | /users |
/user, /getUsers |
| Kebab-case for multi-word | /line-items |
/lineItems, /line_items |
| No verbs in URLs | POST /orders |
/createOrder |
| Nest for ownership | /users/123/orders |
/orders?user=123 (for prima... |
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
The complete API development lifecycle skill — from design through deployment, monitoring, and versioning.
Turns your AI agent into a senior API engineer. Not just curl commands — a full methodology:
clawhub install afrexai-api-architect
Tell your agent:
Most API skills give you curl examples. This gives you:
Want industry-specific API patterns? Our context packs include API design guidance tailored to your vertical:
# API Architect — Full Lifecycle API Development
Design, build, test, document, secure, and monitor production-grade APIs. Not just curl commands — a complete engineering methodology.
## When to Use
- Designing a new API (REST, GraphQL, or gRPC)
- Reviewing an existing API for quality, consistency, or security
- Generating or validating OpenAPI/Swagger specs
- Building comprehensive test suites (unit, integration, contract, load)
- Debugging production API issues
- Planning API versioning and deprecation
- Setting up monitoring, rate limiting, and error handling
---
## Phase 1: API Design
### Design-First Approach
Always design before coding. The spec IS the contract.
#### Resource Modeling
Map your domain to resources using this template:
```yaml
# api-design.yaml
service: order-management
base_path: /api/v1
resources:
- name: orders
path: /orders
description: Customer purchase orders
identifier: order_id (UUID)
parent: null
operations: [list, create, get, update, cancel]
sub_resources:
- name: line_items
path: /orders/{order_id}/items
operations: [list, add, update, remove]
- name: payments
path: /orders/{order_id}/payments
operations: [list, create, get, refund]
states: [draft, confirmed, processing, shipped, delivered, cancelled]
transitions:
- from: draft → to: confirmed (action: confirm)
- from: confirmed → to: processing (action: process)
- from: processing → to: shipped (action: ship)
- from: shipped → to: delivered (action: deliver)
- from: [draft, confirmed] → to: cancelled (action: cancel)
```
#### Naming Conventions Checklist
| Rule | Good | Bad |
|------|------|-----|
| Plural nouns for collections | `/users` | `/user`, `/getUsers` |
| Kebab-case for multi-word | `/line-items` | `/lineItems`, `/line_items` |
| No verbs in URLs | `POST /orders` | `/createOrder` |
| Nest for ownership | `/users/123/orders` | `/orders?user=123` (for prima...# AfrexAI API Architect 🔌 The complete API development lifecycle skill — from design through deployment, monitoring, and versioning. ## What This Does Turns your AI agent into a senior API engineer. Not just curl commands — a full methodology: - **Design**: Resource modeling, naming conventions, status code decision trees - **Spec**: OpenAPI 3.1 generation with quality scoring (0-20 checklist) - **Build**: Validation layers, error codes, idempotency, rate limiting patterns - **Test**: Test pyramid, per-endpoint checklists, contract testing, curl recipes - **Secure**: 30+ point security audit, CORS config, auth patterns - **Version**: Strategy decision matrix, deprecation playbook, migration templates - **Monitor**: Metrics dashboard, structured logging, health checks - **Review**: 100-point API quality rubric across 6 dimensions ## Install ```bash clawhub install afrexai-api-architect ``` ## Quick Start Tell your agent: - *"Design a REST API for an order management system"* - *"Review this API for quality and security issues"* - *"Generate an OpenAPI spec for my user service"* - *"Write comprehensive tests for the POST /orders endpoint"* - *"Security audit our payment API"* ## What Makes This Different Most API skills give you curl examples. This gives you: - A **design-first methodology** (spec before code) - **Decision matrices** (pagination type, versioning strategy, status codes) - **Scoring rubrics** (spec quality 0-20, API quality 0-100) - **Production patterns** (idempotency, rate limiting, webhook design) - **GraphQL guidance** with anti-pattern detection - **Edge case handling** (timezones, concurrent updates, eventual consistency) ## ⚡ Level Up Want industry-specific API patterns? Our context packs include API design guidance tailored to your vertical: - **SaaS Context Pack** — Multi-tenant API design, subscription billing APIs - **Fintech Context Pack** — Payment processing, PSD2 compliance, ledger APIs - **Healthcare Context Pack** — FHIR/...
Search and hire real humans for tasks — photography, delivery, research, and more
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.
Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...
Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...