[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79T2590YCSGJ2F4GNBAZDEF":3,"skill-same:01M79T2590YCSGJ2F4GNBAZDEF":52},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":13,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M79T2590YCSGJ2F4GNBAZDEF","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.","Snuc1925\u002FSWE-AI-Agent","Snuc1925","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87866086?v=4","01M79SEFKVJ24BEZS59RCHPNSX","01M79SEFMJFYTNK7S8WF299CWN",0,"MIT","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Flanguage-frameworks\u002Fpython-pro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Flanguage\u002Fpython-pro\u002F)\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\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Flanguage\u002Fpython-pro\u002F)\n",{"name":5,"license":14,"metadata":23,"description":7},{"role":24,"scope":25,"author":26,"domain":27,"version":28,"triggers":29,"output-format":30,"related-skills":31},"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","code","fastapi-expert, devops-engineer","main","459326d435e3b6ae17300b946bd4b7458ecd2bae","skill-library\u002Flanguage-frameworks\u002Fpython-pro","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent","https:\u002F\u002Fgithub.com\u002FSnuc1925","2026-07-29 09:46:52",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Snuc1925\u002FSWE-AI-Agent --skill python-pro",{"tool":44,"command":45},"bunx","bunx skills add Snuc1925\u002FSWE-AI-Agent --skill python-pro",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Snuc1925\u002FSWE-AI-Agent --skill python-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Flanguage-frameworks\u002Fpython-pro\u002FSKILL.md",true,[],[53,62,70,78,85,93],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":58,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M79T5E59T5HMWZVTFJA9QXN1","linear","Manage issues, projects & team workflows in Linear. Use when the user wants to read, create or updates tickets in Linear.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Flinear\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Flinear\u002FSKILL.md",[],[],{"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":57,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M79T535TSDZ09RXZ2YPEE3TN","define-goal","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Fdefine-goal\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Fdefine-goal\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M79T4TE9NAVN5REZVETVXBCN","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M79T4HSEDWY2NXVRDZ3RX7J4","test-master","Generates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across functional, performance, and security testing disciplines. Use when writing unit tests, integration tests, or E2E tests; creating test strategies or automation frameworks; analyzing coverage gaps; performance testing with k6 or Artillery; security testing with OWASP methods; debugging flaky tests; or working on QA, regression, test automation, quality gates, shift-left testing, or test maintenance.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Ftest-master\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M79T43SW5P3Y37F6Y82T76EM","playwright","Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M79T3ZYPH547MMC5FFBY1APS","playwright-interactive","Persistent browser and Electron interaction through `js_repl` for fast iterative UI debugging.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright-interactive\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright-interactive\u002FSKILL.md",[],[]]