Api generator

From bighardperson/computer-science-skills-collection · View interactive version

Api generator is an AI agent skill from the GitHub repository bighardperson/computer-science-skills-collection. API code generator. Generate RESTful endpoints, GraphQL schemas, OpenAPI/Swagger docs, API clients, mock servers, authentication, rate limiting.

How to use this skill

Skill file

⚡ API Generator

Generate production-ready API code scaffolds from zero. REST, GraphQL, auth, tests — all in one tool.

Usage

bash scripts/apigen.sh <command> <resource_name> [options]

Commands

Core Generation

Utilities

Examples

bash scripts/apigen.sh rest user          # RESTful user endpoints
bash scripts/apigen.sh graphql product    # GraphQL product schema
bash scripts/apigen.sh auth jwt           # JWT authentication
bash scripts/apigen.sh test order         # Order API tests

Output

All code prints to stdout. Copy or redirect into your project files.

Generated code includes full comments and can serve as a project starting point.


💬 Feedback & Feature Requests: https://bytesagain.com/feedback

Powered by BytesAgain | bytesagain.com

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.