[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HAH8QB072RA1G729XJ8BMB":3,"skill-same:01M6HAH8QB072RA1G729XJ8BMB":58},{"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":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M6HAH8QB072RA1G729XJ8BMB","rest-api",null,"REST API design best practices and patterns","NeuralBlitz\u002FMito","NeuralBlitz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F79354388?v=4","01M6H8T2TFH477HRS0KTSTKR2E","David Riggs","01M6H8T2YQQDXPYM092P670Z21",0,"MIT","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Frest-api\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"REST","api","rest api","design","api design","best practices","opencode","patterns","api-design","rest api design","2026-11-10 10:12:30",false,"---\nname: rest-api\ndescription: REST API design best practices and patterns\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: developers\n  category: api-design\n---\n## What I do\n- Design clean REST APIs following best practices\n- Implement proper HTTP methods and status codes\n- Handle pagination, filtering, and sorting\n- Version APIs properly\n- Document APIs with OpenAPI\u002FSwagger\n- Implement authentication and authorization\n- Handle errors consistently\n- Use HATEOAS where appropriate\n\n## When to use me\nWhen designing or implementing REST APIs.\n\n## REST Design Principles\n```\nResources: \u002Fusers, \u002Fusers\u002F{id}, \u002Fusers\u002F{id}\u002Fposts\nCollections: \u002Fposts, \u002Fposts?status=published\nActions as sub-resources: \u002Fusers\u002F{id}\u002Factivate, \u002Fusers\u002F{id}\u002Fdeactivate\n\nHTTP Methods:\nGET     - Retrieve resource(s)\nPOST    - Create resource(s)\nPUT     - Replace resource\nPATCH   - Partial update\nDELETE  - Remove resource\n\nStatus Codes:\n200 OK - Success\n201 Created - Resource created\n204 No Content - Success, no body\n400 Bad Request - Invalid input\n401 Unauthorized - Authentication required\n403 Forbidden - Authenticated but not authorized\n404 Not Found - Resource doesn't exist\n409 Conflict - Resource state conflict\n422 Unprocessable Entity - Validation errors\n429 Too Many Requests - Rate limiting\n500 Internal Server Error - Server error\n```\n\n## API Response Format\n```json\n{\n  \"data\": {\n    \"id\": \"123\",\n    \"type\": \"user\",\n    \"attributes\": {\n      \"email\": \"user@example.com\",\n      \"name\": \"John Doe\",\n      \"createdAt\": \"2024-01-15T10:30:00Z\"\n    },\n    \"relationships\": {\n      \"posts\": {\n        \"links\": {\n          \"related\": \"\u002Fusers\u002F123\u002Fposts\"\n        }\n      }\n    },\n    \"links\": {\n      \"self\": \"\u002Fusers\u002F123\"\n    }\n  },\n  \"meta\": {\n    \"copyright\": \"2024\"\n  }\n}\n```\n\n## Error Response Format\n```json\n{\n  \"errors\": [\n    {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n      \"status\": 422,\n      \"code\": \"VALIDATION_ERROR\",\n      \"title\": \"Validation failed\",\n      \"detail\": \"The 'email' field must be a valid email address\",\n      \"source\": {\n        \"pointer\": \"\u002Fdata\u002Fattributes\u002Femail\"\n      },\n      \"meta\": {\n        \"field\": \"email\",\n        \"value\": \"invalid-email\"\n      }\n    }\n  ]\n}\n```\n\n## Collection Responses\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"1\",\n      \"type\": \"user\",\n      \"attributes\": { \"name\": \"User 1\" }\n    },\n    {\n      \"id\": \"2\",\n      \"type\": \"user\",\n      \"attributes\": { \"name\": \"User 2\" }\n    }\n  ],\n  \"links\": {\n    \"self\": \"\u002Fapi\u002Fv1\u002Fusers?page[number]=1&page[size]=10\",\n    \"first\": \"\u002Fapi\u002Fv1\u002Fusers?page[number]=1&page[size]=10\",\n    \"last\": \"\u002Fapi\u002Fv1\u002Fusers?page[number]=10&page[size]=10\",\n    \"next\": \"\u002Fapi\u002Fv1\u002Fusers?page[number]=2&page[size]=10\",\n    \"prev\": null\n  },\n  \"meta\": {\n    \"totalCount\": 100,\n    \"totalPages\": 10,\n    \"currentPage\": 1,\n    \"pageSize\": 10\n  }\n}\n```\n\n## Query Parameters\n```\nFiltering:      ?status=published&author=123\nSorting:        ?sort=-createdAt,title\nPagination:     ?page[number]=2&page[size]=20\nFields:         ?fields[user]=email,name\nIncluding:      ?include=posts,posts.comments\nSparse Fields: ?fields[user]=id,name&fields[post]=id,title\nSearch:         ?search=keyword\n```\n\n## API Versioning\n```\nURL: \u002Fapi\u002Fv1\u002Fusers\nHeader: Accept: application\u002Fvnd.api+json; version=1\n```\n\n## Best Practices\n- Use plural nouns for resources: `\u002Fusers` not `\u002Fuser`\n- Use nouns for resources, not verbs\n- Return appropriate headers (ETag, Last-Modified)\n- Use idempotent operations for safety\n- Implement rate limiting\n- Use HTTPS only\n- Cache with proper headers\n- Document breaking changes in new versions\n","## What I do\n- Design clean REST APIs following best practices\n- Implement proper HTTP methods and status codes\n- Handle pagination, filtering, and sorting\n- Version APIs properly\n- Document APIs with OpenAPI\u002FSwagger\n- Implement authentication and authorization\n- Handle errors consistently\n- Use HATEOAS where appropriate\n\n## When to use me\nWhen designing or implementing REST APIs.\n\n## REST Design Principles\n```\nResources: \u002Fusers, \u002Fusers\u002F{id}, \u002Fusers\u002F{id}\u002Fposts\nCollections: \u002Fposts, \u002Fposts?status=published\nActions as sub-resources: \u002Fusers\u002F{id}\u002Factivate, \u002Fusers\u002F{id}\u002Fdeactivate\n\nHTTP Methods:\nGET     - Retrieve resource(s)\nPOST    - Create resource(s)\nPUT     - Replace resource\nPATCH   - Partial update\nDELETE  - Remove resource\n\nStatus Codes:\n200 OK - Success\n201 Created - Resource created\n204 No Content - Success, no body\n400 Bad Request - Invalid input\n401 Unauthorized - Authentication required\n403 Forbidden - Authenticated but not authorized\n404 Not Found - Resource doesn't exist\n409 Conflict - Resource state conflict\n422 Unprocessable Entity - Validation errors\n429 Too Many Requests - Rate limiting\n500 Internal Server Error - Server error\n```\n\n## API Response Format\n```json\n{\n  \"data\": {\n    \"id\": \"123\",\n    \"type\": \"user\",\n    \"attributes\": {\n      \"email\": \"user@example.com\",\n      \"name\": \"John Doe\",\n      \"createdAt\": \"2024-01-15T10:30:00Z\"\n    },\n    \"relationships\": {\n      \"posts\": {\n        \"links\": {\n          \"related\": \"\u002Fusers\u002F123\u002Fposts\"\n        }\n      }\n    },\n    \"links\": {\n      \"self\": \"\u002Fusers\u002F123\"\n    }\n  },\n  \"meta\": {\n    \"copyright\": \"2024\"\n  }\n}\n```\n\n## Error Response Format\n```json\n{\n  \"errors\": [\n    {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n      \"status\": 422,\n      \"code\": \"VALIDATION_ERROR\",\n      \"title\": \"Validation failed\",\n      \"detail\": \"The 'email' field must be a valid email address\",\n      \"source\": {\n        \"pointer\": \"\u002Fdata\u002Fattributes\u002Femail\"\n      },\n      \"meta\": {\n        \"field\": \"email\",\n        \"value\": \"invalid-email\"\n      }\n    }\n  ]\n}\n```\n\n## Collection Responses\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"1\",\n      \"type\": \"user\",\n      \"attributes\": { \"name\": \"User 1\" }\n    },\n    {\n      \"id\": \"2\",\n      \"type\": \"user\",\n      \"attributes\": { \"name\": \"User 2\" }\n    }\n  ],\n  \"links\": {\n    \"self\": \"\u002Fapi\u002Fv1\u002Fusers?page[number]=1&page[size]=10\",\n    \"first\": \"\u002Fapi\u002Fv1\u002Fusers?page[number]=1&page[size]=10\",\n    \"last\": \"\u002Fapi\u002Fv1\u002Fusers?page[number]=10&page[size]=10\",\n    \"next\": \"\u002Fapi\u002Fv1\u002Fusers?page[number]=2&page[size]=10\",\n    \"prev\": null\n  },\n  \"meta\": {\n    \"totalCount\": 100,\n    \"totalPages\": 10,\n    \"currentPage\": 1,\n    \"pageSize\": 10\n  }\n}\n```\n\n## Query Parameters\n```\nFiltering:      ?status=published&author=123\nSorting:        ?sort=-createdAt,title\nPagination:     ?page[number]=2&page[size]=20\nFields:         ?fields[user]=email,name\nIncluding:      ?include=posts,posts.comments\nSparse Fields: ?fields[user]=id,name&fields[post]=id,title\nSearch:         ?search=keyword\n```\n\n## API Versioning\n```\nURL: \u002Fapi\u002Fv1\u002Fusers\nHeader: Accept: application\u002Fvnd.api+json; version=1\n```\n\n## Best Practices\n- Use plural nouns for resources: `\u002Fusers` not `\u002Fuser`\n- Use nouns for resources, not verbs\n- Return appropriate headers (ETag, Last-Modified)\n- Use idempotent operations for safety\n- Implement rate limiting\n- Use HTTPS only\n- Cache with proper headers\n- Document breaking changes in new versions\n",{"name":5,"license":15,"metadata":34,"description":7,"compatibility":25},{"audience":35,"category":27},"developers","main","2ea764e153842704d24a2e9aa4170441a7f03081",".opencode\u002Fskills\u002Frest-api","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito","https:\u002F\u002Fgithub.com\u002FNeuralBlitz","nuralnexus.org","Independent Multidisciplinary Researcher, Creative Producer, and AI Systems Architect\r\nAn independent creator and research-driven systems designer.","2026-11-12 03:13:05",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add NeuralBlitz\u002FMito --skill rest-api",{"tool":50,"command":51},"bunx","bunx skills add NeuralBlitz\u002FMito --skill rest-api",{"tool":53,"command":54},"pnpm","pnpm dlx skills add NeuralBlitz\u002FMito --skill rest-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Frest-api\u002FSKILL.md",true,[],[59,75,87,100,108,122],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":29},"01M6HAZSAQK1S27CEZYAYJTQDX","wireless-communications","Wireless systems, mobile networks, and 5G\u002F6G","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fwireless-communications\u002FSKILL.md",[],[66,67,68,69,70,71,72,73,25,74],"communications","wireless communications","wireless","systems","engineering","networks","5G","students","mobile",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":29},"01M6HAZFX6E8NK3WZWDX5YCKYY","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fwebassembly\u002Fwebsockets\u002FSKILL.md",[],[77,82,83,84,25,85,86,24],"websocket implementation","time","implementation","real-time","websocket",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":29},"01M6HAZ6DAXBQ7QHXXM1EM7715","vulnerability-auditing","Vulnerability assessment and auditing","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvulnerability-auditing\u002FSKILL.md",[],[94,95,96,97,25,98,99],"vulnerability","vulnerability auditing","security","vulnerability assessment","cybersecurity","assessment",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":29},"01M6HAZ3FKF3CS9Z3J96RVE2ZE","vulnerability-assessment","Finding and assessing security vulnerabilities","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvue\u002Fvulnerability-assessment\u002FSKILL.md",[],[97,94,99,96,107,25],"vulnerabilities",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":29},"01M6HAYSHM6HKRKEHFP0SGZQX7","vlsi-design","Very-Large-Scale Integration circuit design and semiconductor engineering","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvlsi-design\u002FSKILL.md",[],[115,116,22,117,118,70,119,25,120,73,121],"vlsi design","VLSI","hardware","integration","computer","scale","circuit",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":29},"01M6HAYPQ30FFE2JXD7WQJ8R6C","unsupervised","Unsupervised learning concepts","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvisualization\u002Funsupervised\u002FSKILL.md",[],[124,129,25,130,131,132,133,134],"learning","intelligence","unsupervised learning","machine","concepts","machine-learning"]