[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699GKE0WWT6YVHBS06KM8AH":3,"skill-same:01M699GKE0WWT6YVHBS06KM8AH":73},{"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":31,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M699GKE0WWT6YVHBS06KM8AH","write-tests",null,"Guide for writing unit tests. Use this when creating tests to verify Python logic.","microsoft\u002Fsemantic-link-labs","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699FKMT63C17BFNH8WHZN2K",600,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwrite-tests\u002FSKILL.md",[18,23,26],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":27,"categoryName":28,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[32,33,34,35,36,37,38,39,40,41,42,43,44],"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":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add microsoft\u002Fsemantic-link-labs --skill write-tests",{"tool":65,"command":66},"bunx","bunx skills add microsoft\u002Fsemantic-link-labs --skill write-tests",{"tool":68,"command":69},"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,[],[74,106,123,140,154,175],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":89,"publishedAt":45},"01M699GGVJHWCJNW68P08VWCMA","ui-styling","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fui-styling\u002FSKILL.md",[80,83,86],{"categoryNo":81,"categoryName":82,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":84,"categoryName":85,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":87,"categoryName":88,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000032","设计师",[90,91,92,93,43,94,95,96,97,98,99,44,100,101,39,40,102,103,104,105],"ui styling","ui","styling","blocks","Existing","visual style","components","style","Tools","widgets","Building Blocks","interactive","html","shared","visual","structure",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":45},"01M699GEZ3YRK8PCPVZF4NEEWF","tom-operations","Guide for working with the TOM (Tabular Object Model) wrapper. Use this when modifying semantic models programmatically.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftom-operations\u002FSKILL.md",[],[113,114,115,44,116,117,118,119,40,39,120,121,43,122],"tom operations","operations","object","with","semantic","models","Wrapper","model","semantic models","tabular",{"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":135,"publishedAt":45},"01M699GCWWBZM2XFNW5PTGRFJP","sql_to_dax","Guide for translating SQL aggregation expressions into DAX measures.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsql_to_dax\u002FSKILL.md",[129,132],{"categoryNo":130,"categoryName":131,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":133,"categoryName":134,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000033","数据分析师",[136,137,138,43,139,39],"sql","sql to dax","dax","aggregation",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":45},"01M699GAY10VVK66E4QGT94A93","run-tests","Guide for running pytest tests locally. Use this when running tests to verify code changes.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frun-tests\u002FSKILL.md",[],[34,147,148,149,150,38,39,40,151,43,152,44,153],"run","run tests","code","running tests","pytest","changes","running",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":164,"publishedAt":45},"01M699G8V718EXYE8BR7NX734G","rest-api-patterns","Guide for implementing REST API wrapper functions. Use this when adding new API wrappers or troubleshooting API calls.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frest-api-patterns\u002FSKILL.md",[160,161],{"categoryNo":130,"categoryName":131,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":162,"categoryName":163,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000030","开发工程师",[165,166,167,168,169,170,171,119,40,39,172,173,174,43,44],"patterns","rest api","api","api patterns","REST","rest api patterns","functions","troubleshooting","calls","implementing",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":45},"01M699G6XY1WTG7ESA1Y7YYCKT","query-builder-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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fquery-builder-dax\u002FSKILL.md",[],[138,182,183,184,185,186,187,44,188,43,189,190,191,192,40,39,193],"query builder","query builder dax","builder","query","test","sorting","evaluate","columns","widget","filters","shape","how"]