[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EAF3D6CXQVC7B0KW1XKEQ0":3,"skill-same:01M6EAF3D6CXQVC7B0KW1XKEQ0":99},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":14,"repositoryHtmlUrl":60,"repositoryHomepageUrl":6,"ownerHtmlUrl":61,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":62,"install":63,"resources":76},"01M6EAF3D6CXQVC7B0KW1XKEQ0","python-pro",null,"Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async\u002Fawait patterns, dataclasses, dependency injection, logging configuration, and structured error handling.","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\u002Fpython-pro\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"python pro","python","python best practices","error","black","dependency injection","patterns","pytest","expert","ruff","engineer","dependency","fastapi","pythonic","Safety","injection","Type Safety","logging","code","development","2026-11-10 10:12:30",false,"---\nname: python-pro\ndescription: Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async\u002Fawait patterns, dataclasses, dependency injection, logging configuration, and structured error handling.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: language\n  triggers: Python development, type hints, async Python, pytest, mypy, dataclasses, Python best practices, Pythonic code\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: fastapi-expert, devops-engineer\n---\n\n# Python Pro\n\nModern Python 3.11+ specialist focused on type-safe, async-first, production-ready code.\n\n## When to Use This Skill\n\n- Writing type-safe Python with complete type coverage\n- Implementing async\u002Fawait patterns for I\u002FO operations\n- Setting up pytest test suites with fixtures and mocking\n- Creating Pythonic code with comprehensions, generators, context managers\n- Building packages with Poetry and proper project structure\n- Performance optimization and profiling\n\n## Core Workflow\n\n1. **Analyze codebase** — Review structure, dependencies, type coverage, test suite\n2. **Design interfaces** — Define protocols, dataclasses, type aliases\n3. **Implement** — Write Pythonic code with full type hints and error handling\n4. **Test** — Create comprehensive pytest suite with >90% coverage\n5. **Validate** — Run `mypy --strict`, `black`, `ruff`\n   - If mypy fails: fix type errors reported and re-run before proceeding\n   - If tests fail: debug assertions, update fixtures, and iterate until green\n   - If ruff\u002Fblack reports issues: apply auto-fixes, then re-validate\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Type System | `references\u002Ftype-system.md` | Type hints, mypy, generics, Protocol |\n| Async Patterns | `references\u002Fasync-patterns.md` | async\u002Fawait, asyncio, task groups |\n| Standard Library | `references\u002Fstandard-library.md` | pathlib, dataclasses, functools, itertools |\n| Testing | `references\u002Ftesting.md` | pytest, fixtures, mocking, parametrize |\n| Packaging | `references\u002Fpackaging.md` | poetry, pip, pyproject.toml, distribution |\n\n## Constraints\n\n### MUST DO\n- Type hints for all function signatures and class attributes\n- PEP 8 compliance with black formatting\n- Comprehensive docstrings (Google style)\n- Test coverage exceeding 90% with pytest\n- Use `X | None` instead of `Optional[X]` (Python 3.10+)\n- Async\u002Fawait for I\u002FO-bound operations\n- Dataclasses over manual __init__ methods\n- Context managers for resource handling\n\n### MUST NOT DO\n- Skip type annotations on public APIs\n- Use mutable default arguments\n- Mix sync and async code improperly\n- Ignore mypy errors in strict mode\n- Use bare except clauses\n- Hardcode secrets or configuration\n- Use deprecated stdlib modules (use pathlib not os.path)\n\n## Code Examples\n\n### Type-annotated function with error handling\n```python\nfrom pathlib import Path\n\ndef read_config(path: Path) -> dict[str, str]:\n    \"\"\"Read configuration from a file.\n\n    Args:\n        path: Path to the configuration file.\n\n    Returns:\n        Parsed key-value configuration entries.\n\n    Raises:\n        FileNotFoundError: If the config file does not exist.\n        ValueError: If a line cannot be parsed.\n    \"\"\"\n    config: dict[str, str] = {}\n    with path.open() as f:\n        for line in f:\n            key, _, value = line.partition(\"=\")\n            if not key.strip():\n                raise ValueError(f\"Invalid config line: {line!r}\")\n            config[key.strip()] = value.strip()\n    return config\n```\n\n### Dataclass with validation\n```python\nfrom dataclasses import dataclass, field\n\n@dataclass\nclass AppConfig:\n    host: str\n    port: int\n    debug: bool = False\n    allowed_origins: list[str] = field(default_factory=list)\n\n    def __post_init__(self) -> None:\n        if not (1 \u003C= self.port \u003C= 65535):\n            raise ValueError(f\"Invalid port: {self.port}\")\n```\n\n### Async pattern\n```python\nimport asyncio\nimport httpx\n\nasync def fetch_all(urls: list[str]) -> list[bytes]:\n    \"\"\"Fetch multiple URLs concurrently.\"\"\"\n    async with httpx.AsyncClient() as client:\n        tasks = [client.get(url) for url in urls]\n        responses = await asyncio.gather(*tasks)\n        return [r.content for r in responses]\n```\n\n### pytest fixture and parametrize\n```python\nimport pytest\nfrom pathlib import Path\n\n@pytest.fixture\ndef config_file(tmp_path: Path) -> Path:\n    cfg = tmp_path \u002F \"config.txt\"\n    cfg.write_text(\"host=localhost\\nport=8080\\n\")\n    return cfg\n\n@pytest.mark.parametrize(\"port,valid\", [(8080, True), (0, False), (99999, False)])\ndef test_app_config_port_validation(port: int, valid: bool) -> None:\n    if valid:\n        AppConfig(host=\"localhost\", port=port)\n    else:\n        with pytest.raises(ValueError):\n            AppConfig(host=\"localhost\", port=port)\n```\n\n### mypy strict configuration (pyproject.toml)\n```toml\n[tool.mypy]\npython_version = \"3.11\"\nstrict = true\nwarn_return_any = true\nwarn_unused_configs = true\ndisallow_untyped_defs = true\n```\n\nClean `mypy --strict` output looks like:\n```\nSuccess: no issues found in 12 source files\n```\nAny reported error (e.g., `error: Function is missing a return type annotation`) must be resolved before the implementation is considered complete.\n\n## Output Templates\n\nWhen implementing Python features, provide:\n1. Module file with complete type hints\n2. Test file with pytest fixtures\n3. Type checking confirmation (mypy --strict passes)\n4. Brief explanation of Pythonic patterns used\n\n## Knowledge Reference\n\nPython 3.11+, typing module, mypy, pytest, black, ruff, dataclasses, async\u002Fawait, asyncio, pathlib, functools, itertools, Poetry, Pydantic, contextlib, collections.abc, Protocol\n","# Python Pro\n\nModern Python 3.11+ specialist focused on type-safe, async-first, production-ready code.\n\n## When to Use This Skill\n\n- Writing type-safe Python with complete type coverage\n- Implementing async\u002Fawait patterns for I\u002FO operations\n- Setting up pytest test suites with fixtures and mocking\n- Creating Pythonic code with comprehensions, generators, context managers\n- Building packages with Poetry and proper project structure\n- Performance optimization and profiling\n\n## Core Workflow\n\n1. **Analyze codebase** — Review structure, dependencies, type coverage, test suite\n2. **Design interfaces** — Define protocols, dataclasses, type aliases\n3. **Implement** — Write Pythonic code with full type hints and error handling\n4. **Test** — Create comprehensive pytest suite with >90% coverage\n5. **Validate** — Run `mypy --strict`, `black`, `ruff`\n   - If mypy fails: fix type errors reported and re-run before proceeding\n   - If tests fail: debug assertions, update fixtures, and iterate until green\n   - If ruff\u002Fblack reports issues: apply auto-fixes, then re-validate\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Type System | `references\u002Ftype-system.md` | Type hints, mypy, generics, Protocol |\n| Async Patterns | `references\u002Fasync-patterns.md` | async\u002Fawait, asyncio, task groups |\n| Standard Library | `references\u002Fstandard-library.md` | pathlib, dataclasses, functools, itertools |\n| Testing | `references\u002Ftesting.md` | pytest, fixtures, mocking, parametrize |\n| Packaging | `references\u002Fpackaging.md` | poetry, pip, pyproject.toml, distribution |\n\n## Constraints\n\n### MUST DO\n- Type hints for all function signatures and class attributes\n- PEP 8 compliance with black formatting\n- Comprehensive docstrings (Google style)\n- Test coverage exceeding 90% with pytest\n- Use `X | None` instead of `Optional[X]` (Python 3.10+)\n- Async\u002Fawait for I\u002FO-bound operations\n- Dataclasses over manual __init__ methods\n- Context managers for resource handling\n\n### MUST NOT DO\n- Skip type annotations on public APIs\n- Use mutable default arguments\n- Mix sync and async code improperly\n- Ignore mypy errors in strict mode\n- Use bare except clauses\n- Hardcode secrets or configuration\n- Use deprecated stdlib modules (use pathlib not os.path)\n\n## Code Examples\n\n### Type-annotated function with error handling\n```python\nfrom pathlib import Path\n\ndef read_config(path: Path) -> dict[str, str]:\n    \"\"\"Read configuration from a file.\n\n    Args:\n        path: Path to the configuration file.\n\n    Returns:\n        Parsed key-value configuration entries.\n\n    Raises:\n        FileNotFoundError: If the config file does not exist.\n        ValueError: If a line cannot be parsed.\n    \"\"\"\n    config: dict[str, str] = {}\n    with path.open() as f:\n        for line in f:\n            key, _, value = line.partition(\"=\")\n            if not key.strip():\n                raise ValueError(f\"Invalid config line: {line!r}\")\n            config[key.strip()] = value.strip()\n    return config\n```\n\n### Dataclass with validation\n```python\nfrom dataclasses import dataclass, field\n\n@dataclass\nclass AppConfig:\n    host: str\n    port: int\n    debug: bool = False\n    allowed_origins: list[str] = field(default_factory=list)\n\n    def __post_init__(self) -> None:\n        if not (1 \u003C= self.port \u003C= 65535):\n            raise ValueError(f\"Invalid port: {self.port}\")\n```\n\n### Async pattern\n```python\nimport asyncio\nimport httpx\n\nasync def fetch_all(urls: list[str]) -> list[bytes]:\n    \"\"\"Fetch multiple URLs concurrently.\"\"\"\n    async with httpx.AsyncClient() as client:\n        tasks = [client.get(url) for url in urls]\n        responses = await asyncio.gather(*tasks)\n        return [r.content for r in responses]\n```\n\n### pytest fixture and parametrize\n```python\nimport pytest\nfrom pathlib import Path\n\n@pytest.fixture\ndef config_file(tmp_path: Path) -> Path:\n    cfg = tmp_path \u002F \"config.txt\"\n    cfg.write_text(\"host=localhost\\nport=8080\\n\")\n    return cfg\n\n@pytest.mark.parametrize(\"port,valid\", [(8080, True), (0, False), (99999, False)])\ndef test_app_config_port_validation(port: int, valid: bool) -> None:\n    if valid:\n        AppConfig(host=\"localhost\", port=port)\n    else:\n        with pytest.raises(ValueError):\n            AppConfig(host=\"localhost\", port=port)\n```\n\n### mypy strict configuration (pyproject.toml)\n```toml\n[tool.mypy]\npython_version = \"3.11\"\nstrict = true\nwarn_return_any = true\nwarn_unused_configs = true\ndisallow_untyped_defs = true\n```\n\nClean `mypy --strict` output looks like:\n```\nSuccess: no issues found in 12 source files\n```\nAny reported error (e.g., `error: Function is missing a return type annotation`) must be resolved before the implementation is considered complete.\n\n## Output Templates\n\nWhen implementing Python features, provide:\n1. Module file with complete type hints\n2. Test file with pytest fixtures\n3. Type checking confirmation (mypy --strict passes)\n4. Brief explanation of Pythonic patterns used\n\n## Knowledge Reference\n\nPython 3.11+, typing module, mypy, pytest, black, ruff, dataclasses, async\u002Fawait, asyncio, pathlib, functools, itertools, Poetry, Pydantic, contextlib, collections.abc, Protocol\n",{"name":5,"license":15,"metadata":49,"description":7},{"role":50,"scope":51,"author":52,"domain":53,"version":54,"triggers":55,"output-format":42,"related-skills":56},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","language","1.1.0","Python development, type hints, async Python, pytest, mypy, dataclasses, Python best practices, Pythonic code","fastapi-expert, devops-engineer","optimize-agents-chinese","54861d380d2ee16418f006fd308a3d12581b1e78",".agents\u002Fskill_spec\u002Fpython-pro","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":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add Blake-John\u002Fagent-config --skill python-pro",{"tool":69,"command":70},"bunx","bunx skills add Blake-John\u002Fagent-config --skill python-pro",{"tool":72,"command":73},"pnpm","pnpm dlx skills add Blake-John\u002Fagent-config --skill python-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fpython-pro\u002FSKILL.md",true,[77,83,87,91,95],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fasync-patterns.md","REFERENCE","参考文档",9333,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fpython-pro\u002Freferences\u002Fasync-patterns.md",{"path":84,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fpackaging.md",9652,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fpython-pro\u002Freferences\u002Fpackaging.md",{"path":88,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fstandard-library.md",9063,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fpython-pro\u002Freferences\u002Fstandard-library.md",{"path":92,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Ftesting.md",9920,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fpython-pro\u002Freferences\u002Ftesting.md",{"path":96,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Ftype-system.md",6638,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002F.agents\u002Fskill_spec\u002Fpython-pro\u002Freferences\u002Ftype-system.md",[100,123,155,178,199,224],{"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":44},"01M6EAZFTRV9ED04KDN43NNBND","websocket-engineer","当使用 WebSocket 或 Socket.IO 构建实时通信系统时使用。适用于双向消息通信、Redis 水平扩展、在线状态追踪、房间管理。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fwebsocket-engineer\u002FSKILL.md",[],[107,34,108,109,42,110,111,112,113,114,115,116,117,118,36,32,119,120,121,122],"websocket","websocket engineer","architecture","communication","push","messaging","monitoring","server","redis","real-time","api","reviewer","nestjs","chat","time","io",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":138,"publishedAt":44},"01M6EAZAQJDB2F89M9BAXXQ193","security-reviewer","识别安全漏洞，生成带有严重性评级的结构化审计报告，并提供可操作的安全修复建议。在开展安全审计、审查代码漏洞或分析基础设施安全时使用。适用于 SAST 扫描、渗透测试、DevSecOps 实践、云安全审查、依赖审计、密钥扫描或合规检查。生成漏洞报告、优先级建议和合规清单。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecurity-reviewer\u002FSKILL.md",[129,134,137],{"categoryNo":130,"categoryName":131,"taxonomyType":132,"taxonomyTypeDesc":133},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":135,"categoryName":136,"taxonomyType":132,"taxonomyTypeDesc":133},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[139,118,140,141,142,143,144,145,42,146,147,148,149,117,150,151,152,34,153,154],"security","security reviewer","testing","MCP","review","kubernetes","security analysis","cloud security","analysis","security audit","vulnerability","Bash","生成","安全","scan","penetration",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":162,"publishedAt":44},"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",[161],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[163,42,164,165,166,109,167,168,169,170,171,172,149,173,152,174,175,118,176,177],"secure","guardian","secure code guardian","github","sql","owasp top 10","authentication","OAuth","encryption","sso","密码","password","zod","Secure Coding","fullstack",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":185,"publishedAt":44},"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",[184],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[186,34,187,141,188,166,189,190,191,192,193,38,152,194,195,51,196,30,197,198],"rust","rust engineer","design","memory","memory safety","ffi","https","ZeRO","option","cost","async","systems","cargo",{"skillNo":200,"name":201,"nameZh":6,"description":202,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":203,"categories":204,"keywords":208,"publishedAt":44},"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",[205],{"categoryNo":206,"categoryName":207,"taxonomyType":132,"taxonomyTypeDesc":133},"01JBSEEDCAT000000000000009","前端开发",[209,210,32,211,212,213,166,214,42,192,215,216,51,217,218,219,220,221,222,223],"react","react native","react native expert","frontend","android","sdk","ios","mobile app","mobile","expo","cross-platform","memo","platform","module","app",{"skillNo":225,"name":226,"nameZh":6,"description":227,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":228,"categories":229,"keywords":231,"publishedAt":44},"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",[230],{"categoryNo":206,"categoryName":207,"taxonomyType":132,"taxonomyTypeDesc":133},[209,32,232,212,166,233,234,235,42,114,236,237,238,239,240,241,242,223,177,243],"react expert","components","component","create","Next.js","zustand","router","hooks","tsx","tanstack query","query","react 19"]