[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GXCMRSTEYZTKWA9CEW9R4D":3,"skill-same:01M6GXCMRSTEYZTKWA9CEW9R4D":74},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6GXCMRSTEYZTKWA9CEW9R4D","API Design Review",null,"Deep review of REST and GraphQL API design — resource modeling, versioning, pagination, error handling, authentication, and contract consistency.","malayvuong\u002Fagent-orchestra","malayvuong","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13240975?v=4","01M6GXCDVPB2VPZMDZK1KF98M0","Nguyen Minh Vuong","01M6GXCE176VDX3XV4Z4KNR33J",1,"MIT","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fapi-design-review\u002FSKILL.md",[],[19,5,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"api","design","review","design review","api design","versioning","consistency","error","contract","modeling","logic","deep","pagination","openapi","GraphQL","REST","deep review","authentication","error handling","2026-11-10 10:12:30",false,"---\nname: API Design Review\ndescription: Deep review of REST and GraphQL API design — resource modeling, versioning, pagination, error handling, authentication, and contract consistency.\nversion: 2026.3.1\nlicense: MIT\ntriggers:\n  lenses:\n    - logic\n    - consistency\n  keywords:\n    - api\n    - rest\n    - graphql\n    - endpoint\n    - openapi\n    - swagger\n---\n\nWhen reviewing API design, apply the following checks.\n\n## Resource Modeling\n\nVerify resources are nouns, not verbs. Flag endpoint paths like `\u002FgetUsers` or `\u002FcreateOrder` — use `GET \u002Fusers` and `POST \u002Forders`. Check that collection endpoints use plural nouns (`\u002Fusers` not `\u002Fuser`). Verify nested resources reflect real ownership relationships (`\u002Fusers\u002F{id}\u002Forders` not `\u002Fuser-orders`).\n\nFlag endpoints that combine multiple unrelated operations — each endpoint should do one thing. Check that resource identifiers are consistent (all UUID, all slug, all numeric) across the API surface.\n\n## HTTP Methods and Status Codes\n\nVerify `GET` requests are safe (no side effects) and idempotent. Flag `GET` endpoints that create, modify, or delete resources. Verify `PUT` is used for full replacement and `PATCH` for partial updates — flag `PUT` endpoints that accept partial payloads.\n\nCheck status codes match semantics: `201` for creation with `Location` header, `204` for successful deletion with no body, `404` for missing resources, `409` for conflicts, `422` for validation errors. Flag `200` returned for all responses regardless of outcome.\n\n## Pagination\n\nFlag collection endpoints that return unbounded results. Verify pagination is implemented with either cursor-based (`?after=\u003Ccursor>&limit=20`) or offset-based (`?page=1&per_page=20`) approach. Check that pagination metadata is included in the response (`total`, `next_cursor`, `has_more`).\n\nFlag pagination that uses page numbers for large datasets — cursor-based pagination is more efficient and avoids the \"shifting window\" problem when data is inserted during pagination.\n\n## Error Response Format\n\nVerify all error responses follow a consistent structure. Flag APIs that return different error shapes from different endpoints. A good error response includes: error code (machine-readable), message (human-readable), and optional field-level validation details.\n\nFlag error messages that expose internal implementation details (database table names, stack traces, file paths). Check that validation errors identify the specific field that failed and why.\n\n## Versioning\n\nCheck that the API has a versioning strategy. Flag APIs that modify existing endpoint contracts without a version bump. Verify version is conveyed through URL path (`\u002Fv1\u002Fusers`), header (`Accept: application\u002Fvnd.api.v1+json`), or query parameter — but consistently, not mixed.\n\nFlag deprecated endpoints that lack a `Sunset` header or deprecation notice in documentation.\n\n## Authentication and Authorization\n\nVerify all non-public endpoints require authentication. Flag APIs that pass credentials in query parameters — use `Authorization` header. Check that authentication errors return `401` (not authenticated) and authorization errors return `403` (not permitted) — not `404` to hide resources.\n\nVerify rate limiting headers are present (`X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset`). Flag authentication endpoints without rate limiting or brute-force protection.\n\n## Request and Response Design\n\nFlag inconsistent field naming: choose either `camelCase` or `snake_case` and use it everywhere. Flag date fields that use non-ISO-8601 formats. Verify nullable fields are explicitly documented — not silently omitted from responses.\n\nCheck that `POST`\u002F`PUT` responses return the created\u002Fupdated resource — not just an ID or status. Flag APIs that require the client to make a second `GET` request to see the result of a write operation.\n\n## GraphQL-Specific\n\nFor GraphQL APIs: verify query depth and complexity limits are enforced to prevent denial-of-service. Flag resolvers that trigger N+1 queries — verify DataLoader or equivalent batching is used. Check that mutations return the modified object to enable cache updates.\n\nFor each finding, report: the endpoint or schema location, the design pattern violated, and the recommended fix.\n","When reviewing API design, apply the following checks.\n\n## Resource Modeling\n\nVerify resources are nouns, not verbs. Flag endpoint paths like `\u002FgetUsers` or `\u002FcreateOrder` — use `GET \u002Fusers` and `POST \u002Forders`. Check that collection endpoints use plural nouns (`\u002Fusers` not `\u002Fuser`). Verify nested resources reflect real ownership relationships (`\u002Fusers\u002F{id}\u002Forders` not `\u002Fuser-orders`).\n\nFlag endpoints that combine multiple unrelated operations — each endpoint should do one thing. Check that resource identifiers are consistent (all UUID, all slug, all numeric) across the API surface.\n\n## HTTP Methods and Status Codes\n\nVerify `GET` requests are safe (no side effects) and idempotent. Flag `GET` endpoints that create, modify, or delete resources. Verify `PUT` is used for full replacement and `PATCH` for partial updates — flag `PUT` endpoints that accept partial payloads.\n\nCheck status codes match semantics: `201` for creation with `Location` header, `204` for successful deletion with no body, `404` for missing resources, `409` for conflicts, `422` for validation errors. Flag `200` returned for all responses regardless of outcome.\n\n## Pagination\n\nFlag collection endpoints that return unbounded results. Verify pagination is implemented with either cursor-based (`?after=\u003Ccursor>&limit=20`) or offset-based (`?page=1&per_page=20`) approach. Check that pagination metadata is included in the response (`total`, `next_cursor`, `has_more`).\n\nFlag pagination that uses page numbers for large datasets — cursor-based pagination is more efficient and avoids the \"shifting window\" problem when data is inserted during pagination.\n\n## Error Response Format\n\nVerify all error responses follow a consistent structure. Flag APIs that return different error shapes from different endpoints. A good error response includes: error code (machine-readable), message (human-readable), and optional field-level validation details.\n\nFlag error messages that expose internal implementation details (database table names, stack traces, file paths). Check that validation errors identify the specific field that failed and why.\n\n## Versioning\n\nCheck that the API has a versioning strategy. Flag APIs that modify existing endpoint contracts without a version bump. Verify version is conveyed through URL path (`\u002Fv1\u002Fusers`), header (`Accept: application\u002Fvnd.api.v1+json`), or query parameter — but consistently, not mixed.\n\nFlag deprecated endpoints that lack a `Sunset` header or deprecation notice in documentation.\n\n## Authentication and Authorization\n\nVerify all non-public endpoints require authentication. Flag APIs that pass credentials in query parameters — use `Authorization` header. Check that authentication errors return `401` (not authenticated) and authorization errors return `403` (not permitted) — not `404` to hide resources.\n\nVerify rate limiting headers are present (`X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset`). Flag authentication endpoints without rate limiting or brute-force protection.\n\n## Request and Response Design\n\nFlag inconsistent field naming: choose either `camelCase` or `snake_case` and use it everywhere. Flag date fields that use non-ISO-8601 formats. Verify nullable fields are explicitly documented — not silently omitted from responses.\n\nCheck that `POST`\u002F`PUT` responses return the created\u002Fupdated resource — not just an ID or status. Flag APIs that require the client to make a second `GET` request to see the result of a write operation.\n\n## GraphQL-Specific\n\nFor GraphQL APIs: verify query depth and complexity limits are enforced to prevent denial-of-service. Flag resolvers that trigger N+1 queries — verify DataLoader or equivalent batching is used. Check that mutations return the modified object to enable cache updates.\n\nFor each finding, report: the endpoint or schema location, the design pattern violated, and the recommended fix.\n",{"name":5,"license":15,"version":43,"triggers":44,"description":7},"2026.3.1",{"lenses":45,"keywords":46},[29,25],[19,47,48,49,32,50],"rest","graphql","endpoint","swagger","main","eac6069a8690d89fd23f08d2d14e4874ed376a77",".agent-orchestra\u002Fskills\u002Fapi-design-review",0,"https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra","https:\u002F\u002Fgithub.com\u002Fmalayvuong","www.malayvuong.com","Just a newbie at everything","2026-10-09 12:52:45",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add malayvuong\u002Fagent-orchestra --skill \"API Design Review\"",{"tool":66,"command":67},"bunx","bunx skills add malayvuong\u002Fagent-orchestra --skill \"API Design Review\"",{"tool":69,"command":70},"pnpm","pnpm dlx skills add malayvuong\u002Fagent-orchestra --skill \"API Design Review\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fapi-design-review\u002FSKILL.md",true,[],[75,96,116,133,151,167],{"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":38},"01M6GXHYPRJ43SHFPFJTF87GS8","Vue.js Review","Deep review of Vue.js applications — Composition API patterns, reactivity traps, component design, Pinia state management, and performance pitfalls.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fvue-review\u002FSKILL.md",[],[21,82,83,84,20,85,86,87,88,35,89,90,19,91,92,93,30,29,94,95],"vue","js","Vue js Review","performance","component","state management","state","api patterns","applications","Composition","pinia","management","pitfalls","pinia state",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":38},"01M6GXHSPDDH1PQEN61ENMCEF5","Unity Review","Deep review of Unity C# code — object pooling, Update allocation, physics patterns, UI performance, serialization, and mobile optimization.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Funity-review\u002FSKILL.md",[],[21,103,98,85,104,105,35,106,107,108,109,110,111,30,29,112,113,114,115],"unity","update","code","ui","serialization","Optimization","mobile","patterns","physics","C#","mobile optimization","object","allocation",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":38},"01M6GXHNKTH12CGSRWDGF2H1Q9","TypeScript Review","Deep review of TypeScript code — type safety, generics patterns, strict mode compliance, type narrowing, module boundaries, and common escape hatches.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Ftypescript-review\u002FSKILL.md",[],[21,123,124,105,35,125,126,127,128,110,30,29,129,130,131,25,132],"typescript","typescript review","compliance","Type Safety","Safety","common","module","type","interface","mode",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":38},"01M6GXHH3DMZD272RVH4800C67","Test Conventions","Testing patterns and conventions for code review. Covers naming, AAA structure, boundary testing, mock vs real dependencies, and coverage expectations.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Ftest-conventions\u002FSKILL.md",[],[140,141,135,142,143,21,105,144,145,146,110,147,148,149,150],"test","conventions","code review","testing","testing patterns","boundary","coverage","dependencies","structure","mock","naming",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":38},"01M6GXHCAQSJDVNVRFFD1HJWTN","Terraform Review","Deep review of Terraform\u002FOpenTofu configuration — state management, module design, security hardening, drift prevention, and production safety patterns.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fterraform-review\u002FSKILL.md",[],[21,158,153,20,159,87,88,35,160,161,162,163,127,164,93,165,166,30,29,129],"terraform","security","cloud","aws","hardening","Production","opentofu","iac","drift",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":38},"01M6GXH83F11CK4BQEAJPN6HDE","Swift Review","Deep review of Swift code — memory management, concurrency patterns, optionals, protocol design, SwiftUI lifecycle, and iOS platform patterns.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fswift-review\u002FSKILL.md",[],[174,21,169,20,175,85,105,176,35,177,178,179,180,181,93,30,29,182,183,184],"swift","memory","protocol","ios","concurrency","lifecycle","swiftui","uikit","xcode","apple","platform"]