[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69B048TCPDM3F63TYPXT3YJ":3,"skill-same:01M69B048TCPDM3F63TYPXT3YJ":54},{"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":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M69B048TCPDM3F63TYPXT3YJ","python-standards",null,"Python coding standards for Amplifier including type hints, async patterns, error handling, and formatting. Use when writing Python code for Amplifier modules.","microsoft\u002Famplifier-bundle-skills","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69AZYFW50CECTV9VW6B34SE",12,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-bundle-skills\u002Fblob\u002Fmain\u002Fmodules\u002Ftool-skills\u002Ftests\u002Ffixtures\u002Fskills\u002Fpython-standards\u002FSKILL.md",[],[19,20,21],"python","python standards","writing","2026-11-10 10:12:30",false,"---\nname: python-standards\ndescription: Python coding standards for Amplifier including type hints, async patterns, error handling, and formatting. Use when writing Python code for Amplifier modules.\nversion: 1.0.0\nlicense: MIT\nmetadata:\n  category: development\n  complexity: low\n---\n\n# Python Coding Standards\n\n## Type Hints\n\n**ALL functions must have complete type hints:**\n\n```python\nfrom typing import Any\n\nasync def process_data(items: list[str], config: dict[str, Any]) -> dict[str, Any]:\n    \"\"\"Process data items with configuration.\"\"\"\n    results = {}\n    for item in items:\n        results[item] = await transform(item, config)\n    return results\n```\n\n**Include type hints for self:**\n\n```python\nclass MyClass:\n    def __init__(self: \"MyClass\", name: str) -> None:\n        self.name = name\n\n    async def process(self: \"MyClass\") -> str:\n        return f\"Processing {self.name}\"\n```\n\n## Async Patterns\n\n**All I\u002FO operations must be async:**\n\n```python\n# Good\nasync def read_file(path: Path) -> str:\n    content = path.read_text()  # For now, sync is OK\n    return content\n\n# Better (when using async libraries)\nasync def read_file(path: Path) -> str:\n    async with aiofiles.open(path) as f:\n        return await f.read()\n```\n\n**Use asyncio.gather for parallel operations:**\n\n```python\nasync def process_files(files: list[Path]) -> list[dict]:\n    tasks = [process_file(f) for f in files]\n    return await asyncio.gather(*tasks)\n```\n\n## Error Handling\n\n**Return errors, don't raise:**\n\n```python\nfrom amplifier_core import ToolResult\n\nasync def execute(self: \"MyTool\", input: dict[str, Any]) -> ToolResult:\n    \"\"\"Execute tool operation.\"\"\"\n    try:\n        result = await self._process(input)\n        return ToolResult(success=True, output=result)\n    except ValueError as e:\n        logger.error(f\"Validation error: {e}\")\n        return ToolResult(success=False, error={\"message\": str(e)})\n```\n\n**Provide clear error messages:**\n\n```python\n# Good\nreturn ToolResult(\n    success=False,\n    error={\"message\": f\"File not found: {path}\"}\n)\n\n# Bad\nreturn ToolResult(\n    success=False,\n    error={\"message\": \"Error\"}\n)\n```\n\n## Formatting\n\n**Line length: 120 characters**\n\n**Import organization:**\n\n```python\n# Standard library\nimport asyncio\nimport logging\nfrom pathlib import Path\nfrom typing import Any\n\n# Third-party\nimport yaml\nfrom pydantic import BaseModel\n\n# Local\u002FAmplifier\nfrom amplifier_core import ModuleCoordinator, ToolResult\n```\n\n**Files must end with newline** - Add blank line at EOF\n\n**Use ruff for formatting:**\n\n```bash\nuv run ruff format .\nuv run ruff check . --fix\n```\n\n## Dependencies\n\n**Use uv for dependency management:**\n\n```bash\n# Add dependency\ncd amplifier-module-tool-mytool\nuv add package-name\n\n# Add dev dependency\nuv add --dev pytest ruff pyright\n```\n\n**Never manually edit pyproject.toml dependencies** - Use `uv add`\n\n## Testing\n\n**Test behavior at protocol level:**\n\n```python\nimport pytest\nfrom amplifier_core.testing import TestCoordinator\n\n@pytest.mark.asyncio\nasync def test_tool_basic():\n    \"\"\"Test basic tool functionality.\"\"\"\n    coordinator = TestCoordinator()\n\n    # Mount module\n    await mount(coordinator, {\"timeout\": 10})\n\n    # Get and test\n    tool = coordinator.get(\"tools\", \"my-tool\")\n    result = await tool.execute({\"param\": \"value\"})\n\n    assert result.success\n    assert \"expected\" in result.output\n```\n\n**Test pyramid: 60% unit, 30% integration, 10% end-to-end**\n\n## Common Pitfalls\n\n### Don't use blocking I\u002FO\n\n```python\n# Bad\ncontent = requests.get(url).text\n\n# Good\nasync with aiohttp.ClientSession() as session:\n    async with session.get(url) as response:\n        content = await response.text()\n```\n\n### Don't modify module internals from outside\n\n```python\n# Bad\ntool._internal_state = new_value\n\n# Good\nawait tool.execute({\"operation\": \"update\", \"value\": new_value})\n```\n\n### Don't put logic in mount()\n\n```python\n# Bad\nasync def mount(coordinator, config):\n    tool = MyTool()\n    await tool.initialize_database()  # Heavy logic\n    await coordinator.mount(\"tools\", tool)\n\n# Good\nasync def mount(coordinator, config):\n    tool = MyTool(config)  # Light initialization only\n    await coordinator.mount(\"tools\", tool)\n    # Heavy logic happens in execute(), not mount()\n```\n\n## Remember\n\n- Run `make check` before committing\n- Keep modules focused and simple\n- Document public interfaces\n- Test at the protocol level\n","# Python Coding Standards\n\n## Type Hints\n\n**ALL functions must have complete type hints:**\n\n```python\nfrom typing import Any\n\nasync def process_data(items: list[str], config: dict[str, Any]) -> dict[str, Any]:\n    \"\"\"Process data items with configuration.\"\"\"\n    results = {}\n    for item in items:\n        results[item] = await transform(item, config)\n    return results\n```\n\n**Include type hints for self:**\n\n```python\nclass MyClass:\n    def __init__(self: \"MyClass\", name: str) -> None:\n        self.name = name\n\n    async def process(self: \"MyClass\") -> str:\n        return f\"Processing {self.name}\"\n```\n\n## Async Patterns\n\n**All I\u002FO operations must be async:**\n\n```python\n# Good\nasync def read_file(path: Path) -> str:\n    content = path.read_text()  # For now, sync is OK\n    return content\n\n# Better (when using async libraries)\nasync def read_file(path: Path) -> str:\n    async with aiofiles.open(path) as f:\n        return await f.read()\n```\n\n**Use asyncio.gather for parallel operations:**\n\n```python\nasync def process_files(files: list[Path]) -> list[dict]:\n    tasks = [process_file(f) for f in files]\n    return await asyncio.gather(*tasks)\n```\n\n## Error Handling\n\n**Return errors, don't raise:**\n\n```python\nfrom amplifier_core import ToolResult\n\nasync def execute(self: \"MyTool\", input: dict[str, Any]) -> ToolResult:\n    \"\"\"Execute tool operation.\"\"\"\n    try:\n        result = await self._process(input)\n        return ToolResult(success=True, output=result)\n    except ValueError as e:\n        logger.error(f\"Validation error: {e}\")\n        return ToolResult(success=False, error={\"message\": str(e)})\n```\n\n**Provide clear error messages:**\n\n```python\n# Good\nreturn ToolResult(\n    success=False,\n    error={\"message\": f\"File not found: {path}\"}\n)\n\n# Bad\nreturn ToolResult(\n    success=False,\n    error={\"message\": \"Error\"}\n)\n```\n\n## Formatting\n\n**Line length: 120 characters**\n\n**Import organization:**\n\n```python\n# Standard library\nimport asyncio\nimport logging\nfrom pathlib import Path\nfrom typing import Any\n\n# Third-party\nimport yaml\nfrom pydantic import BaseModel\n\n# Local\u002FAmplifier\nfrom amplifier_core import ModuleCoordinator, ToolResult\n```\n\n**Files must end with newline** - Add blank line at EOF\n\n**Use ruff for formatting:**\n\n```bash\nuv run ruff format .\nuv run ruff check . --fix\n```\n\n## Dependencies\n\n**Use uv for dependency management:**\n\n```bash\n# Add dependency\ncd amplifier-module-tool-mytool\nuv add package-name\n\n# Add dev dependency\nuv add --dev pytest ruff pyright\n```\n\n**Never manually edit pyproject.toml dependencies** - Use `uv add`\n\n## Testing\n\n**Test behavior at protocol level:**\n\n```python\nimport pytest\nfrom amplifier_core.testing import TestCoordinator\n\n@pytest.mark.asyncio\nasync def test_tool_basic():\n    \"\"\"Test basic tool functionality.\"\"\"\n    coordinator = TestCoordinator()\n\n    # Mount module\n    await mount(coordinator, {\"timeout\": 10})\n\n    # Get and test\n    tool = coordinator.get(\"tools\", \"my-tool\")\n    result = await tool.execute({\"param\": \"value\"})\n\n    assert result.success\n    assert \"expected\" in result.output\n```\n\n**Test pyramid: 60% unit, 30% integration, 10% end-to-end**\n\n## Common Pitfalls\n\n### Don't use blocking I\u002FO\n\n```python\n# Bad\ncontent = requests.get(url).text\n\n# Good\nasync with aiohttp.ClientSession() as session:\n    async with session.get(url) as response:\n        content = await response.text()\n```\n\n### Don't modify module internals from outside\n\n```python\n# Bad\ntool._internal_state = new_value\n\n# Good\nawait tool.execute({\"operation\": \"update\", \"value\": new_value})\n```\n\n### Don't put logic in mount()\n\n```python\n# Bad\nasync def mount(coordinator, config):\n    tool = MyTool()\n    await tool.initialize_database()  # Heavy logic\n    await coordinator.mount(\"tools\", tool)\n\n# Good\nasync def mount(coordinator, config):\n    tool = MyTool(config)  # Light initialization only\n    await coordinator.mount(\"tools\", tool)\n    # Heavy logic happens in execute(), not mount()\n```\n\n## Remember\n\n- Run `make check` before committing\n- Keep modules focused and simple\n- Document public interfaces\n- Test at the protocol level\n",{"name":5,"license":15,"version":27,"metadata":28,"description":7},"1.0.0",{"category":29,"complexity":30},"development","low","main","2f58408a879535df36da5c92d2b073f49271ade4","modules\u002Ftool-skills\u002Ftests\u002Ffixtures\u002Fskills\u002Fpython-standards",11,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-bundle-skills","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-10-03 02:23:42",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add microsoft\u002Famplifier-bundle-skills --skill python-standards",{"tool":46,"command":47},"bunx","bunx skills add microsoft\u002Famplifier-bundle-skills --skill python-standards",{"tool":49,"command":50},"pnpm","pnpm dlx skills add microsoft\u002Famplifier-bundle-skills --skill python-standards","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-bundle-skills\u002Fblob\u002Fmain\u002Fmodules\u002Ftool-skills\u002Ftests\u002Ffixtures\u002Fskills\u002Fpython-standards\u002FSKILL.md",true,[],[55,65,76,89,99,113],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":22},"01M69B282M59QZNMM26JXA1QCV","verification-discipline","Use when verifying that completed work actually works. Auto-surface during \u002Fverify mode, post-implementation review, or before claiming a task is done. Teaches testing outcomes vs implementation, the unit\u002Fintegration\u002Fsmoke gradient, and what \"done\" actually means.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-bundle-skills\u002Fblob\u002Fmain\u002Fskills\u002Fverification-discipline\u002FSKILL.md",[],[62,63,64],"verification discipline","review","testing",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":22},"01M69B263M6BFCVAV3SEESV7T0","user-advocate","User-need reviewer that speaks for the person who isn't in the room — the one who will actually live with what gets built. Hunts the gap between \"we can build this\" and \"they actually want this,\" in the patient, impatient voice of the absent user. Use at any checkpoint — brainstorm, design, plan, implement, debug, review — when a feature is being built because it's buildable rather than wanted, the recovery path is missing, or nobody can name the person this serves: \"do they actually want this, and can they live with it?\"","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-bundle-skills\u002Fblob\u002Fmain\u002Fskills\u002Fuser-advocate\u002FSKILL.md",[],[72,73,74,63,75],"user advocate","debug","implement","design",{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":87,"publishedAt":22},"01M69B23EQQM30TMZG7FPJW4F7","tester-breaker","Adversarial breaker that reviews code by trying to make it fail, not by confirming it works. Hunts the unhappy paths — malformed input, the empty string, the reversed range, the race condition — as a gleeful adversary who assumes everything is broken until a concrete attempt to break it comes up empty. Use at any checkpoint — brainstorm, design, plan, implement, debug, review — when the happy path is celebrated while the edges sit unexamined, \"looks fine\" stands in for \"I tried to break it and couldn't,\" or nobody has named the input that makes this fall over: \"how does this fail, and where are the edges?\"","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-bundle-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftester-breaker\u002FSKILL.md",[82],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[88,63,73,74,75],"tester breaker",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":22},"01M69B21AHBXP6EK60XYDP24PY","skills-assist","Authoritative consultant for all skills-related questions. Use when creating or modifying skills, understanding the Agent Skills spec, troubleshooting skill loading or invocation issues, leveraging enhanced format features (context fork, model_role, user-invocable), writing cross-harness portable skills, ensuring Claude Code Skills 2.0 compatibility, or deciding between skills vs agents.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-bundle-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskills-assist\u002FSKILL.md",[],[96,97,98,21],"skills assist","claude code skills","spec",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":110,"publishedAt":22},"01M69B1ZBHGE1PAX0E7ZDS8HQZ","skillify","Capture a repeatable process from the current session into a reusable Amplifier SKILL.md skill file. Use when the user wants to create a skill, save a workflow as a skill, turn a process into a reusable skill, or mentions \"skillify\", \"create skill\", \"make a skill\", \"save as skill\", \"capture workflow\", \"turn this into a skill\", \"new skill\", or wants to automate a repeatable process they just performed.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-bundle-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskillify\u002FSKILL.md",[105],{"categoryNo":106,"categoryName":107,"taxonomyType":108,"taxonomyTypeDesc":109},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[101,111,112],"create skill","workflow",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":120,"publishedAt":22},"01M69B1XCPQFAXS9RTS87CZ8EK","session-debug","Diagnose issues in the current Amplifier session — misconfigured tools, failing operations, unexpected behavior. Use when something isn't working right.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-bundle-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsession-debug\u002FSKILL.md",[119],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},[121,73,122],"session debug","diagnose"]