[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78GZBPA164JDTP2G4Z26M9B":3,"skill-same:01M78GZBPA164JDTP2G4Z26M9B":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M78GZBPA164JDTP2G4Z26M9B","generating-rest-apis",null,"Generate complete REST API implementations from OpenAPI specifications or database schemas.\nUse when generating RESTful API implementations.\nTrigger with phrases like \"generate REST API\", \"create RESTful API\", or \"build REST endpoints\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fapi-development--rest-api-generator--generating-rest-apis\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: generating-rest-apis\ndescription: |\n  Generate complete REST API implementations from OpenAPI specifications or database schemas.\n  Use when generating RESTful API implementations.\n  Trigger with phrases like \"generate REST API\", \"create RESTful API\", or \"build REST endpoints\".\n  \nallowed-tools: Read, Write, Edit, Grep, Glob, Bash(api:rest-*)\nversion: 1.0.0\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\nlicense: MIT\ncompatible-with: claude-code, codex, openclaw\ntags: [api, database, rest-apis]\n---\n# Generating REST APIs\n\n## Overview\n\nGenerate complete, production-ready REST API implementations from OpenAPI specifications, database schemas, or resource definitions. Scaffold CRUD endpoints with proper HTTP method semantics, content negotiation, pagination, filtering, and HATEOAS link generation across Express, FastAPI, Spring Boot, and Gin frameworks.\n\n## Prerequisites\n\n- Node.js 18+ with Express\u002FFastify, or Python 3.10+ with FastAPI\u002FFlask, or Java 17+ with Spring Boot, or Go 1.21+ with Gin\u002FEcho\n- OpenAPI 3.0+ specification or database schema (SQL DDL, Prisma, Sequelize models)\n- HTTP testing tool: curl, httpie, or Postman\n- Database server (PostgreSQL, MySQL, MongoDB) accessible for ORM integration\n- Package manager configured (npm, pip, Maven, or go modules)\n\n## Instructions\n\n1. Scan the project for existing OpenAPI specs, database models, or route definitions using Glob and Read to establish current API surface area.\n2. Parse resource entities from the specification and generate model definitions with field types, validation constraints, and relationship mappings.\n3. Create route files implementing all five standard REST operations per resource: `GET \u002Fresources` (list with pagination), `GET \u002Fresources\u002F:id`, `POST \u002Fresources`, `PUT \u002Fresources\u002F:id`, and `DELETE \u002Fresources\u002F:id`.\n4. Implement controller logic with input validation using JSON Schema or framework-native validators (Zod, Pydantic, Bean Validation).\n5. Add query parameter support for filtering (`?status=active`), sorting (`?sort=-created_at`), field selection (`?fields=id,name`), and cursor-based or offset pagination.\n6. Wire authentication middleware to protect mutation endpoints (POST, PUT, DELETE) while allowing read access per configuration.\n7. Generate standardized error response envelopes with RFC 7807 Problem Details format for all 4xx\u002F5xx responses.\n8. Create integration tests covering happy paths, validation failures, 404s, and auth rejection for every endpoint.\n9. Produce or update the OpenAPI 3.0 specification to match the generated implementation.\n\nSee `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fimplementation.md` for the full step-by-step implementation guide.\n\n## Output\n\n- `${CLAUDE_SKILL_DIR}\u002Fsrc\u002Froutes\u002F` - Express\u002FFastify route definitions with HTTP method handlers\n- `${CLAUDE_SKILL_DIR}\u002Fsrc\u002Fcontrollers\u002F` - Business logic separated from routing\n- `${CLAUDE_SKILL_DIR}\u002Fsrc\u002Fmodels\u002F` - ORM models with validation rules and relationships\n- `${CLAUDE_SKILL_DIR}\u002Fsrc\u002Fmiddleware\u002Fauth.js` - JWT\u002FAPI key authentication middleware\n- `${CLAUDE_SKILL_DIR}\u002Fsrc\u002Fmiddleware\u002Fvalidate.js` - Request schema validation middleware\n- `${CLAUDE_SKILL_DIR}\u002Fopenapi.yaml` - Generated OpenAPI 3.0 specification\n- `${CLAUDE_SKILL_DIR}\u002Ftests\u002F` - Integration test suite per resource endpoint\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| 400 Bad Request | Request body fails schema validation | Return field-level validation errors with JSON pointer paths to invalid fields |\n| 401 Unauthorized | Missing or malformed Authorization header | Respond with `WWW-Authenticate` header indicating expected auth scheme |\n| 404 Not Found | Resource ID does not exist in data store | Return RFC 7807 body with resource type and requested ID for debugging |\n| 409 Conflict | Unique constraint violation on create\u002Fupdate | Include conflicting field name and existing value hint in error response |\n| 429 Too Many Requests | Client exceeds rate limit | Return `Retry-After` header with seconds until next allowed request window |\n\nRefer to `${CLAUDE_SKILL_DIR}\u002Freferences\u002Ferrors.md` for comprehensive error patterns.\n\n## Examples\n\n**E-commerce product API**: Generate CRUD endpoints for a Product resource with nested Category relationships, image upload handling, and inventory tracking fields with optimistic concurrency via ETags.\n\n**Multi-tenant SaaS API**: Scaffold tenant-scoped endpoints where all queries automatically filter by `tenant_id` extracted from JWT claims, with tenant isolation enforced at the middleware layer.\n\n**Public read API with admin writes**: Create a dual-access API where `GET` endpoints are publicly cacheable (Cache-Control headers) while `POST\u002FPUT\u002FDELETE` require admin-role JWT tokens.\n\nSee `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fexamples.md` for additional examples.\n\n## Resources\n\n- OpenAPI Specification 3.1: https:\u002F\u002Fspec.openapis.org\u002Foas\u002Fv3.1.0\n- RFC 7807 Problem Details for HTTP APIs\n- JSON:API Specification for standardized response formatting\n- Express.js, FastAPI, Spring Boot, and Gin framework documentation","# Generating REST APIs\n\n## Overview\n\nGenerate complete, production-ready REST API implementations from OpenAPI specifications, database schemas, or resource definitions. Scaffold CRUD endpoints with proper HTTP method semantics, content negotiation, pagination, filtering, and HATEOAS link generation across Express, FastAPI, Spring Boot, and Gin frameworks.\n\n## Prerequisites\n\n- Node.js 18+ with Express\u002FFastify, or Python 3.10+ with FastAPI\u002FFlask, or Java 17+ with Spring Boot, or Go 1.21+ with Gin\u002FEcho\n- OpenAPI 3.0+ specification or database schema (SQL DDL, Prisma, Sequelize models)\n- HTTP testing tool: curl, httpie, or Postman\n- Database server (PostgreSQL, MySQL, MongoDB) accessible for ORM integration\n- Package manager configured (npm, pip, Maven, or go modules)\n\n## Instructions\n\n1. Scan the project for existing OpenAPI specs, database models, or route definitions using Glob and Read to establish current API surface area.\n2. Parse resource entities from the specification and generate model definitions with field types, validation constraints, and relationship mappings.\n3. Create route files implementing all five standard REST operations per resource: `GET \u002Fresources` (list with pagination), `GET \u002Fresources\u002F:id`, `POST \u002Fresources`, `PUT \u002Fresources\u002F:id`, and `DELETE \u002Fresources\u002F:id`.\n4. Implement controller logic with input validation using JSON Schema or framework-native validators (Zod, Pydantic, Bean Validation).\n5. Add query parameter support for filtering (`?status=active`), sorting (`?sort=-created_at`), field selection (`?fields=id,name`), and cursor-based or offset pagination.\n6. Wire authentication middleware to protect mutation endpoints (POST, PUT, DELETE) while allowing read access per configuration.\n7. Generate standardized error response envelopes with RFC 7807 Problem Details format for all 4xx\u002F5xx responses.\n8. Create integration tests covering happy paths, validation failures, 404s, and auth rejection for every endpoint.\n9. Produce or update the OpenAPI 3.0 specification to match the generated implementation.\n\nSee `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fimplementation.md` for the full step-by-step implementation guide.\n\n## Output\n\n- `${CLAUDE_SKILL_DIR}\u002Fsrc\u002Froutes\u002F` - Express\u002FFastify route definitions with HTTP method handlers\n- `${CLAUDE_SKILL_DIR}\u002Fsrc\u002Fcontrollers\u002F` - Business logic separated from routing\n- `${CLAUDE_SKILL_DIR}\u002Fsrc\u002Fmodels\u002F` - ORM models with validation rules and relationships\n- `${CLAUDE_SKILL_DIR}\u002Fsrc\u002Fmiddleware\u002Fauth.js` - JWT\u002FAPI key authentication middleware\n- `${CLAUDE_SKILL_DIR}\u002Fsrc\u002Fmiddleware\u002Fvalidate.js` - Request schema validation middleware\n- `${CLAUDE_SKILL_DIR}\u002Fopenapi.yaml` - Generated OpenAPI 3.0 specification\n- `${CLAUDE_SKILL_DIR}\u002Ftests\u002F` - Integration test suite per resource endpoint\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| 400 Bad Request | Request body fails schema validation | Return field-level validation errors with JSON pointer paths to invalid fields |\n| 401 Unauthorized | Missing or malformed Authorization header | Respond with `WWW-Authenticate` header indicating expected auth scheme |\n| 404 Not Found | Resource ID does not exist in data store | Return RFC 7807 body with resource type and requested ID for debugging |\n| 409 Conflict | Unique constraint violation on create\u002Fupdate | Include conflicting field name and existing value hint in error response |\n| 429 Too Many Requests | Client exceeds rate limit | Return `Retry-After` header with seconds until next allowed request window |\n\nRefer to `${CLAUDE_SKILL_DIR}\u002Freferences\u002Ferrors.md` for comprehensive error patterns.\n\n## Examples\n\n**E-commerce product API**: Generate CRUD endpoints for a Product resource with nested Category relationships, image upload handling, and inventory tracking fields with optimistic concurrency via ETags.\n\n**Multi-tenant SaaS API**: Scaffold tenant-scoped endpoints where all queries automatically filter by `tenant_id` extracted from JWT claims, with tenant isolation enforced at the middleware layer.\n\n**Public read API with admin writes**: Create a dual-access API where `GET` endpoints are publicly cacheable (Cache-Control headers) while `POST\u002FPUT\u002FDELETE` require admin-role JWT tokens.\n\nSee `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fexamples.md` for additional examples.\n\n## Resources\n\n- OpenAPI Specification 3.1: https:\u002F\u002Fspec.openapis.org\u002Foas\u002Fv3.1.0\n- RFC 7807 Problem Details for HTTP APIs\n- JSON:API Specification for standardized response formatting\n- Express.js, FastAPI, Spring Boot, and Gin framework documentation",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"api","database","rest-apis","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Generate complete REST API implementations from OpenAPI specifications or database schemas.\nUse when generating RESTful API implementations.\nTrigger with phrases like \"generate REST API\", \"create RESTful API\", or \"build REST endpoints\".\n","Read, Write, Edit, Grep, Glob, Bash(api:rest-*)","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fapi-development--rest-api-generator--generating-rest-apis",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill generating-rest-apis",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill generating-rest-apis",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill generating-rest-apis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fapi-development--rest-api-generator--generating-rest-apis\u002FSKILL.md",true,[],[57,64,71,78,85,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]