[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699GKE0WWT6YVHBS06KM8AH":3,"skill-same:01M699GKE0WWT6YVHBS06KM8AH":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":17,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M699GKE0WWT6YVHBS06KM8AH","write-tests","Python 单元测试编写","Guide for writing unit tests. Use this when creating tests to verify Python logic.","编写单元测试指南。在创建测试以验证 Python 逻辑时使用。","microsoft\u002Fsemantic-link-labs","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699FKMT63C17BFNH8WHZN2K",600,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwrite-tests\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43],"write tests","write","tests","writing","python","unit tests","verify","guide","use","logic","unit","for","when","2026-11-10 10:12:30",false,"---\nname: write-tests\ndescription: Guide for writing unit tests. Use this when creating tests to verify Python logic.\n---\n\n# Writing Tests\n\nThis skill covers how to write tests for the Semantic Link Labs project.\n\n## When to Use This Skill\n\nUse this skill when you need to:\n- Write tests for new functions\n- Add test coverage for existing code\n- Test error handling and edge cases\n- Validate input parsing and data transformations\n\n---\n\n## Test Framework\n\n| Component | Details |\n|-----------|---------|\n| **Framework** | pytest |\n| **Location** | `tests\u002F` directory |\n| **Assertions** | Standard pytest assertions |\n\n---\n\n## Test File Structure\n\n```\ntests\u002F\n├── __init__.py\n├── test_helper_functions.py\n├── test_workspaces.py\n├── test_admin.py\n└── ...\n```\n\n### Naming Conventions\n\n- Test files: `test_*.py` or `*_test.py`\n- Test functions: `test_\u003Cfunction_name>_\u003Cscenario>`\n- Test classes: `Test\u003CClassName>`\n\n---\n\n## Writing Basic Tests\n\n### Simple Function Test\n\n```python\nimport pytest\nimport pandas as pd\n\n\ndef test_my_function_returns_dataframe():\n    \"\"\"Test that my_function returns a DataFrame.\"\"\"\n    from sempy_labs import my_function\n\n    result = my_function()\n\n    assert isinstance(result, pd.DataFrame)\n\n\ndef test_my_function_has_expected_columns():\n    \"\"\"Test that result has expected columns.\"\"\"\n    from sempy_labs import my_function\n\n    result = my_function()\n\n    expected_columns = [\"Id\", \"Name\", \"Type\"]\n    for col in expected_columns:\n        assert col in result.columns\n```\n\n### Test with Parameters\n\n```python\ndef test_my_function_filters_by_type():\n    \"\"\"Test that my_function filters by item_type.\"\"\"\n    from sempy_labs import my_function\n\n    result = my_function(item_type=\"Report\")\n\n    assert all(result[\"Type\"] == \"Report\")\n```\n\n---\n\n## Testing Error Handling\n\n### Expected Exceptions\n\n```python\ndef test_my_function_raises_on_invalid_workspace():\n    \"\"\"Test that invalid workspace raises ValueError.\"\"\"\n    from sempy_labs import my_function\n\n    with pytest.raises(ValueError, match=\"Invalid workspace\"):\n        my_function(workspace=\"NonExistent\")\n\n\ndef test_my_function_raises_on_missing_parameter():\n    \"\"\"Test that missing required parameter raises error.\"\"\"\n    from sempy_labs import my_function\n\n    with pytest.raises(TypeError):\n        my_function()  # Missing required parameter\n```\n\n### Exception Message Matching\n\n```python\ndef test_error_message_is_descriptive():\n    \"\"\"Test that error message contains helpful information.\"\"\"\n    from sempy_labs import my_function\n\n    with pytest.raises(ValueError) as exc_info:\n        my_function(invalid_param=\"bad\")\n\n    assert \"invalid_param\" in str(exc_info.value)\n    assert \"bad\" in str(exc_info.value)\n```\n\n---\n\n## Using Fixtures\n\n### Basic Fixture\n\n```python\nimport pytest\nimport pandas as pd\n\n\n@pytest.fixture\ndef sample_dataframe():\n    \"\"\"Create a sample DataFrame for testing.\"\"\"\n    return pd.DataFrame({\n        \"Id\": [\"1\", \"2\", \"3\"],\n        \"Name\": [\"Item A\", \"Item B\", \"Item C\"],\n        \"Type\": [\"Report\", \"Dataset\", \"Report\"],\n    })\n\n\ndef test_filter_function(sample_dataframe):\n    \"\"\"Test filtering function with sample data.\"\"\"\n    from sempy_labs._helper_functions import filter_items\n\n    result = filter_items(sample_dataframe, type=\"Report\")\n\n    assert len(result) == 2\n    assert all(result[\"Type\"] == \"Report\")\n```\n\n### Fixture with Parameters\n\n```python\n@pytest.fixture(params=[\"Report\", \"Dataset\", \"Lakehouse\"])\ndef item_type(request):\n    \"\"\"Parameterized fixture for item types.\"\"\"\n    return request.param\n\n\ndef test_with_different_item_types(item_type):\n    \"\"\"Test function with different item types.\"\"\"\n    from sempy_labs import my_function\n\n    result = my_function(item_type=item_type)\n\n    assert isinstance(result, pd.DataFrame)\n```\n\n---\n\n## Mocking External Dependencies\n\n### Mocking API Calls\n\n```python\nfrom unittest.mock import patch, MagicMock\n\n\ndef test_function_with_mocked_api():\n    \"\"\"Test with mocked API response.\"\"\"\n    mock_response = MagicMock()\n    mock_response.json.return_value = {\n        \"value\": [\n            {\"id\": \"123\", \"name\": \"Test Item\"}\n        ]\n    }\n    mock_response.status_code = 200\n\n    with patch('sempy_labs._helper_functions._base_api') as mock_api:\n        mock_api.return_value = mock_response\n\n        from sempy_labs import list_items\n        result = list_items()\n\n        assert len(result) == 1\n        assert result.iloc[0][\"Name\"] == \"Test Item\"\n```\n\n### Mocking Fabric Client\n\n```python\nfrom unittest.mock import patch\n\n\ndef test_function_with_mocked_fabric():\n    \"\"\"Test with mocked sempy.fabric calls.\"\"\"\n    with patch('sempy.fabric.resolve_workspace_id') as mock_resolve:\n        mock_resolve.return_value = \"12345678-1234-1234-1234-123456789012\"\n\n        from sempy_labs._helper_functions import resolve_workspace_id\n        result = resolve_workspace_id(\"My Workspace\")\n\n        mock_resolve.assert_called_once()\n```\n\n---\n\n## Parameterized Tests\n\n### Multiple Input Values\n\n```python\nimport pytest\n\n\n@pytest.mark.parametrize(\"input_value,expected\", [\n    (\"value1\", \"result1\"),\n    (\"value2\", \"result2\"),\n    (\"value3\", \"result3\"),\n])\ndef test_function_with_multiple_inputs(input_value, expected):\n    \"\"\"Test function with multiple input values.\"\"\"\n    from sempy_labs import my_function\n\n    result = my_function(input_value)\n\n    assert result == expected\n```\n\n### Testing Edge Cases\n\n```python\n@pytest.mark.parametrize(\"workspace\", [\n    None,           # Default workspace\n    \"My Workspace\", # By name\n    \"12345678-1234-1234-1234-123456789012\",  # By UUID string\n])\ndef test_accepts_various_workspace_formats(workspace):\n    \"\"\"Test that function accepts various workspace formats.\"\"\"\n    from sempy_labs import my_function\n\n    # Should not raise\n    result = my_function(workspace=workspace)\n    assert result is not None\n```\n\n---\n\n## Testing DataFrame Results\n\n### Column Validation\n\n```python\ndef test_result_has_required_columns():\n    \"\"\"Test that result DataFrame has required columns.\"\"\"\n    from sempy_labs import list_items\n\n    result = list_items()\n\n    required_columns = [\"Id\", \"Name\", \"Type\"]\n    for col in required_columns:\n        assert col in result.columns, f\"Missing column: {col}\"\n```\n\n### Data Type Validation\n\n```python\ndef test_result_column_types():\n    \"\"\"Test that result columns have correct types.\"\"\"\n    from sempy_labs import list_items\n\n    result = list_items()\n\n    assert result[\"Id\"].dtype == \"object\"  # string\n    assert result[\"Name\"].dtype == \"object\"  # string\n```\n\n### Empty Result Handling\n\n```python\ndef test_handles_empty_result():\n    \"\"\"Test that function handles empty results gracefully.\"\"\"\n    from sempy_labs import list_items\n\n    result = list_items(item_type=\"NonExistentType\")\n\n    assert isinstance(result, pd.DataFrame)\n    assert result.empty\n    # Columns should still exist even if empty\n    assert \"Id\" in result.columns\n```\n\n---\n\n## Test Organization\n\n### Grouping Related Tests\n\n```python\nclass TestWorkspaceFunctions:\n    \"\"\"Tests for workspace-related functions.\"\"\"\n\n    def test_list_workspaces(self):\n        \"\"\"Test listing workspaces.\"\"\"\n        pass\n\n    def test_resolve_workspace_id(self):\n        \"\"\"Test resolving workspace ID.\"\"\"\n        pass\n\n    def test_resolve_workspace_name(self):\n        \"\"\"Test resolving workspace name.\"\"\"\n        pass\n\n\nclass TestHelperFunctions:\n    \"\"\"Tests for helper utility functions.\"\"\"\n\n    def test_is_valid_uuid(self):\n        \"\"\"Test UUID validation.\"\"\"\n        pass\n\n    def test_create_dataframe(self):\n        \"\"\"Test DataFrame creation helper.\"\"\"\n        pass\n```\n\n---\n\n## Best Practices\n\n### Do's\n\n- ✅ Use descriptive test names\n- ✅ Test one thing per test function\n- ✅ Include docstrings explaining what's being tested\n- ✅ Use fixtures for reusable setup\n- ✅ Test both success and failure cases\n- ✅ Mock external dependencies when needed\n\n### Don'ts\n\n- ❌ Don't test multiple behaviors in one test\n- ❌ Don't rely on external services in unit tests\n- ❌ Don't use hardcoded secrets or credentials\n- ❌ Don't write tests that depend on test execution order\n- ❌ Don't ignore flaky tests - fix them\n\n---\n\n## Pre-Commit Test Checklist\n\nBefore committing new tests:\n\n1. Run the tests locally:\n   ```bash\n   pytest -sv tests\u002F -k my_new_test\n   ```\n\n2. Verify tests pass consistently (run multiple times)\n\n3. Check test coverage for the new code\n\n4. Ensure tests are independent and don't rely on each other\n","# Writing Tests\n\nThis skill covers how to write tests for the Semantic Link Labs project.\n\n## When to Use This Skill\n\nUse this skill when you need to:\n- Write tests for new functions\n- Add test coverage for existing code\n- Test error handling and edge cases\n- Validate input parsing and data transformations\n\n---\n\n## Test Framework\n\n| Component | Details |\n|-----------|---------|\n| **Framework** | pytest |\n| **Location** | `tests\u002F` directory |\n| **Assertions** | Standard pytest assertions |\n\n---\n\n## Test File Structure\n\n```\ntests\u002F\n├── __init__.py\n├── test_helper_functions.py\n├── test_workspaces.py\n├── test_admin.py\n└── ...\n```\n\n### Naming Conventions\n\n- Test files: `test_*.py` or `*_test.py`\n- Test functions: `test_\u003Cfunction_name>_\u003Cscenario>`\n- Test classes: `Test\u003CClassName>`\n\n---\n\n## Writing Basic Tests\n\n### Simple Function Test\n\n```python\nimport pytest\nimport pandas as pd\n\n\ndef test_my_function_returns_dataframe():\n    \"\"\"Test that my_function returns a DataFrame.\"\"\"\n    from sempy_labs import my_function\n\n    result = my_function()\n\n    assert isinstance(result, pd.DataFrame)\n\n\ndef test_my_function_has_expected_columns():\n    \"\"\"Test that result has expected columns.\"\"\"\n    from sempy_labs import my_function\n\n    result = my_function()\n\n    expected_columns = [\"Id\", \"Name\", \"Type\"]\n    for col in expected_columns:\n        assert col in result.columns\n```\n\n### Test with Parameters\n\n```python\ndef test_my_function_filters_by_type():\n    \"\"\"Test that my_function filters by item_type.\"\"\"\n    from sempy_labs import my_function\n\n    result = my_function(item_type=\"Report\")\n\n    assert all(result[\"Type\"] == \"Report\")\n```\n\n---\n\n## Testing Error Handling\n\n### Expected Exceptions\n\n```python\ndef test_my_function_raises_on_invalid_workspace():\n    \"\"\"Test that invalid workspace raises ValueError.\"\"\"\n    from sempy_labs import my_function\n\n    with pytest.raises(ValueError, match=\"Invalid workspace\"):\n        my_function(workspace=\"NonExistent\")\n\n\ndef test_my_function_raises_on_missing_parameter():\n    \"\"\"Test that missing required parameter raises error.\"\"\"\n    from sempy_labs import my_function\n\n    with pytest.raises(TypeError):\n        my_function()  # Missing required parameter\n```\n\n### Exception Message Matching\n\n```python\ndef test_error_message_is_descriptive():\n    \"\"\"Test that error message contains helpful information.\"\"\"\n    from sempy_labs import my_function\n\n    with pytest.raises(ValueError) as exc_info:\n        my_function(invalid_param=\"bad\")\n\n    assert \"invalid_param\" in str(exc_info.value)\n    assert \"bad\" in str(exc_info.value)\n```\n\n---\n\n## Using Fixtures\n\n### Basic Fixture\n\n```python\nimport pytest\nimport pandas as pd\n\n\n@pytest.fixture\ndef sample_dataframe():\n    \"\"\"Create a sample DataFrame for testing.\"\"\"\n    return pd.DataFrame({\n        \"Id\": [\"1\", \"2\", \"3\"],\n        \"Name\": [\"Item A\", \"Item B\", \"Item C\"],\n        \"Type\": [\"Report\", \"Dataset\", \"Report\"],\n    })\n\n\ndef test_filter_function(sample_dataframe):\n    \"\"\"Test filtering function with sample data.\"\"\"\n    from sempy_labs._helper_functions import filter_items\n\n    result = filter_items(sample_dataframe, type=\"Report\")\n\n    assert len(result) == 2\n    assert all(result[\"Type\"] == \"Report\")\n```\n\n### Fixture with Parameters\n\n```python\n@pytest.fixture(params=[\"Report\", \"Dataset\", \"Lakehouse\"])\ndef item_type(request):\n    \"\"\"Parameterized fixture for item types.\"\"\"\n    return request.param\n\n\ndef test_with_different_item_types(item_type):\n    \"\"\"Test function with different item types.\"\"\"\n    from sempy_labs import my_function\n\n    result = my_function(item_type=item_type)\n\n    assert isinstance(result, pd.DataFrame)\n```\n\n---\n\n## Mocking External Dependencies\n\n### Mocking API Calls\n\n```python\nfrom unittest.mock import patch, MagicMock\n\n\ndef test_function_with_mocked_api():\n    \"\"\"Test with mocked API response.\"\"\"\n    mock_response = MagicMock()\n    mock_response.json.return_value = {\n        \"value\": [\n            {\"id\": \"123\", \"name\": \"Test Item\"}\n        ]\n    }\n    mock_response.status_code = 200\n\n    with patch('sempy_labs._helper_functions._base_api') as mock_api:\n        mock_api.return_value = mock_response\n\n        from sempy_labs import list_items\n        result = list_items()\n\n        assert len(result) == 1\n        assert result.iloc[0][\"Name\"] == \"Test Item\"\n```\n\n### Mocking Fabric Client\n\n```python\nfrom unittest.mock import patch\n\n\ndef test_function_with_mocked_fabric():\n    \"\"\"Test with mocked sempy.fabric calls.\"\"\"\n    with patch('sempy.fabric.resolve_workspace_id') as mock_resolve:\n        mock_resolve.return_value = \"12345678-1234-1234-1234-123456789012\"\n\n        from sempy_labs._helper_functions import resolve_workspace_id\n        result = resolve_workspace_id(\"My Workspace\")\n\n        mock_resolve.assert_called_once()\n```\n\n---\n\n## Parameterized Tests\n\n### Multiple Input Values\n\n```python\nimport pytest\n\n\n@pytest.mark.parametrize(\"input_value,expected\", [\n    (\"value1\", \"result1\"),\n    (\"value2\", \"result2\"),\n    (\"value3\", \"result3\"),\n])\ndef test_function_with_multiple_inputs(input_value, expected):\n    \"\"\"Test function with multiple input values.\"\"\"\n    from sempy_labs import my_function\n\n    result = my_function(input_value)\n\n    assert result == expected\n```\n\n### Testing Edge Cases\n\n```python\n@pytest.mark.parametrize(\"workspace\", [\n    None,           # Default workspace\n    \"My Workspace\", # By name\n    \"12345678-1234-1234-1234-123456789012\",  # By UUID string\n])\ndef test_accepts_various_workspace_formats(workspace):\n    \"\"\"Test that function accepts various workspace formats.\"\"\"\n    from sempy_labs import my_function\n\n    # Should not raise\n    result = my_function(workspace=workspace)\n    assert result is not None\n```\n\n---\n\n## Testing DataFrame Results\n\n### Column Validation\n\n```python\ndef test_result_has_required_columns():\n    \"\"\"Test that result DataFrame has required columns.\"\"\"\n    from sempy_labs import list_items\n\n    result = list_items()\n\n    required_columns = [\"Id\", \"Name\", \"Type\"]\n    for col in required_columns:\n        assert col in result.columns, f\"Missing column: {col}\"\n```\n\n### Data Type Validation\n\n```python\ndef test_result_column_types():\n    \"\"\"Test that result columns have correct types.\"\"\"\n    from sempy_labs import list_items\n\n    result = list_items()\n\n    assert result[\"Id\"].dtype == \"object\"  # string\n    assert result[\"Name\"].dtype == \"object\"  # string\n```\n\n### Empty Result Handling\n\n```python\ndef test_handles_empty_result():\n    \"\"\"Test that function handles empty results gracefully.\"\"\"\n    from sempy_labs import list_items\n\n    result = list_items(item_type=\"NonExistentType\")\n\n    assert isinstance(result, pd.DataFrame)\n    assert result.empty\n    # Columns should still exist even if empty\n    assert \"Id\" in result.columns\n```\n\n---\n\n## Test Organization\n\n### Grouping Related Tests\n\n```python\nclass TestWorkspaceFunctions:\n    \"\"\"Tests for workspace-related functions.\"\"\"\n\n    def test_list_workspaces(self):\n        \"\"\"Test listing workspaces.\"\"\"\n        pass\n\n    def test_resolve_workspace_id(self):\n        \"\"\"Test resolving workspace ID.\"\"\"\n        pass\n\n    def test_resolve_workspace_name(self):\n        \"\"\"Test resolving workspace name.\"\"\"\n        pass\n\n\nclass TestHelperFunctions:\n    \"\"\"Tests for helper utility functions.\"\"\"\n\n    def test_is_valid_uuid(self):\n        \"\"\"Test UUID validation.\"\"\"\n        pass\n\n    def test_create_dataframe(self):\n        \"\"\"Test DataFrame creation helper.\"\"\"\n        pass\n```\n\n---\n\n## Best Practices\n\n### Do's\n\n- ✅ Use descriptive test names\n- ✅ Test one thing per test function\n- ✅ Include docstrings explaining what's being tested\n- ✅ Use fixtures for reusable setup\n- ✅ Test both success and failure cases\n- ✅ Mock external dependencies when needed\n\n### Don'ts\n\n- ❌ Don't test multiple behaviors in one test\n- ❌ Don't rely on external services in unit tests\n- ❌ Don't use hardcoded secrets or credentials\n- ❌ Don't write tests that depend on test execution order\n- ❌ Don't ignore flaky tests - fix them\n\n---\n\n## Pre-Commit Test Checklist\n\nBefore committing new tests:\n\n1. Run the tests locally:\n   ```bash\n   pytest -sv tests\u002F -k my_new_test\n   ```\n\n2. Verify tests pass consistently (run multiple times)\n\n3. Check test coverage for the new code\n\n4. Ensure tests are independent and don't rely on each other\n",{"name":5,"description":7},"main","2ddf46109c1209ceffa88149f4631e7b2275f9a1",".claude\u002Fskills\u002Fwrite-tests",204,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-13 04:54:42",{"source":9,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add microsoft\u002Fsemantic-link-labs --skill write-tests",{"tool":64,"command":65},"bunx","bunx skills add microsoft\u002Fsemantic-link-labs --skill write-tests",{"tool":67,"command":68},"pnpm","pnpm dlx skills add microsoft\u002Fsemantic-link-labs --skill write-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwrite-tests\u002FSKILL.md",true,[],[73,104,129,146,164,187],{"skillNo":74,"name":75,"nameZh":76,"description":77,"descriptionZh":78,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":79,"categories":80,"keywords":87,"publishedAt":44},"01M699GGVJHWCJNW68P08VWCMA","ui-styling","UI 视觉样式设计","Guide for the visual style, structure, and shared building blocks used by Semantic Link Labs interactive UI tools (HTML widgets and anywidget-based widgets). Use this when adding a new interactive UI, modifying an existing one, or adding shared visual components.","关于 Semantic Link Labs 交互式 UI 工具（HTML 小部件和基于 anywidget 的小部件）所使用的视觉风格、结构和共享构建块的指南。在添加新的交互式 UI、修改现有 UI 或添加共享视觉组件时使用此技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fui-styling\u002FSKILL.md",[81,84],{"categoryNo":82,"categoryName":83,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":85,"categoryName":86,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[88,89,90,91,42,92,93,94,95,96,97,43,98,99,38,39,100,101,102,103],"ui styling","ui","styling","blocks","Existing","visual style","components","style","Tools","widgets","Building Blocks","interactive","html","shared","visual","structure",{"skillNo":105,"name":106,"nameZh":107,"description":108,"descriptionZh":109,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":110,"categories":111,"keywords":118,"publishedAt":44},"01M699GEZ3YRK8PCPVZF4NEEWF","tom-operations","TOM 表格对象模型操作","Guide for working with the TOM (Tabular Object Model) wrapper. Use this when modifying semantic models programmatically.","关于使用 TOM（表格对象模型，Tabular Object Model）包装器的指南。当以编程方式修改语义模型时使用此技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftom-operations\u002FSKILL.md",[112,115],{"categoryNo":113,"categoryName":114,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":116,"categoryName":117,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师",[119,120,121,43,122,123,124,125,39,38,126,127,42,128],"tom operations","operations","object","with","semantic","models","Wrapper","model","semantic models","tabular",{"skillNo":130,"name":131,"nameZh":132,"description":133,"descriptionZh":134,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":135,"categories":136,"keywords":141,"publishedAt":44},"01M699GCWWBZM2XFNW5PTGRFJP","sql_to_dax","SQL 转 DAX 度量值","Guide for translating SQL aggregation expressions into DAX measures.","将 SQL 聚合表达式转换为 DAX 度量值的指南。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsql_to_dax\u002FSKILL.md",[137,138],{"categoryNo":113,"categoryName":114,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":139,"categoryName":140,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[142,143,144,42,145,38],"sql","sql to dax","dax","aggregation",{"skillNo":147,"name":148,"nameZh":149,"description":150,"descriptionZh":151,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":152,"categories":153,"keywords":156,"publishedAt":44},"01M699GAY10VVK66E4QGT94A93","run-tests","pytest 测试运行","Guide for running pytest tests locally. Use this when running tests to verify code changes.","本地运行 pytest 测试的指南。在运行测试以验证代码更改时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frun-tests\u002FSKILL.md",[154,155],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[33,157,158,159,160,37,38,39,161,42,162,43,163],"run","run tests","code","running tests","pytest","changes","running",{"skillNo":165,"name":166,"nameZh":167,"description":168,"descriptionZh":169,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":170,"categories":171,"keywords":176,"publishedAt":44},"01M699G8V718EXYE8BR7NX734G","rest-api-patterns","REST API 封装实现","Guide for implementing REST API wrapper functions. Use this when adding new API wrappers or troubleshooting API calls.","实现 REST API 包装函数的指南。在添加新的 API 包装器或排查 API 调用问题时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frest-api-patterns\u002FSKILL.md",[172,173],{"categoryNo":82,"categoryName":83,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":174,"categoryName":175,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[177,178,179,180,181,182,183,125,39,38,184,185,186,42,43],"patterns","rest api","api","api patterns","REST","rest api patterns","functions","troubleshooting","calls","implementing",{"skillNo":188,"name":189,"nameZh":190,"description":191,"descriptionZh":192,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":193,"categories":194,"keywords":197,"publishedAt":44},"01M699G6XY1WTG7ESA1Y7YYCKT","query-builder-dax","DAX 查询构建器指南","Guide for the DAX query shape produced by the Query Builder in the DAX test widget. Use this when modifying how the Query Builder generates DAX, or when generating an EVALUATE query from columns, measures, filters and sorting.","关于 DAX 测试小部件中查询构建器生成的 DAX 查询形状的指南。当需要修改查询构建器生成 DAX 的方式，或从列、度量值、筛选器和排序生成 EVALUATE 查询时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fquery-builder-dax\u002FSKILL.md",[195,196],{"categoryNo":113,"categoryName":114,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":139,"categoryName":140,"taxonomyType":23,"taxonomyTypeDesc":24},[144,198,199,200,201,202,203,43,204,42,205,206,207,208,39,38,209],"query builder","query builder dax","builder","query","test","sorting","evaluate","columns","widget","filters","shape","how"]