[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CXK8542CWZKM106DX4PJJ1":3,"skill-same:01M6CXK8542CWZKM106DX4PJJ1":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":30,"commitSha":31,"skillDirectory":5,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M6CXK8542CWZKM106DX4PJJ1","serverless",null,"Serverless computing architecture","ffsshhttiikk\u002Fopencode-agents-skills","ffsshhttiikk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226346827?v=4","01M6CWD9RR3Y7VRQX3MXYC8FYH","01M6CWD9WVPYAZW0J82G1VKGHY",3,"MIT","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fserverless\u002FSKILL.md",[],[5,18,19,20,21,22],"architecture","developer","devops","opencode","engineer","2026-11-10 10:12:30",false,"---\nname: serverless\ndescription: Serverless computing architecture\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: developer, devops-engineer\n  category: devops\n---\n\n## What I do\n\n- Design serverless architectures\n- Build functions-as-a-service applications\n- Implement event-driven systems\n- Configure serverless databases and storage\n- Optimize function performance and costs\n- Build serverless CI\u002FCD pipelines\n\n## When to use me\n\n- When building event-driven applications\n- When scaling is unpredictable\n- When minimizing operational overhead\n- When implementing microservices\n- When building data processing pipelines\n- When creating APIs quickly\n\n## Key Concepts\n\n### AWS Lambda\n\n```python\n# Lambda handler\nimport json\nimport boto3\n\ndef lambda_handler(event, context):\n    # Parse the event\n    http_method = event['httpMethod']\n    path = event['path']\n    \n    # Business logic\n    if http_method == 'GET' and path == '\u002Fusers':\n        return {\n            'statusCode': 200,\n            'body': json.dumps({'users': []}),\n            'headers': {'Content-Type': 'application\u002Fjson'}\n        }\n    \n    return {\n        'statusCode': 404,\n        'body': json.dumps({'error': 'Not found'})\n    }\n\n# Lambda layers for dependencies\n# Layer structure:\n# python\u002Flib\u002Fpython3.11\u002Fsite-packages\u002F\n```\n\n### Serverless Framework\n\n```yaml\n# serverless.yml\nservice: my-serverless-app\n\nprovider:\n  name: aws\n  runtime: python3.11\n  stage: ${opt:stage, 'dev'}\n  region: ${opt:region, 'us-east-1'}\n  \n  environment:\n    TABLE_NAME: !Ref UsersTable\n    STRIPE_KEY: ${env:STRIPE_KEY}\n    \n  iam:\n    role:\n      statements:\n        - Effect: Allow\n          Action:\n            - dynamodb:Query\n            - dynamodb:Scan\n          Resource: !GetAtt UsersTable.Arn\n\nfunctions:\n  users:\n    handler: handler.get_users\n    events:\n      - http:\n          path: \u002Fusers\n          method: get\n          cors: true\n      - http:\n          path: \u002Fusers\u002F{userId}\n          method: get\n          cors: true\n          \n  processOrder:\n    handler: handler.process_order\n    events:\n      - sqs:\n          arn: !GetAtt OrdersQueue.Arn\n          batchSize: 10\n          \n  uploadHandler:\n    handler: handler.handle_upload\n    events:\n      - s3:\n          bucket: uploads-${self:provider.stage}\n          event: s3:ObjectCreated:*\n          rules:\n            - prefix: images\u002F\n\nresources:\n  Resources:\n    UsersTable:\n      Type: AWS::DynamoDB::Table\n      Properties:\n        TableName: users-${self:provider.stage}\n        BillingMode: PAY_PER_REQUEST\n        AttributeDefinitions:\n          - AttributeName: userId\n            AttributeType: S\n        KeySchema:\n          - AttributeName: userId\n            KeyType: HASH\n```\n\n### Azure Functions\n\n```javascript\n\u002F\u002F Azure Function with triggers\nmodule.exports = async function (context, req) {\n    context.log('JavaScript HTTP trigger function processed a request.');\n    \n    const name = (req.query.name || (req.body && req.body.name));\n    \n    if (name) {\n        context.res = {\n            status: 200,\n            body: { message: `Hello, ${name}` }\n        };\n    } else {\n        context.res = {\n            status: 400,\n            body: { error: \"Please pass a name\" }\n        };\n    }\n};\n\n\u002F\u002F bindings.json\n{\n  \"bindings\": [\n    {\n      \"name\": \"req\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"authLevel\": \"function\"\n    },\n    {\n      \"name\": \"$return\",\n      \"type\": \"http\",\n      \"direction\": \"out\"\n    }\n  ]\n}\n```\n\n### GCP Cloud Functions\n\n```javascript\n\u002F\u002F Cloud Function 2nd Gen\nconst { CloudEvent, CloudFunction } = require('@google-cloud\u002Ffunctions-framework');\n\nexports.processEvent = CloudEvent(async (cloudEvent) => {\n  const data = cloudEvent.data;\n  \n  console.log('Event ID:', cloudEvent.id);\n  console.log('Event Type:', cloudEvent.type);\n  console.log('Data:', data);\n  \n  \u002F\u002F Process the event\n  await processData(data);\n  \n  return { success: true };\n});\n\n\u002F\u002F HTTP Function\nexports.httpFunction = async (req, res) => {\n  const name = req.query.name || req.body.name || 'World';\n  res.send(`Hello, ${name}!`);\n};\n```\n\n### Event-Driven Architecture\n\n```\n┌─────────────┐     ┌─────────────┐     ┌─────────────┐\n│    S3       │────►│   Lambda    │────►│   DynamoDB  │\n│  (Upload)    │     │  (Process)  │     │   (Store)   │\n└─────────────┘     └─────────────┘     └─────────────┘\n                          │\n                          ▼\n                   ┌─────────────┐\n                   │    SNS     │\n                   │  (Notify)  │\n                   └─────────────┘\n```\n\n### Serverless Databases\n\n```python\n# AWS DynamoDB access\nimport boto3\nfrom boto3.dynamodb.conditions import Key\n\ndynamodb = boto3.resource('dynamodb')\ntable = dynamodb.Table('users')\n\ndef get_user(user_id):\n    response = table.get_item(Key={'user_id': user_id})\n    return response.get('Item')\n\ndef query_users_by_org(org_id):\n    response = table.query(\n        KeyConditionExpression=Key('org_id').eq(org_id)\n    )\n    return response['Items']\n```\n\n### Cold Start Mitigation\n\n- Provisioned concurrency\n- Keep functions warm with scheduled invocations\n- Use lighter dependencies\n- Minimize function code size\n- Pre-compile dependencies\n- Use ARM\u002FGraviton2 for better performance\n\n### Cost Optimization\n\n- Right-size memory allocation\n- Use reserved capacity\n- Optimize execution time\n- Remove unnecessary dependencies\n- Use native libraries instead of AWS SDK\n- Batch operations where possible\n","## What I do\n\n- Design serverless architectures\n- Build functions-as-a-service applications\n- Implement event-driven systems\n- Configure serverless databases and storage\n- Optimize function performance and costs\n- Build serverless CI\u002FCD pipelines\n\n## When to use me\n\n- When building event-driven applications\n- When scaling is unpredictable\n- When minimizing operational overhead\n- When implementing microservices\n- When building data processing pipelines\n- When creating APIs quickly\n\n## Key Concepts\n\n### AWS Lambda\n\n```python\n# Lambda handler\nimport json\nimport boto3\n\ndef lambda_handler(event, context):\n    # Parse the event\n    http_method = event['httpMethod']\n    path = event['path']\n    \n    # Business logic\n    if http_method == 'GET' and path == '\u002Fusers':\n        return {\n            'statusCode': 200,\n            'body': json.dumps({'users': []}),\n            'headers': {'Content-Type': 'application\u002Fjson'}\n        }\n    \n    return {\n        'statusCode': 404,\n        'body': json.dumps({'error': 'Not found'})\n    }\n\n# Lambda layers for dependencies\n# Layer structure:\n# python\u002Flib\u002Fpython3.11\u002Fsite-packages\u002F\n```\n\n### Serverless Framework\n\n```yaml\n# serverless.yml\nservice: my-serverless-app\n\nprovider:\n  name: aws\n  runtime: python3.11\n  stage: ${opt:stage, 'dev'}\n  region: ${opt:region, 'us-east-1'}\n  \n  environment:\n    TABLE_NAME: !Ref UsersTable\n    STRIPE_KEY: ${env:STRIPE_KEY}\n    \n  iam:\n    role:\n      statements:\n        - Effect: Allow\n          Action:\n            - dynamodb:Query\n            - dynamodb:Scan\n          Resource: !GetAtt UsersTable.Arn\n\nfunctions:\n  users:\n    handler: handler.get_users\n    events:\n      - http:\n          path: \u002Fusers\n          method: get\n          cors: true\n      - http:\n          path: \u002Fusers\u002F{userId}\n          method: get\n          cors: true\n          \n  processOrder:\n    handler: handler.process_order\n    events:\n      - sqs:\n          arn: !GetAtt OrdersQueue.Arn\n          batchSize: 10\n          \n  uploadHandler:\n    handler: handler.handle_upload\n    events:\n      - s3:\n          bucket: uploads-${self:provider.stage}\n          event: s3:ObjectCreated:*\n          rules:\n            - prefix: images\u002F\n\nresources:\n  Resources:\n    UsersTable:\n      Type: AWS::DynamoDB::Table\n      Properties:\n        TableName: users-${self:provider.stage}\n        BillingMode: PAY_PER_REQUEST\n        AttributeDefinitions:\n          - AttributeName: userId\n            AttributeType: S\n        KeySchema:\n          - AttributeName: userId\n            KeyType: HASH\n```\n\n### Azure Functions\n\n```javascript\n\u002F\u002F Azure Function with triggers\nmodule.exports = async function (context, req) {\n    context.log('JavaScript HTTP trigger function processed a request.');\n    \n    const name = (req.query.name || (req.body && req.body.name));\n    \n    if (name) {\n        context.res = {\n            status: 200,\n            body: { message: `Hello, ${name}` }\n        };\n    } else {\n        context.res = {\n            status: 400,\n            body: { error: \"Please pass a name\" }\n        };\n    }\n};\n\n\u002F\u002F bindings.json\n{\n  \"bindings\": [\n    {\n      \"name\": \"req\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"authLevel\": \"function\"\n    },\n    {\n      \"name\": \"$return\",\n      \"type\": \"http\",\n      \"direction\": \"out\"\n    }\n  ]\n}\n```\n\n### GCP Cloud Functions\n\n```javascript\n\u002F\u002F Cloud Function 2nd Gen\nconst { CloudEvent, CloudFunction } = require('@google-cloud\u002Ffunctions-framework');\n\nexports.processEvent = CloudEvent(async (cloudEvent) => {\n  const data = cloudEvent.data;\n  \n  console.log('Event ID:', cloudEvent.id);\n  console.log('Event Type:', cloudEvent.type);\n  console.log('Data:', data);\n  \n  \u002F\u002F Process the event\n  await processData(data);\n  \n  return { success: true };\n});\n\n\u002F\u002F HTTP Function\nexports.httpFunction = async (req, res) => {\n  const name = req.query.name || req.body.name || 'World';\n  res.send(`Hello, ${name}!`);\n};\n```\n\n### Event-Driven Architecture\n\n```\n┌─────────────┐     ┌─────────────┐     ┌─────────────┐\n│    S3       │────►│   Lambda    │────►│   DynamoDB  │\n│  (Upload)    │     │  (Process)  │     │   (Store)   │\n└─────────────┘     └─────────────┘     └─────────────┘\n                          │\n                          ▼\n                   ┌─────────────┐\n                   │    SNS     │\n                   │  (Notify)  │\n                   └─────────────┘\n```\n\n### Serverless Databases\n\n```python\n# AWS DynamoDB access\nimport boto3\nfrom boto3.dynamodb.conditions import Key\n\ndynamodb = boto3.resource('dynamodb')\ntable = dynamodb.Table('users')\n\ndef get_user(user_id):\n    response = table.get_item(Key={'user_id': user_id})\n    return response.get('Item')\n\ndef query_users_by_org(org_id):\n    response = table.query(\n        KeyConditionExpression=Key('org_id').eq(org_id)\n    )\n    return response['Items']\n```\n\n### Cold Start Mitigation\n\n- Provisioned concurrency\n- Keep functions warm with scheduled invocations\n- Use lighter dependencies\n- Minimize function code size\n- Pre-compile dependencies\n- Use ARM\u002FGraviton2 for better performance\n\n### Cost Optimization\n\n- Right-size memory allocation\n- Use reserved capacity\n- Optimize execution time\n- Remove unnecessary dependencies\n- Use native libraries instead of AWS SDK\n- Batch operations where possible\n",{"name":5,"license":14,"metadata":28,"description":7,"compatibility":21},{"audience":29,"category":20},"developer, devops-engineer","main","5f7a3e453c98261f93d19a6a7de44ad8f7b72d41",2,"https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk","2026-03-01 06:55:40",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill serverless",{"tool":42,"command":43},"bunx","bunx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill serverless",{"tool":45,"command":46},"pnpm","pnpm dlx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill serverless","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fserverless\u002FSKILL.md",true,[],[51,62,72,81,91,100],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":23},"01M6CXT9TXDF79BWJTMQAPB49G","xamarin","Xamarin cross-platform development","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fxamarin\u002FSKILL.md",[],[53,58,59,60,21,61],"platform","cross-platform","mobile","development",{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":23},"01M6CXT8AD04MFYDA32VW3FKAG","wrangling","Data wrangling fundamentals","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwrangling\u002FSKILL.md",[],[64,69,21,70,71],"data wrangling","science","data",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":23},"01M6CXT717GCN7SRRNPBDP4508","windows","Windows operating system administration and scripting","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwindows\u002FSKILL.md",[],[74,79,21,80],"system","scripting",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":23},"01M6CXT54K794NMEM3XAPZZDKT","wide-column","Wide-column data model","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column\u002FSKILL.md",[],[88,89,21,90,71],"wide column","databases","model",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":23},"01M6CXT28FMT2P4V9GZE67WA8E","wide-column-stores","Wide-column database stores","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column-stores\u002FSKILL.md",[],[98,89,21,99],"wide column stores","database",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":23},"01M6CXT0D0M0Q4T2N7C2RX7DSN","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwebsockets\u002FSKILL.md",[],[102,107,108,109,21,110,111],"websocket","real-time","time","best practices","implementation"]