[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EAGPGPHJFYNRFYY7B3P3VZ":3,"skill-same:01M6EAGPGPHJFYNRFYY7B3P3VZ":94},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":14,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":57,"install":58,"resources":71},"01M6EAGPGPHJFYNRFYY7B3P3VZ","websocket-engineer",null,"Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.","Blake-John\u002Fagent-config","Blake-John","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F83487296?v=4","01M6EABMJN8BM7V3T5155SHNNX","Blake John","01M6EABMQBM0QRF2X8DZ79K1MD",0,"MIT","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fwebsocket-engineer\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"websocket engineer","websocket","engineer","fastapi","io","scaling","time","chat","nestjs","expert","use","architecture","reviewer","api","real-time","redis","monitoring","messaging","push","code","2026-11-10 10:12:30",false,"---\nname: websocket-engineer\ndescription: Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: api-architecture\n  triggers: WebSocket, Socket.IO, real-time communication, bidirectional messaging, pub\u002Fsub, server push, live updates, chat systems, presence tracking\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: fastapi-expert, nestjs-expert, devops-engineer, monitoring-expert, security-reviewer\n---\n\n# WebSocket Engineer\n\n## Core Workflow\n\n1. **Analyze requirements** — Identify connection scale, message volume, latency needs\n2. **Design architecture** — Plan clustering, pub\u002Fsub, state management, failover\n3. **Implement** — Build WebSocket server with authentication, rooms, events\n4. **Validate locally** — Test connection handling, auth, and room behavior before scaling (e.g., `npx wscat -c ws:\u002F\u002Flocalhost:3000`); confirm auth rejection on missing\u002Finvalid tokens, room join\u002Fleave events, and message delivery\n5. **Scale** — Verify Redis connection and pub\u002Fsub round-trip before enabling the adapter; configure sticky sessions and confirm with test connections across multiple instances; set up load balancing\n6. **Monitor** — Track connections, latency, throughput, error rates; add alerts for connection-count spikes and error-rate thresholds\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Protocol | `references\u002Fprotocol.md` | WebSocket handshake, frames, ping\u002Fpong, close codes |\n| Scaling | `references\u002Fscaling.md` | Horizontal scaling, Redis pub\u002Fsub, sticky sessions |\n| Patterns | `references\u002Fpatterns.md` | Rooms, namespaces, broadcasting, acknowledgments |\n| Security | `references\u002Fsecurity.md` | Authentication, authorization, rate limiting, CORS |\n| Alternatives | `references\u002Falternatives.md` | SSE, long polling, when to choose WebSockets |\n\n## Code Examples\n\n### Server Setup (Socket.IO with Auth and Room Management)\n\n```js\nimport { createServer } from \"http\";\nimport { Server } from \"socket.io\";\nimport { createAdapter } from \"@socket.io\u002Fredis-adapter\";\nimport { createClient } from \"redis\";\nimport jwt from \"jsonwebtoken\";\n\nconst httpServer = createServer();\nconst io = new Server(httpServer, {\n  cors: { origin: process.env.ALLOWED_ORIGIN, credentials: true },\n  pingTimeout: 20000,\n  pingInterval: 25000,\n});\n\n\u002F\u002F Authentication middleware — runs before connection is established\nio.use((socket, next) => {\n  const token = socket.handshake.auth.token;\n  if (!token) return next(new Error(\"Authentication required\"));\n  try {\n    socket.data.user = jwt.verify(token, process.env.JWT_SECRET);\n    next();\n  } catch {\n    next(new Error(\"Invalid token\"));\n  }\n});\n\n\u002F\u002F Redis adapter for horizontal scaling\nconst pubClient = createClient({ url: process.env.REDIS_URL });\nconst subClient = pubClient.duplicate();\nawait Promise.all([pubClient.connect(), subClient.connect()]);\nio.adapter(createAdapter(pubClient, subClient));\n\nio.on(\"connection\", (socket) => {\n  const { userId } = socket.data.user;\n  console.log(`connected: ${userId} (${socket.id})`);\n\n  \u002F\u002F Presence: mark user online\n  pubClient.hSet(\"presence\", userId, socket.id);\n\n  socket.on(\"join-room\", (roomId) => {\n    socket.join(roomId);\n    socket.to(roomId).emit(\"user-joined\", { userId });\n  });\n\n  socket.on(\"message\", ({ roomId, text }) => {\n    io.to(roomId).emit(\"message\", { userId, text, ts: Date.now() });\n  });\n\n  socket.on(\"disconnect\", () => {\n    pubClient.hDel(\"presence\", userId);\n    console.log(`disconnected: ${userId}`);\n  });\n});\n\nhttpServer.listen(3000);\n```\n\n### Client-Side Reconnection with Exponential Backoff\n\n```js\nimport { io } from \"socket.io-client\";\n\nconst socket = io(\"wss:\u002F\u002Fapi.example.com\", {\n  auth: { token: getAuthToken() },\n  reconnection: true,\n  reconnectionAttempts: 10,\n  reconnectionDelay: 1000,       \u002F\u002F initial delay (ms)\n  reconnectionDelayMax: 30000,   \u002F\u002F cap at 30 s\n  randomizationFactor: 0.5,      \u002F\u002F jitter to avoid thundering herd\n});\n\n\u002F\u002F Queue messages while disconnected\nlet messageQueue = [];\n\nsocket.on(\"connect\", () => {\n  console.log(\"connected:\", socket.id);\n  \u002F\u002F Flush queued messages\n  messageQueue.forEach((msg) => socket.emit(\"message\", msg));\n  messageQueue = [];\n});\n\nsocket.on(\"disconnect\", (reason) => {\n  console.warn(\"disconnected:\", reason);\n  if (reason === \"io server disconnect\") socket.connect(); \u002F\u002F manual reconnect\n});\n\nsocket.on(\"connect_error\", (err) => {\n  console.error(\"connection error:\", err.message);\n});\n\nfunction sendMessage(roomId, text) {\n  const msg = { roomId, text };\n  if (socket.connected) {\n    socket.emit(\"message\", msg);\n  } else {\n    messageQueue.push(msg); \u002F\u002F buffer until reconnected\n  }\n}\n```\n\n## Constraints\n\n### MUST DO\n- Use sticky sessions for load balancing (WebSocket connections are stateful — requests must route to the same server instance)\n- Implement heartbeat\u002Fping-pong to detect dead connections (TCP keepalive alone is insufficient)\n- Use rooms\u002Fnamespaces for message scoping rather than filtering in application logic\n- Queue messages during disconnection windows to avoid silent data loss\n- Plan connection limits per instance before scaling horizontally\n\n### MUST NOT DO\n- Store large state in memory without a clustering strategy (use Redis or an external store)\n- Mix WebSocket and HTTP on the same port without explicit upgrade handling\n- Forget to handle connection cleanup (presence records, room membership, in-flight timers)\n- Skip load testing before production — connection-count spikes behave differently from HTTP traffic spikes\n\n## Output Templates\n\nWhen implementing WebSocket features, provide:\n1. Server setup (Socket.IO\u002Fws configuration)\n2. Event handlers (connection, message, disconnect)\n3. Client library (connection, events, reconnection)\n4. Brief explanation of scaling strategy\n\n## Knowledge Reference\n\nSocket.IO, ws, uWebSockets.js, Redis adapter, sticky sessions, nginx WebSocket proxy, JWT over WebSocket, rooms\u002Fnamespaces, acknowledgments, binary data, compression, heartbeat, backpressure, horizontal pod autoscaling\n","# WebSocket Engineer\n\n## Core Workflow\n\n1. **Analyze requirements** — Identify connection scale, message volume, latency needs\n2. **Design architecture** — Plan clustering, pub\u002Fsub, state management, failover\n3. **Implement** — Build WebSocket server with authentication, rooms, events\n4. **Validate locally** — Test connection handling, auth, and room behavior before scaling (e.g., `npx wscat -c ws:\u002F\u002Flocalhost:3000`); confirm auth rejection on missing\u002Finvalid tokens, room join\u002Fleave events, and message delivery\n5. **Scale** — Verify Redis connection and pub\u002Fsub round-trip before enabling the adapter; configure sticky sessions and confirm with test connections across multiple instances; set up load balancing\n6. **Monitor** — Track connections, latency, throughput, error rates; add alerts for connection-count spikes and error-rate thresholds\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Protocol | `references\u002Fprotocol.md` | WebSocket handshake, frames, ping\u002Fpong, close codes |\n| Scaling | `references\u002Fscaling.md` | Horizontal scaling, Redis pub\u002Fsub, sticky sessions |\n| Patterns | `references\u002Fpatterns.md` | Rooms, namespaces, broadcasting, acknowledgments |\n| Security | `references\u002Fsecurity.md` | Authentication, authorization, rate limiting, CORS |\n| Alternatives | `references\u002Falternatives.md` | SSE, long polling, when to choose WebSockets |\n\n## Code Examples\n\n### Server Setup (Socket.IO with Auth and Room Management)\n\n```js\nimport { createServer } from \"http\";\nimport { Server } from \"socket.io\";\nimport { createAdapter } from \"@socket.io\u002Fredis-adapter\";\nimport { createClient } from \"redis\";\nimport jwt from \"jsonwebtoken\";\n\nconst httpServer = createServer();\nconst io = new Server(httpServer, {\n  cors: { origin: process.env.ALLOWED_ORIGIN, credentials: true },\n  pingTimeout: 20000,\n  pingInterval: 25000,\n});\n\n\u002F\u002F Authentication middleware — runs before connection is established\nio.use((socket, next) => {\n  const token = socket.handshake.auth.token;\n  if (!token) return next(new Error(\"Authentication required\"));\n  try {\n    socket.data.user = jwt.verify(token, process.env.JWT_SECRET);\n    next();\n  } catch {\n    next(new Error(\"Invalid token\"));\n  }\n});\n\n\u002F\u002F Redis adapter for horizontal scaling\nconst pubClient = createClient({ url: process.env.REDIS_URL });\nconst subClient = pubClient.duplicate();\nawait Promise.all([pubClient.connect(), subClient.connect()]);\nio.adapter(createAdapter(pubClient, subClient));\n\nio.on(\"connection\", (socket) => {\n  const { userId } = socket.data.user;\n  console.log(`connected: ${userId} (${socket.id})`);\n\n  \u002F\u002F Presence: mark user online\n  pubClient.hSet(\"presence\", userId, socket.id);\n\n  socket.on(\"join-room\", (roomId) => {\n    socket.join(roomId);\n    socket.to(roomId).emit(\"user-joined\", { userId });\n  });\n\n  socket.on(\"message\", ({ roomId, text }) => {\n    io.to(roomId).emit(\"message\", { userId, text, ts: Date.now() });\n  });\n\n  socket.on(\"disconnect\", () => {\n    pubClient.hDel(\"presence\", userId);\n    console.log(`disconnected: ${userId}`);\n  });\n});\n\nhttpServer.listen(3000);\n```\n\n### Client-Side Reconnection with Exponential Backoff\n\n```js\nimport { io } from \"socket.io-client\";\n\nconst socket = io(\"wss:\u002F\u002Fapi.example.com\", {\n  auth: { token: getAuthToken() },\n  reconnection: true,\n  reconnectionAttempts: 10,\n  reconnectionDelay: 1000,       \u002F\u002F initial delay (ms)\n  reconnectionDelayMax: 30000,   \u002F\u002F cap at 30 s\n  randomizationFactor: 0.5,      \u002F\u002F jitter to avoid thundering herd\n});\n\n\u002F\u002F Queue messages while disconnected\nlet messageQueue = [];\n\nsocket.on(\"connect\", () => {\n  console.log(\"connected:\", socket.id);\n  \u002F\u002F Flush queued messages\n  messageQueue.forEach((msg) => socket.emit(\"message\", msg));\n  messageQueue = [];\n});\n\nsocket.on(\"disconnect\", (reason) => {\n  console.warn(\"disconnected:\", reason);\n  if (reason === \"io server disconnect\") socket.connect(); \u002F\u002F manual reconnect\n});\n\nsocket.on(\"connect_error\", (err) => {\n  console.error(\"connection error:\", err.message);\n});\n\nfunction sendMessage(roomId, text) {\n  const msg = { roomId, text };\n  if (socket.connected) {\n    socket.emit(\"message\", msg);\n  } else {\n    messageQueue.push(msg); \u002F\u002F buffer until reconnected\n  }\n}\n```\n\n## Constraints\n\n### MUST DO\n- Use sticky sessions for load balancing (WebSocket connections are stateful — requests must route to the same server instance)\n- Implement heartbeat\u002Fping-pong to detect dead connections (TCP keepalive alone is insufficient)\n- Use rooms\u002Fnamespaces for message scoping rather than filtering in application logic\n- Queue messages during disconnection windows to avoid silent data loss\n- Plan connection limits per instance before scaling horizontally\n\n### MUST NOT DO\n- Store large state in memory without a clustering strategy (use Redis or an external store)\n- Mix WebSocket and HTTP on the same port without explicit upgrade handling\n- Forget to handle connection cleanup (presence records, room membership, in-flight timers)\n- Skip load testing before production — connection-count spikes behave differently from HTTP traffic spikes\n\n## Output Templates\n\nWhen implementing WebSocket features, provide:\n1. Server setup (Socket.IO\u002Fws configuration)\n2. Event handlers (connection, message, disconnect)\n3. Client library (connection, events, reconnection)\n4. Brief explanation of scaling strategy\n\n## Knowledge Reference\n\nSocket.IO, ws, uWebSockets.js, Redis adapter, sticky sessions, nginx WebSocket proxy, JWT over WebSocket, rooms\u002Fnamespaces, acknowledgments, binary data, compression, heartbeat, backpressure, horizontal pod autoscaling\n",{"name":5,"license":15,"metadata":44,"description":7},{"role":45,"scope":46,"author":47,"domain":48,"version":49,"triggers":50,"output-format":38,"related-skills":51},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","api-architecture","1.1.0","WebSocket, Socket.IO, real-time communication, bidirectional messaging, pub\u002Fsub, server push, live updates, chat systems, presence tracking","fastapi-expert, nestjs-expert, devops-engineer, monitoring-expert, security-reviewer","optimize-agents-chinese","54861d380d2ee16418f006fd308a3d12581b1e78",".agents\u002Fskill_spec\u002Fwebsocket-engineer","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config","https:\u002F\u002Fgithub.com\u002FBlake-John","2026-06-29 20:16:16",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add Blake-John\u002Fagent-config --skill websocket-engineer",{"tool":64,"command":65},"bunx","bunx skills add Blake-John\u002Fagent-config --skill websocket-engineer",{"tool":67,"command":68},"pnpm","pnpm dlx skills add Blake-John\u002Fagent-config --skill websocket-engineer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fwebsocket-engineer\u002FSKILL.md",true,[72,78,82,86,90],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Falternatives.md","REFERENCE","参考文档",8505,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fwebsocket-engineer\u002Freferences\u002Falternatives.md",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fpatterns.md",9601,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fwebsocket-engineer\u002Freferences\u002Fpatterns.md",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fprotocol.md",4896,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fwebsocket-engineer\u002Freferences\u002Fprotocol.md",{"path":87,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fscaling.md",7514,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fwebsocket-engineer\u002Freferences\u002Fscaling.md",{"path":91,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fsecurity.md",10203,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fwebsocket-engineer\u002Freferences\u002Fsecurity.md",[95,103,126,148,170,192],{"skillNo":96,"name":5,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":39},"01M6EAZFTRV9ED04KDN43NNBND","当使用 WebSocket 或 Socket.IO 构建实时通信系统时使用。适用于双向消息通信、Redis 水平扩展、在线状态追踪、房间管理。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fwebsocket-engineer\u002FSKILL.md",[],[20,21,19,30,38,101,37,36,35,102,34,33,32,31,22,28,27,26,25,23],"communication","server",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":39},"01M6EAZAQJDB2F89M9BAXXQ193","security-reviewer","识别安全漏洞，生成带有严重性评级的结构化审计报告，并提供可操作的安全修复建议。在开展安全审计、审查代码漏洞或分析基础设施安全时使用。适用于 SAST 扫描、渗透测试、DevSecOps 实践、云安全审查、依赖审计、密钥扫描或合规检查。生成漏洞报告、优先级建议和合规清单。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecurity-reviewer\u002FSKILL.md",[],[110,31,111,112,113,114,115,116,38,117,118,119,120,32,121,122,123,21,124,125],"security","security reviewer","testing","MCP","review","kubernetes","security analysis","cloud security","analysis","security audit","vulnerability","Bash","生成","安全","scan","penetration",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":39},"01M6EAZ69SHGY5EC3P0SHJ9H6P","secure-code-guardian","用于实现认证\u002F授权、保护用户输入或防御 OWASP Top 10 漏洞 —— 包括自定义安全实现，例如使用 bcrypt\u002Fargon2 哈希密码、使用参数化语句清理 SQL 查询、配置 CORS\u002FCSP 头部、使用 Zod 验证输入以及设置 JWT token。适用于认证、授权、输入验证、加密、OWASP Top 10 防护、安全会话管理和安全加固。对于预构建的 OAuth\u002FSSO 集成或独立的安全审计，请考虑使用更专业的 skill。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecure-code-guardian\u002FSKILL.md",[],[133,38,134,135,136,30,137,138,139,140,141,142,120,143,123,144,145,31,146,147],"secure","guardian","secure code guardian","github","sql","owasp top 10","authentication","OAuth","encryption","sso","密码","password","zod","Secure Coding","fullstack",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":39},"01M6EAYPNHN4R8HZZ539DR7A5E","rust-engineer","编写、审查和调试符合 Rust 风格的代码，确保内存安全和零成本抽象。实现所有权模式、管理生命周期、设计 trait 层级、使用 tokio 构建异步应用程序，以及使用 Result\u002FOption 结构化错误处理。适用于构建 Rust 应用程序、解决所有权或借用问题、设计基于 trait 的 API、实现 async\u002Fawait 并发、创建 FFI 绑定，或优化性能和内存安全。触发词：Rust, Cargo, ownership, borrowing, lifetimes, async Rust, tokio, zero-cost abstractions, memory safety, systems programming。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Frust-engineer\u002FSKILL.md",[],[155,21,156,112,157,136,158,159,160,161,162,163,123,164,165,46,166,167,168,169],"rust","rust engineer","design","memory","memory safety","ffi","https","ZeRO","Safety","option","cost","async","patterns","systems","cargo",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":39},"01M6EAYJ5YERE5C5GNE248S26G","react-native-expert","使用 React Native 和 Expo 构建、优化和调试跨平台移动应用。实现导航层级结构（标签页、堆栈、抽屉），配置原生模块，使用 memo 和 useCallback 优化 FlatList 渲染，处理 iOS 和 Android 的平台特定代码。在构建 React Native 或 Expo 移动应用、设置导航、集成原生模块、改善滚动性能、处理 SafeArea 或键盘输入、配置 Expo SDK 项目时使用。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Freact-native-expert\u002FSKILL.md",[],[177,178,28,179,180,181,136,182,38,161,183,184,46,185,186,187,188,189,190,191],"react","react native","react native expert","frontend","android","sdk","ios","mobile app","mobile","expo","cross-platform","memo","platform","module","app",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":198,"publishedAt":39},"01M6EAYEGN5FZBHAGF8GQAK64D","react-expert","当你使用 .jsx 或 .tsx 文件构建 React 18+ 应用、Next.js App Router 项目或 create-react-app 时使用。创建组件、实现自定义 hooks、调试渲染问题、将类组件迁移为函数组件、以及实现状态管理。适用于 Server Components、Suspense 边界、useActionState 表单、性能优化或 React 19 特性。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Freact-expert\u002FSKILL.md",[],[177,28,199,180,136,200,201,202,38,102,203,204,205,206,207,208,209,191,147,210],"react expert","components","component","create","Next.js","zustand","router","hooks","tsx","tanstack query","query","react 19"]