Generate production-ready API code scaffolds from zero. REST, GraphQL, auth, tests — all in one tool.
小蔥技能7w4.net有更新,你可以訪問看下。
bash scripts/apigen.sh <command> <resource_name> [options]
<name> — RESTful CRUD endpoints (Express.js)<name> — GraphQL Type + Query + Mutation schema<name> — OpenAPI 3.0 specification document<name> — Python API client class<name> — Mock API server with in-memory store<type> — Auth code (jwt / oauth / apikey)<type> — Rate limiter (token-bucket / sliding-window)<name> — Jest + Supertest API test suitebash 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
💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com
這個 Skill 質量中等偏上,功能覆蓋面廣,能生成 REST、GraphQL、API 文件等多種程式碼。生成程式碼包含錯誤處理和分頁等實用功能,配套有使用技巧說明。不過部分功能實現可以更完善,整體缺少示例輸出展示實際效果。對於需要快速搭建 API 腳手架的開發者有一定幫助。