design-rest-api
Design RESTful API architecture with comprehensive endpoints, authentication, and documentation
Imported description, not reviewed yet
This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.
Download
Install
After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.
For this project
It goes in: .claude/commands/
mkdir -p .claude/commands && unzip ~/Downloads/design-rest-api.zip -d .claude/commandsFor your account on the whole machine
It goes in: ~/.claude/commands/
mkdir -p ~/.claude/commands && unzip ~/Downloads/design-rest-api.zip -d ~/.claude/commands
Instructions
Design REST API
Design comprehensive RESTful API architecture: $ARGUMENTS
Current Application State
- Framework detection: @package.json or @requirements.txt (Express, FastAPI, Spring Boot, etc.)
- Existing API: !
grep -r "route\|endpoint\|@app\\.route" src/ 2>/dev/null | wc -lroutes found - Authentication: !
grep -r "auth\|jwt\|session" src/ 2>/dev/null | wc -lauth components - Documentation: @swagger.yaml or @openapi.json (if exists)
Task
Design complete RESTful API with industry best practices and comprehensive functionality:
API Version: Use $ARGUMENTS to specify API version, GraphQL hybrid approach, or OpenAPI specification
API Architecture:
- Resource Design - RESTful endpoints, HTTP methods, URL structure, resource relationships
- Request/Response Models - Data validation, serialization, error handling, status codes
- Authentication & Authorization - JWT, OAuth, RBAC, API keys, rate limiting
- API Documentation - OpenAPI/Swagger specs, interactive documentation, code examples
- Versioning Strategy - URL, header, or content-type based versioning
- Performance & Security - Caching, pagination, CORS, input validation, SQL injection prevention
Advanced Features: Real-time capabilities, file uploads, batch operations, webhooks, and monitoring integration.
Standards Compliance: Follow REST principles, HTTP specifications, and API design best practices.
Output: Complete API specification with endpoints, authentication, validation, documentation, and client SDKs.
Files
- LICENSE1 KB
- design-rest-api.md1.8 KB
What the automatic scan found
We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.
- Needs a lookAllowed tools with no limits
In file cli-tool/components/commands/setup/design-rest-api.md
Comments (0)
No comments yet. Be the first.
Sign in to comment. Commenting comes at level 1 (Member).