[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78EXS08S8T6EGER2E3GYY77":3,"skill-same:01M78EXS08S8T6EGER2E3GYY77":65},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M78EXS08S8T6EGER2E3GYY77","api-design",null,"Design or review API contracts, compatibility, validation, errors, pagination and retry-safe operations.","kok-o\u002Fcontextos-agents","kok-o","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F173567992?v=4","01M78EV59TFZZ32P2FNN27BHW5","Nurkhan Esenbek","01M78EV5AFG9E8PEC10N3W7JNH",10,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Fcatalog\u002Fskills\u002Fapi-design\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: api-design\ndescription: Design or review API contracts, compatibility, validation, errors,\n  pagination and retry-safe operations.\n---\n\n# api-design\n\n## Overview\n\nDesign or review API contracts, compatibility, validation, errors, pagination and retry-safe operations. Match guidance to the actual task and project; this document does not implement an automatic enforcer.\n\n## When to Use\n\nAn API or interface contract is being introduced, changed or reviewed. A small endpoint fix does not require redesigning the whole service.\n\n## Rules & Patterns\n\nInspect actual consumers, existing conventions, authentication and versioning before changing a contract. Preserve compatible behavior or describe the deliberate migration required by the task. REST, RPC, events and framework-native actions are choices tied to consumers.\n\nDefine accepted input, output, ownership and failure cases. Validate untrusted fields at the boundary and authorize the requested object before protected reads or writes. Do not confuse a valid schema with permission. Use the project's established error envelope without exposing secrets or internal stack traces.\n\nChoose pagination and ordering that remain stable for the data and workload. Bound expensive requests. For retried mutations, define key scope, request identity, concurrency, persistence and replay behavior where duplicate effects matter; a check-then-write in memory is not a concurrency-safe idempotency design.\n\nKeep public names and identifiers useful to clients; internal implementation details are exposed only when intentionally part of the contract. Do not change HTTP status codes, field names or error semantics just to match a preferred style.\n\n## Code Examples\n\nFor a retried payment request, scope the idempotency key to the authorized caller and operation, bind it to the request, and commit the effect and replay record atomically using the existing storage boundary. A read-only catalog endpoint needs pagination and cache semantics, not the same mutation protocol.\n\nSee [EXAMPLES.md](EXAMPLES.md) for scoped scenarios and evidence boundaries.\n\n## Validation Checklist\n\n- [ ] Exercise allowed and denied callers, invalid input and the existing consumer contract.\n- [ ] Check ordering, pagination boundaries and duplicate\u002Fconcurrent requests when relevant.\n\n## Common Mistakes\n\nInventing an API standard that breaks clients; trusting client tenant IDs; treating a local Map as durable idempotency; generating an unused schema without wiring its caller.\n\n## Integration Notes\n\nOptional companion guidance: security, testing, system-design. Use it only when relevant and available; the skill does not install tools or authorize external actions.\n","# api-design\n\n## Overview\n\nDesign or review API contracts, compatibility, validation, errors, pagination and retry-safe operations. Match guidance to the actual task and project; this document does not implement an automatic enforcer.\n\n## When to Use\n\nAn API or interface contract is being introduced, changed or reviewed. A small endpoint fix does not require redesigning the whole service.\n\n## Rules & Patterns\n\nInspect actual consumers, existing conventions, authentication and versioning before changing a contract. Preserve compatible behavior or describe the deliberate migration required by the task. REST, RPC, events and framework-native actions are choices tied to consumers.\n\nDefine accepted input, output, ownership and failure cases. Validate untrusted fields at the boundary and authorize the requested object before protected reads or writes. Do not confuse a valid schema with permission. Use the project's established error envelope without exposing secrets or internal stack traces.\n\nChoose pagination and ordering that remain stable for the data and workload. Bound expensive requests. For retried mutations, define key scope, request identity, concurrency, persistence and replay behavior where duplicate effects matter; a check-then-write in memory is not a concurrency-safe idempotency design.\n\nKeep public names and identifiers useful to clients; internal implementation details are exposed only when intentionally part of the contract. Do not change HTTP status codes, field names or error semantics just to match a preferred style.\n\n## Code Examples\n\nFor a retried payment request, scope the idempotency key to the authorized caller and operation, bind it to the request, and commit the effect and replay record atomically using the existing storage boundary. A read-only catalog endpoint needs pagination and cache semantics, not the same mutation protocol.\n\nSee [EXAMPLES.md](EXAMPLES.md) for scoped scenarios and evidence boundaries.\n\n## Validation Checklist\n\n- [ ] Exercise allowed and denied callers, invalid input and the existing consumer contract.\n- [ ] Check ordering, pagination boundaries and duplicate\u002Fconcurrent requests when relevant.\n\n## Common Mistakes\n\nInventing an API standard that breaks clients; trusting client tenant IDs; treating a local Map as durable idempotency; generating an unused schema without wiring its caller.\n\n## Integration Notes\n\nOptional companion guidance: security, testing, system-design. Use it only when relevant and available; the skill does not install tools or authorize external actions.\n",{"name":5,"description":7},"main","7fb8666fa73d9b8f9707a47505553f0f1af474ea","catalog\u002Fskills\u002Fapi-design",1,"https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents","https:\u002F\u002Fgithub.com\u002Fkok-o","nurkhan.space","Software engineer focused on AI tooling and ML infrastructure. \r\n\r\n","2026-11-11 02:56:50",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add kok-o\u002Fcontextos-agents --skill api-design",{"tool":39,"command":40},"bunx","bunx skills add kok-o\u002Fcontextos-agents --skill api-design",{"tool":42,"command":43},"pnpm","pnpm dlx skills add kok-o\u002Fcontextos-agents --skill api-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Fcatalog\u002Fskills\u002Fapi-design\u002FSKILL.md",true,[47,53,57,61],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"EXAMPLES.md","REFERENCE","参考文档",724,"https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Fcatalog\u002Fskills\u002Fapi-design\u002FEXAMPLES.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"skill.yaml",399,"https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Fcatalog\u002Fskills\u002Fapi-design\u002Fskill.yaml",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"TROUBLESHOOTING.md",319,"https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Fcatalog\u002Fskills\u002Fapi-design\u002FTROUBLESHOOTING.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"VALIDATION.json",460,"https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Fcatalog\u002Fskills\u002Fapi-design\u002FVALIDATION.json",[66,73,80,87,94,100],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M78F25RVZVK4KYXZZKW42DZH","scoped-frontend","Frontend component design and React guidelines","https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fadapter-contracts\u002F.agents\u002Fcore\u002Fskills\u002Fscoped-frontend\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M78F23169Y0R4CB819166JZP","scoped-backend","Backend service architecture and API endpoints","https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fadapter-contracts\u002F.agents\u002Fcore\u002Fskills\u002Fscoped-backend\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M78F1ZSMZAMY7S2ECNB065QR","engineering-workflow","Core software engineering lifecycle workflow","https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fadapter-contracts\u002F.agents\u002Fcore\u002Fskills\u002Fengineering-workflow\u002FSKILL.md",[],[],{"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":19},"01M78F1WWD36GB27TAS4TSM3MJ","team-auth","ContextOS skill for team-auth","https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Fscripts\u002Freadme-gif\u002Fevidence\u002Fexports\u002Fcodex\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":6,"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},"01M78F1TEZPGE4NCTPZRC7Q1KK","claude","https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Fscripts\u002Freadme-gif\u002Fevidence\u002Fexports\u002Fclaude\u002FSKILL.md",[],[],{"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":19},"01M78F1Q8JG229RWD6ESVKT9R9","team-order","Team conventions for createOrder and item name normalization in src\u002Forder.ts.","https:\u002F\u002Fgithub.com\u002Fkok-o\u002Fcontextos-agents\u002Fblob\u002Fmain\u002Fexamples\u002Freadme-demo\u002Fteam-order\u002FSKILL.md",[],[]]