[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77RYZ5EQB0F0141VZT5ER5P":3,"skill-same:01M77RYZ5EQB0F0141VZT5ER5P":49},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M77RYZ5EQB0F0141VZT5ER5P","api",null,"Design, implement, document, and validate secure, consistent, and maintainable APIs that connect frontend, backend, and external services.","panksooungman-dot\u002FAI-Web-Master","panksooungman-dot","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F263377190?v=4","01M77RQKZAR08JG1JSWP1MVXPV","cnbiz","01M77RQM00YBBJX4F6Y04HT8RN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fpanksooungman-dot\u002FAI-Web-Master\u002Fblob\u002Fmain\u002Fskills\u002Fworkflows\u002Fdevelopment\u002Fapi\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: api\ndescription: Design, implement, document, and validate secure, consistent, and maintainable APIs that connect frontend, backend, and external services.\nversion: 1.0.0\nauthor: AI Business OS\nlicense: MIT\ncategory: workflow\npriority: required\n---\n\n# API Development\n\n## Purpose\n\nThis skill defines how APIs are designed, implemented, documented, and maintained.\n\nThe objective is to provide reliable, secure, and versioned interfaces between clients, backend services, and third-party systems.\n\nAPIs should be predictable, consistent, and easy to consume.\n\n---\n\n# When to Use\n\nExecute after:\n\n- development\u002Farchitecture\n- development\u002Fbackend\n\nExecute before:\n\n- database\n- authentication\n- integration\n\n---\n\n# Objectives\n\nBuild APIs that are:\n\n- Consistent\n- Secure\n- Versioned\n- Well documented\n- Performant\n- Easy to maintain\n\n---\n\n# Inputs\n\nExpected inputs:\n\n- Architecture Document\n- Backend Services\n- PRD\n- Feature Planning\n- Business Rules\n\n---\n\n# API Design Principles\n\nFollow these principles:\n\n- Resource-oriented\n- Consistent naming\n- Predictable responses\n- Stateless communication\n- Explicit versioning\n- Clear error handling\n\n---\n\n# Endpoint Design\n\nEach endpoint should define:\n\n- Method\n- URL\n- Description\n- Authentication\n- Permissions\n- Request Schema\n- Response Schema\n- Error Responses\n\nExample:\n\n```\nGET    \u002Fapi\u002Fv1\u002Fproducts\nPOST   \u002Fapi\u002Fv1\u002Fproducts\nGET    \u002Fapi\u002Fv1\u002Fproducts\u002F{id}\nPUT    \u002Fapi\u002Fv1\u002Fproducts\u002F{id}\nDELETE \u002Fapi\u002Fv1\u002Fproducts\u002F{id}\n```\n\n---\n\n# Request Validation\n\nValidate:\n\n- Body\n- Query Parameters\n- Path Parameters\n- Headers\n- File Uploads\n\nReject invalid requests immediately.\n\n---\n\n# Response Format\n\nUse a consistent response structure.\n\nSuccess:\n\n```json\n{\n  \"success\": true,\n  \"data\": {},\n  \"message\": \"Request completed successfully.\"\n}\n```\n\nError:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"VALIDATION_ERROR\",\n    \"message\": \"Invalid request.\"\n  }\n}\n```\n\n---\n\n# Authentication\n\nSupport:\n\n- JWT\n- Session\n- OAuth\n- API Key\n\nDocument authentication requirements for every endpoint.\n\n---\n\n# Authorization\n\nVerify:\n\n- User Roles\n- Permissions\n- Resource Ownership\n\nNever expose unauthorized data.\n\n---\n\n# Versioning\n\nVersion APIs.\n\nExample:\n\n```\n\u002Fapi\u002Fv1\u002F\n\u002Fapi\u002Fv2\u002F\n```\n\nAvoid breaking existing clients.\n\n---\n\n# Error Handling\n\nProvide standardized errors for:\n\n- Validation\n- Authentication\n- Authorization\n- Not Found\n- Conflict\n- Internal Server Error\n\nReturn meaningful messages.\n\n---\n\n# Performance\n\nOptimize:\n\n- Pagination\n- Filtering\n- Sorting\n- Caching\n- Compression\n\nAvoid unnecessary payloads.\n\n---\n\n# Documentation\n\nGenerate API documentation including:\n\n- Endpoint List\n- Schemas\n- Authentication\n- Examples\n- Error Codes\n- Rate Limits\n\nDocumentation should stay synchronized with implementation.\n\n---\n\n# Testing\n\nVerify:\n\n- Success Responses\n- Validation Errors\n- Authentication\n- Authorization\n- Edge Cases\n- Performance\n\n---\n\n# Workflow\n\n```text\nReview Backend Services\n\n↓\n\nDesign Endpoints\n\n↓\n\nDefine Schemas\n\n↓\n\nImplement Validation\n\n↓\n\nImplement Authentication\n\n↓\n\nDocument API\n\n↓\n\nTesting\n\n↓\n\nReady for Database Integration\n```\n\n---\n\n# Outputs\n\nGenerate:\n\n- API Endpoints\n- API Documentation\n- Request Schemas\n- Response Schemas\n- Error Specifications\n- Test Results\n\n---\n\n# Validation Checklist\n\nBefore completion verify:\n\n- Endpoints documented\n- Schemas validated\n- Authentication implemented\n- Error handling standardized\n- Documentation updated\n- Tests passing\n\n---\n\n# Failure Conditions\n\nStop and request clarification if:\n\n- Business rules are incomplete\n- Request or response schemas are undefined\n- Authentication strategy is unknown\n- API versioning is undecided\n- External API specifications are missing\n\n---\n\n# Rules\n\n- Keep APIs consistent.\n- Never expose sensitive data.\n- Use proper HTTP status codes.\n- Maintain backward compatibility.\n- Document every endpoint.\n\n---\n\n# Success Criteria\n\nThis skill succeeds when:\n\n- API contracts are complete\n- documentation is synchronized\n- authentication is enforced\n- validation is comprehensive\n- frontend integration can begin safely\n\n---\n\n# Next Skills\n\nInvoke:\n\n```text\ndatabase\n\n↓\n\nauthentication\n\n↓\n\nintegration\n```\n\n---\n\n# Related Skills\n\n- architecture\n- backend\n- database\n- authentication\n- integration\n- documentation\n\n---\n\n# Version History\n\n| Version | Date | Description |\n|---------|------|-------------|\n| 1.0.0 | 2026-07-10 | Initial release |","# API Development\n\n## Purpose\n\nThis skill defines how APIs are designed, implemented, documented, and maintained.\n\nThe objective is to provide reliable, secure, and versioned interfaces between clients, backend services, and third-party systems.\n\nAPIs should be predictable, consistent, and easy to consume.\n\n---\n\n# When to Use\n\nExecute after:\n\n- development\u002Farchitecture\n- development\u002Fbackend\n\nExecute before:\n\n- database\n- authentication\n- integration\n\n---\n\n# Objectives\n\nBuild APIs that are:\n\n- Consistent\n- Secure\n- Versioned\n- Well documented\n- Performant\n- Easy to maintain\n\n---\n\n# Inputs\n\nExpected inputs:\n\n- Architecture Document\n- Backend Services\n- PRD\n- Feature Planning\n- Business Rules\n\n---\n\n# API Design Principles\n\nFollow these principles:\n\n- Resource-oriented\n- Consistent naming\n- Predictable responses\n- Stateless communication\n- Explicit versioning\n- Clear error handling\n\n---\n\n# Endpoint Design\n\nEach endpoint should define:\n\n- Method\n- URL\n- Description\n- Authentication\n- Permissions\n- Request Schema\n- Response Schema\n- Error Responses\n\nExample:\n\n```\nGET    \u002Fapi\u002Fv1\u002Fproducts\nPOST   \u002Fapi\u002Fv1\u002Fproducts\nGET    \u002Fapi\u002Fv1\u002Fproducts\u002F{id}\nPUT    \u002Fapi\u002Fv1\u002Fproducts\u002F{id}\nDELETE \u002Fapi\u002Fv1\u002Fproducts\u002F{id}\n```\n\n---\n\n# Request Validation\n\nValidate:\n\n- Body\n- Query Parameters\n- Path Parameters\n- Headers\n- File Uploads\n\nReject invalid requests immediately.\n\n---\n\n# Response Format\n\nUse a consistent response structure.\n\nSuccess:\n\n```json\n{\n  \"success\": true,\n  \"data\": {},\n  \"message\": \"Request completed successfully.\"\n}\n```\n\nError:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"VALIDATION_ERROR\",\n    \"message\": \"Invalid request.\"\n  }\n}\n```\n\n---\n\n# Authentication\n\nSupport:\n\n- JWT\n- Session\n- OAuth\n- API Key\n\nDocument authentication requirements for every endpoint.\n\n---\n\n# Authorization\n\nVerify:\n\n- User Roles\n- Permissions\n- Resource Ownership\n\nNever expose unauthorized data.\n\n---\n\n# Versioning\n\nVersion APIs.\n\nExample:\n\n```\n\u002Fapi\u002Fv1\u002F\n\u002Fapi\u002Fv2\u002F\n```\n\nAvoid breaking existing clients.\n\n---\n\n# Error Handling\n\nProvide standardized errors for:\n\n- Validation\n- Authentication\n- Authorization\n- Not Found\n- Conflict\n- Internal Server Error\n\nReturn meaningful messages.\n\n---\n\n# Performance\n\nOptimize:\n\n- Pagination\n- Filtering\n- Sorting\n- Caching\n- Compression\n\nAvoid unnecessary payloads.\n\n---\n\n# Documentation\n\nGenerate API documentation including:\n\n- Endpoint List\n- Schemas\n- Authentication\n- Examples\n- Error Codes\n- Rate Limits\n\nDocumentation should stay synchronized with implementation.\n\n---\n\n# Testing\n\nVerify:\n\n- Success Responses\n- Validation Errors\n- Authentication\n- Authorization\n- Edge Cases\n- Performance\n\n---\n\n# Workflow\n\n```text\nReview Backend Services\n\n↓\n\nDesign Endpoints\n\n↓\n\nDefine Schemas\n\n↓\n\nImplement Validation\n\n↓\n\nImplement Authentication\n\n↓\n\nDocument API\n\n↓\n\nTesting\n\n↓\n\nReady for Database Integration\n```\n\n---\n\n# Outputs\n\nGenerate:\n\n- API Endpoints\n- API Documentation\n- Request Schemas\n- Response Schemas\n- Error Specifications\n- Test Results\n\n---\n\n# Validation Checklist\n\nBefore completion verify:\n\n- Endpoints documented\n- Schemas validated\n- Authentication implemented\n- Error handling standardized\n- Documentation updated\n- Tests passing\n\n---\n\n# Failure Conditions\n\nStop and request clarification if:\n\n- Business rules are incomplete\n- Request or response schemas are undefined\n- Authentication strategy is unknown\n- API versioning is undecided\n- External API specifications are missing\n\n---\n\n# Rules\n\n- Keep APIs consistent.\n- Never expose sensitive data.\n- Use proper HTTP status codes.\n- Maintain backward compatibility.\n- Document every endpoint.\n\n---\n\n# Success Criteria\n\nThis skill succeeds when:\n\n- API contracts are complete\n- documentation is synchronized\n- authentication is enforced\n- validation is comprehensive\n- frontend integration can begin safely\n\n---\n\n# Next Skills\n\nInvoke:\n\n```text\ndatabase\n\n↓\n\nauthentication\n\n↓\n\nintegration\n```\n\n---\n\n# Related Skills\n\n- architecture\n- backend\n- database\n- authentication\n- integration\n- documentation\n\n---\n\n# Version History\n\n| Version | Date | Description |\n|---------|------|-------------|\n| 1.0.0 | 2026-07-10 | Initial release |",{"name":5,"author":24,"license":15,"version":25,"category":26,"priority":27,"description":7},"AI Business OS","1.0.0","workflow","required","main","8ba4c8c0d58db28bdcfccd02e7d75b7a3cf70dc9","skills\u002Fworkflows\u002Fdevelopment\u002Fapi","https:\u002F\u002Fgithub.com\u002Fpanksooungman-dot\u002FAI-Web-Master","https:\u002F\u002Fai-web-master-cnbiz-web.vercel.app","https:\u002F\u002Fgithub.com\u002Fpanksooungman-dot","2026-11-14 20:43:00",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add panksooungman-dot\u002FAI-Web-Master --skill api",{"tool":41,"command":42},"bunx","bunx skills add panksooungman-dot\u002FAI-Web-Master --skill api",{"tool":44,"command":45},"pnpm","pnpm dlx skills add panksooungman-dot\u002FAI-Web-Master --skill api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpanksooungman-dot\u002FAI-Web-Master\u002Fblob\u002Fmain\u002Fskills\u002Fworkflows\u002Fdevelopment\u002Fapi\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M77S2FHFC73NY664GYHNHGE8","rollback","Plan, validate, and execute safe rollback procedures to restore a stable system state when deployments introduce critical issues.","https:\u002F\u002Fgithub.com\u002Fpanksooungman-dot\u002FAI-Web-Master\u002Fblob\u002Fmain\u002Fskills\u002Fworkflows\u002Frelease\u002Frollback\u002FSKILL.md",[],[],{"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},"01M77S2C5NW59NY9F939ECFVN0","release-note","Create clear, concise, and stakeholder-friendly release notes that communicate new features, improvements, fixes, breaking changes, and operational guidance for each release.","https:\u002F\u002Fgithub.com\u002Fpanksooungman-dot\u002FAI-Web-Master\u002Fblob\u002Fmain\u002Fskills\u002Fworkflows\u002Frelease\u002Frelease-note\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},"01M77S28YMHR597AZF39CR0CNG","monitoring","Continuously observe application health, performance, reliability, and business metrics after deployment to detect issues early and support operational excellence.","https:\u002F\u002Fgithub.com\u002Fpanksooungman-dot\u002FAI-Web-Master\u002Fblob\u002Fmain\u002Fskills\u002Fworkflows\u002Frelease\u002Fmonitoring\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},"01M77S26FGE7P6W5MDSBQ1WTPV","maintenance","Maintain, improve, and support production systems after release through continuous monitoring, issue resolution, updates, and operational excellence.","https:\u002F\u002Fgithub.com\u002Fpanksooungman-dot\u002FAI-Web-Master\u002Fblob\u002Fmain\u002Fskills\u002Fworkflows\u002Frelease\u002Fmaintenance\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},"01M77S24CZGKFZEXXS3N0B067G","deployment","Plan, validate, and execute application deployments safely and consistently across environments while minimizing downtime and deployment risk.","https:\u002F\u002Fgithub.com\u002Fpanksooungman-dot\u002FAI-Web-Master\u002Fblob\u002Fmain\u002Fskills\u002Fworkflows\u002Frelease\u002Fdeployment\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":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M77S21AG798PAEH5HEVYBYF7","changelog","Maintain a structured, accurate, and versioned changelog that records all notable changes made to the project across releases.","https:\u002F\u002Fgithub.com\u002Fpanksooungman-dot\u002FAI-Web-Master\u002Fblob\u002Fmain\u002Fskills\u002Fworkflows\u002Frelease\u002Fchangelog\u002FSKILL.md",[],[]]