[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71A7WKZGASQE2YCBBJHCFXK":3,"skill-same:01M71A7WKZGASQE2YCBBJHCFXK":67},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":14,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M71A7WKZGASQE2YCBBJHCFXK","unit-testing-test-generate",null,"Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Funit-testing-test-generate\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"test","unit","unit testing test generate","unit testing","generate","testing","edge","coverage","community","unit tests","focus","across","tests","case","with","unknown","2026","2026-11-10 10:12:30",false,"---\nname: unit-testing-test-generate\ndescription: \"Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.\"\nrisk: unknown\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Automated Unit Test Generation\n\nYou are a test automation expert specializing in generating comprehensive, maintainable unit tests across multiple languages and frameworks. Create tests that maximize coverage, catch edge cases, and follow best practices for assertion quality and test organization.\n\n## Use this skill when\n\n- You need unit tests for existing code\n- You want consistent test structure and coverage\n- You need mocks, fixtures, and edge-case validation\n\n## Do not use this skill when\n\n- You only need integration or E2E tests\n- You cannot access the source code under test\n- Tests must be hand-written for compliance reasons\n\n## Context\n\nThe user needs automated test generation that analyzes code structure, identifies test scenarios, and creates high-quality unit tests with proper mocking, assertions, and edge case coverage. Focus on framework-specific patterns and maintainable test suites.\n\n## Requirements\n\n$ARGUMENTS\n\n## Instructions\n\n### 1. Analyze Code for Test Generation\n\nScan codebase to identify untested code and generate comprehensive test suites:\n\n```python\nimport ast\nfrom pathlib import Path\nfrom typing import Dict, List, Any\n\nclass TestGenerator:\n    def __init__(self, language: str):\n        self.language = language\n        self.framework_map = {\n            'python': 'pytest',\n            'javascript': 'jest',\n            'typescript': 'jest',\n            'java': 'junit',\n            'go': 'testing'\n        }\n\n    def analyze_file(self, file_path: str) -> Dict[str, Any]:\n        \"\"\"Extract testable units from source file\"\"\"\n        if self.language == 'python':\n            return self._analyze_python(file_path)\n        elif self.language in ['javascript', 'typescript']:\n            return self._analyze_javascript(file_path)\n\n    def _analyze_python(self, file_path: str) -> Dict:\n        with open(file_path) as f:\n            tree = ast.parse(f.read())\n\n        functions = []\n        classes = []\n\n        for node in ast.walk(tree):\n            if isinstance(node, ast.FunctionDef):\n                functions.append({\n                    'name': node.name,\n                    'args': [arg.arg for arg in node.args.args],\n                    'returns': ast.unparse(node.returns) if node.returns else None,\n                    'decorators': [ast.unparse(d) for d in node.decorator_list],\n                    'docstring': ast.get_docstring(node),\n                    'complexity': self._calculate_complexity(node)\n                })\n            elif isinstance(node, ast.ClassDef):\n                methods = [n.name for n in node.body if isinstance(n, ast.FunctionDef)]\n                classes.append({\n                    'name': node.name,\n                    'methods': methods,\n                    'bases': [ast.unparse(base) for base in node.bases]\n                })\n\n        return {'functions': functions, 'classes': classes, 'file': file_path}\n```\n\n### 2. Generate Python Tests with pytest\n\n```python\ndef generate_pytest_tests(self, analysis: Dict) -> str:\n    \"\"\"Generate pytest test file from code analysis\"\"\"\n    tests = ['import pytest', 'from unittest.mock import Mock, patch', '']\n\n    module_name = Path(analysis['file']).stem\n    tests.append(f\"from {module_name} import *\\n\")\n\n    for func in analysis['functions']:\n        if func['name'].startswith('_'):\n            continue\n\n        test_class = self._generate_function_tests(func)\n        tests.append(test_class)\n\n    for cls in analysis['classes']:\n        test_class = self._generate_class_tests(cls)\n        tests.append(test_class)\n\n    return '\\n'.join(tests)\n\ndef _generate_function_tests(self, func: Dict) -> str:\n    \"\"\"Generate test cases for a function\"\"\"\n    func_name = func['name']\n    tests = [f\"\\n\\nclass Test{func_name.title()}:\"]\n\n    # Happy path test\n    tests.append(f\"    def test_{func_name}_success(self):\")\n    tests.append(f\"        result = {func_name}({self._generate_mock_args(func['args'])})\")\n    tests.append(f\"        assert result is not None\\n\")\n\n    # Edge case tests\n    if len(func['args']) > 0:\n        tests.append(f\"    def test_{func_name}_with_empty_input(self):\")\n        tests.append(f\"        with pytest.raises((ValueError, TypeError)):\")\n        tests.append(f\"            {func_name}({self._generate_empty_args(func['args'])})\\n\")\n\n    # Exception handling test\n    tests.append(f\"    def test_{func_name}_handles_errors(self):\")\n    tests.append(f\"        with pytest.raises(Exception):\")\n    tests.append(f\"            {func_name}({self._generate_invalid_args(func['args'])})\\n\")\n\n    return '\\n'.join(tests)\n\ndef _generate_class_tests(self, cls: Dict) -> str:\n    \"\"\"Generate test cases for a class\"\"\"\n    tests = [f\"\\n\\nclass Test{cls['name']}:\"]\n    tests.append(f\"    @pytest.fixture\")\n    tests.append(f\"    def instance(self):\")\n    tests.append(f\"        return {cls['name']}()\\n\")\n\n    for method in cls['methods']:\n        if method.startswith('_') and method != '__init__':\n            continue\n\n        tests.append(f\"    def test_{method}(self, instance):\")\n        tests.append(f\"        result = instance.{method}()\")\n        tests.append(f\"        assert result is not None\\n\")\n\n    return '\\n'.join(tests)\n```\n\n### 3. Generate JavaScript\u002FTypeScript Tests with Jest\n\n```typescript\ninterface TestCase {\n  name: string;\n  setup?: string;\n  execution: string;\n  assertions: string[];\n}\n\nclass JestTestGenerator {\n  generateTests(functionName: string, params: string[]): string {\n    const tests: TestCase[] = [\n      {\n        name: `${functionName} returns expected result with valid input`,\n        execution: `const result = ${functionName}(${this.generateMockParams(params)})`,\n        assertions: ['expect(result).toBeDefined()', 'expect(result).not.toBeNull()']\n      },\n      {\n        name: `${functionName} handles null input gracefully`,\n        execution: `const result = ${functionName}(null)`,\n        assertions: ['expect(result).toBeDefined()']\n      },\n      {\n        name: `${functionName} throws error for invalid input`,\n        execution: `() => ${functionName}(undefined)`,\n        assertions: ['expect(execution).toThrow()']\n      }\n    ];\n\n    return this.formatJestSuite(functionName, tests);\n  }\n\n  formatJestSuite(name: string, cases: TestCase[]): string {\n    let output = `describe('${name}', () => {\\n`;\n\n    for (const testCase of cases) {\n      output += `  it('${testCase.name}', () => {\\n`;\n      if (testCase.setup) {\n        output += `    ${testCase.setup}\\n`;\n      }\n      output += `    const execution = ${testCase.execution};\\n`;\n      for (const assertion of testCase.assertions) {\n        output += `    ${assertion};\\n`;\n      }\n      output += `  });\\n\\n`;\n    }\n\n    output += '});\\n';\n    return output;\n  }\n\n  generateMockParams(params: string[]): string {\n    return params.map(p => `mock${p.charAt(0).toUpperCase() + p.slice(1)}`).join(', ');\n  }\n}\n```\n\n### 4. Generate React Component Tests\n\n```typescript\nfunction generateReactComponentTest(componentName: string): string {\n  return `\nimport { render, screen, fireEvent } from '@testing-library\u002Freact';\nimport { ${componentName} } from '.\u002F${componentName}';\n\ndescribe('${componentName}', () => {\n  it('renders without crashing', () => {\n    render(\u003C${componentName} \u002F>);\n    expect(screen.getByRole('main')).toBeInTheDocument();\n  });\n\n  it('displays correct initial state', () => {\n    render(\u003C${componentName} \u002F>);\n    const element = screen.getByTestId('${componentName.toLowerCase()}');\n    expect(element).toBeVisible();\n  });\n\n  it('handles user interaction', () => {\n    render(\u003C${componentName} \u002F>);\n    const button = screen.getByRole('button');\n    fireEvent.click(button);\n    expect(screen.getByText(\u002Fclicked\u002Fi)).toBeInTheDocument();\n  });\n\n  it('updates props correctly', () => {\n    const { rerender } = render(\u003C${componentName} value=\"initial\" \u002F>);\n    expect(screen.getByText('initial')).toBeInTheDocument();\n\n    rerender(\u003C${componentName} value=\"updated\" \u002F>);\n    expect(screen.getByText('updated')).toBeInTheDocument();\n  });\n});\n`;\n}\n```\n\n### 5. Coverage Analysis and Gap Detection\n\n```python\nimport subprocess\nimport json\n\nclass CoverageAnalyzer:\n    def analyze_coverage(self, test_command: str) -> Dict:\n        \"\"\"Run tests with coverage and identify gaps\"\"\"\n        result = subprocess.run(\n            [test_command, '--coverage', '--json'],\n            capture_output=True,\n            text=True\n        )\n\n        coverage_data = json.loads(result.stdout)\n        gaps = self.identify_coverage_gaps(coverage_data)\n\n        return {\n            'overall_coverage': coverage_data.get('totals', {}).get('percent_covered', 0),\n            'uncovered_lines': gaps,\n            'files_below_threshold': self.find_low_coverage_files(coverage_data, 80)\n        }\n\n    def identify_coverage_gaps(self, coverage: Dict) -> List[Dict]:\n        \"\"\"Find specific lines\u002Ffunctions without test coverage\"\"\"\n        gaps = []\n        for file_path, data in coverage.get('files', {}).items():\n            missing_lines = data.get('missing_lines', [])\n            if missing_lines:\n                gaps.append({\n                    'file': file_path,\n                    'lines': missing_lines,\n                    'functions': data.get('excluded_lines', [])\n                })\n        return gaps\n\n    def generate_tests_for_gaps(self, gaps: List[Dict]) -> str:\n        \"\"\"Generate tests specifically for uncovered code\"\"\"\n        tests = []\n        for gap in gaps:\n            test_code = self.create_targeted_test(gap)\n            tests.append(test_code)\n        return '\\n\\n'.join(tests)\n```\n\n### 6. Mock Generation\n\n```python\ndef generate_mock_objects(self, dependencies: List[str]) -> str:\n    \"\"\"Generate mock objects for external dependencies\"\"\"\n    mocks = ['from unittest.mock import Mock, MagicMock, patch\\n']\n\n    for dep in dependencies:\n        mocks.append(f\"@pytest.fixture\")\n        mocks.append(f\"def mock_{dep}():\")\n        mocks.append(f\"    mock = Mock(spec={dep})\")\n        mocks.append(f\"    mock.method.return_value = 'mocked_result'\")\n        mocks.append(f\"    return mock\\n\")\n\n    return '\\n'.join(mocks)\n```\n\n## Output Format\n\n1. **Test Files**: Complete test suites ready to run\n2. **Coverage Report**: Current coverage with gaps identified\n3. **Mock Objects**: Fixtures for external dependencies\n4. **Test Documentation**: Explanation of test scenarios\n5. **CI Integration**: Commands to run tests in pipeline\n\nFocus on generating maintainable, comprehensive tests that catch bugs early and provide confidence in code changes.\n","# Automated Unit Test Generation\n\nYou are a test automation expert specializing in generating comprehensive, maintainable unit tests across multiple languages and frameworks. Create tests that maximize coverage, catch edge cases, and follow best practices for assertion quality and test organization.\n\n## Use this skill when\n\n- You need unit tests for existing code\n- You want consistent test structure and coverage\n- You need mocks, fixtures, and edge-case validation\n\n## Do not use this skill when\n\n- You only need integration or E2E tests\n- You cannot access the source code under test\n- Tests must be hand-written for compliance reasons\n\n## Context\n\nThe user needs automated test generation that analyzes code structure, identifies test scenarios, and creates high-quality unit tests with proper mocking, assertions, and edge case coverage. Focus on framework-specific patterns and maintainable test suites.\n\n## Requirements\n\n$ARGUMENTS\n\n## Instructions\n\n### 1. Analyze Code for Test Generation\n\nScan codebase to identify untested code and generate comprehensive test suites:\n\n```python\nimport ast\nfrom pathlib import Path\nfrom typing import Dict, List, Any\n\nclass TestGenerator:\n    def __init__(self, language: str):\n        self.language = language\n        self.framework_map = {\n            'python': 'pytest',\n            'javascript': 'jest',\n            'typescript': 'jest',\n            'java': 'junit',\n            'go': 'testing'\n        }\n\n    def analyze_file(self, file_path: str) -> Dict[str, Any]:\n        \"\"\"Extract testable units from source file\"\"\"\n        if self.language == 'python':\n            return self._analyze_python(file_path)\n        elif self.language in ['javascript', 'typescript']:\n            return self._analyze_javascript(file_path)\n\n    def _analyze_python(self, file_path: str) -> Dict:\n        with open(file_path) as f:\n            tree = ast.parse(f.read())\n\n        functions = []\n        classes = []\n\n        for node in ast.walk(tree):\n            if isinstance(node, ast.FunctionDef):\n                functions.append({\n                    'name': node.name,\n                    'args': [arg.arg for arg in node.args.args],\n                    'returns': ast.unparse(node.returns) if node.returns else None,\n                    'decorators': [ast.unparse(d) for d in node.decorator_list],\n                    'docstring': ast.get_docstring(node),\n                    'complexity': self._calculate_complexity(node)\n                })\n            elif isinstance(node, ast.ClassDef):\n                methods = [n.name for n in node.body if isinstance(n, ast.FunctionDef)]\n                classes.append({\n                    'name': node.name,\n                    'methods': methods,\n                    'bases': [ast.unparse(base) for base in node.bases]\n                })\n\n        return {'functions': functions, 'classes': classes, 'file': file_path}\n```\n\n### 2. Generate Python Tests with pytest\n\n```python\ndef generate_pytest_tests(self, analysis: Dict) -> str:\n    \"\"\"Generate pytest test file from code analysis\"\"\"\n    tests = ['import pytest', 'from unittest.mock import Mock, patch', '']\n\n    module_name = Path(analysis['file']).stem\n    tests.append(f\"from {module_name} import *\\n\")\n\n    for func in analysis['functions']:\n        if func['name'].startswith('_'):\n            continue\n\n        test_class = self._generate_function_tests(func)\n        tests.append(test_class)\n\n    for cls in analysis['classes']:\n        test_class = self._generate_class_tests(cls)\n        tests.append(test_class)\n\n    return '\\n'.join(tests)\n\ndef _generate_function_tests(self, func: Dict) -> str:\n    \"\"\"Generate test cases for a function\"\"\"\n    func_name = func['name']\n    tests = [f\"\\n\\nclass Test{func_name.title()}:\"]\n\n    # Happy path test\n    tests.append(f\"    def test_{func_name}_success(self):\")\n    tests.append(f\"        result = {func_name}({self._generate_mock_args(func['args'])})\")\n    tests.append(f\"        assert result is not None\\n\")\n\n    # Edge case tests\n    if len(func['args']) > 0:\n        tests.append(f\"    def test_{func_name}_with_empty_input(self):\")\n        tests.append(f\"        with pytest.raises((ValueError, TypeError)):\")\n        tests.append(f\"            {func_name}({self._generate_empty_args(func['args'])})\\n\")\n\n    # Exception handling test\n    tests.append(f\"    def test_{func_name}_handles_errors(self):\")\n    tests.append(f\"        with pytest.raises(Exception):\")\n    tests.append(f\"            {func_name}({self._generate_invalid_args(func['args'])})\\n\")\n\n    return '\\n'.join(tests)\n\ndef _generate_class_tests(self, cls: Dict) -> str:\n    \"\"\"Generate test cases for a class\"\"\"\n    tests = [f\"\\n\\nclass Test{cls['name']}:\"]\n    tests.append(f\"    @pytest.fixture\")\n    tests.append(f\"    def instance(self):\")\n    tests.append(f\"        return {cls['name']}()\\n\")\n\n    for method in cls['methods']:\n        if method.startswith('_') and method != '__init__':\n            continue\n\n        tests.append(f\"    def test_{method}(self, instance):\")\n        tests.append(f\"        result = instance.{method}()\")\n        tests.append(f\"        assert result is not None\\n\")\n\n    return '\\n'.join(tests)\n```\n\n### 3. Generate JavaScript\u002FTypeScript Tests with Jest\n\n```typescript\ninterface TestCase {\n  name: string;\n  setup?: string;\n  execution: string;\n  assertions: string[];\n}\n\nclass JestTestGenerator {\n  generateTests(functionName: string, params: string[]): string {\n    const tests: TestCase[] = [\n      {\n        name: `${functionName} returns expected result with valid input`,\n        execution: `const result = ${functionName}(${this.generateMockParams(params)})`,\n        assertions: ['expect(result).toBeDefined()', 'expect(result).not.toBeNull()']\n      },\n      {\n        name: `${functionName} handles null input gracefully`,\n        execution: `const result = ${functionName}(null)`,\n        assertions: ['expect(result).toBeDefined()']\n      },\n      {\n        name: `${functionName} throws error for invalid input`,\n        execution: `() => ${functionName}(undefined)`,\n        assertions: ['expect(execution).toThrow()']\n      }\n    ];\n\n    return this.formatJestSuite(functionName, tests);\n  }\n\n  formatJestSuite(name: string, cases: TestCase[]): string {\n    let output = `describe('${name}', () => {\\n`;\n\n    for (const testCase of cases) {\n      output += `  it('${testCase.name}', () => {\\n`;\n      if (testCase.setup) {\n        output += `    ${testCase.setup}\\n`;\n      }\n      output += `    const execution = ${testCase.execution};\\n`;\n      for (const assertion of testCase.assertions) {\n        output += `    ${assertion};\\n`;\n      }\n      output += `  });\\n\\n`;\n    }\n\n    output += '});\\n';\n    return output;\n  }\n\n  generateMockParams(params: string[]): string {\n    return params.map(p => `mock${p.charAt(0).toUpperCase() + p.slice(1)}`).join(', ');\n  }\n}\n```\n\n### 4. Generate React Component Tests\n\n```typescript\nfunction generateReactComponentTest(componentName: string): string {\n  return `\nimport { render, screen, fireEvent } from '@testing-library\u002Freact';\nimport { ${componentName} } from '.\u002F${componentName}';\n\ndescribe('${componentName}', () => {\n  it('renders without crashing', () => {\n    render(\u003C${componentName} \u002F>);\n    expect(screen.getByRole('main')).toBeInTheDocument();\n  });\n\n  it('displays correct initial state', () => {\n    render(\u003C${componentName} \u002F>);\n    const element = screen.getByTestId('${componentName.toLowerCase()}');\n    expect(element).toBeVisible();\n  });\n\n  it('handles user interaction', () => {\n    render(\u003C${componentName} \u002F>);\n    const button = screen.getByRole('button');\n    fireEvent.click(button);\n    expect(screen.getByText(\u002Fclicked\u002Fi)).toBeInTheDocument();\n  });\n\n  it('updates props correctly', () => {\n    const { rerender } = render(\u003C${componentName} value=\"initial\" \u002F>);\n    expect(screen.getByText('initial')).toBeInTheDocument();\n\n    rerender(\u003C${componentName} value=\"updated\" \u002F>);\n    expect(screen.getByText('updated')).toBeInTheDocument();\n  });\n});\n`;\n}\n```\n\n### 5. Coverage Analysis and Gap Detection\n\n```python\nimport subprocess\nimport json\n\nclass CoverageAnalyzer:\n    def analyze_coverage(self, test_command: str) -> Dict:\n        \"\"\"Run tests with coverage and identify gaps\"\"\"\n        result = subprocess.run(\n            [test_command, '--coverage', '--json'],\n            capture_output=True,\n            text=True\n        )\n\n        coverage_data = json.loads(result.stdout)\n        gaps = self.identify_coverage_gaps(coverage_data)\n\n        return {\n            'overall_coverage': coverage_data.get('totals', {}).get('percent_covered', 0),\n            'uncovered_lines': gaps,\n            'files_below_threshold': self.find_low_coverage_files(coverage_data, 80)\n        }\n\n    def identify_coverage_gaps(self, coverage: Dict) -> List[Dict]:\n        \"\"\"Find specific lines\u002Ffunctions without test coverage\"\"\"\n        gaps = []\n        for file_path, data in coverage.get('files', {}).items():\n            missing_lines = data.get('missing_lines', [])\n            if missing_lines:\n                gaps.append({\n                    'file': file_path,\n                    'lines': missing_lines,\n                    'functions': data.get('excluded_lines', [])\n                })\n        return gaps\n\n    def generate_tests_for_gaps(self, gaps: List[Dict]) -> str:\n        \"\"\"Generate tests specifically for uncovered code\"\"\"\n        tests = []\n        for gap in gaps:\n            test_code = self.create_targeted_test(gap)\n            tests.append(test_code)\n        return '\\n\\n'.join(tests)\n```\n\n### 6. Mock Generation\n\n```python\ndef generate_mock_objects(self, dependencies: List[str]) -> str:\n    \"\"\"Generate mock objects for external dependencies\"\"\"\n    mocks = ['from unittest.mock import Mock, MagicMock, patch\\n']\n\n    for dep in dependencies:\n        mocks.append(f\"@pytest.fixture\")\n        mocks.append(f\"def mock_{dep}():\")\n        mocks.append(f\"    mock = Mock(spec={dep})\")\n        mocks.append(f\"    mock.method.return_value = 'mocked_result'\")\n        mocks.append(f\"    return mock\\n\")\n\n    return '\\n'.join(mocks)\n```\n\n## Output Format\n\n1. **Test Files**: Complete test suites ready to run\n2. **Coverage Report**: Current coverage with gaps identified\n3. **Mock Objects**: Fixtures for external dependencies\n4. **Test Documentation**: Explanation of test scenarios\n5. **CI Integration**: Commands to run tests in pipeline\n\nFocus on generating maintainable, comprehensive tests that catch bugs early and provide confidence in code changes.\n",{"name":5,"risk":39,"source":32,"date_added":46,"description":7},"2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fglobal\u002Funit-testing-test-generate","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill unit-testing-test-generate",{"tool":59,"command":60},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill unit-testing-test-generate",{"tool":62,"command":63},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill unit-testing-test-generate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Funit-testing-test-generate\u002FSKILL.md",true,[],[68,91,116,126,139,156],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":79,"publishedAt":41},"01M71ATQRKG48SH06FQ697T5G9","wechat-search","Search WeChat Official Account articles using OpenClaw's web search and fetch capabilities with compliance-focused design.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fwechat-search-release\u002FSKILL.md",[74],{"categoryNo":75,"categoryName":76,"taxonomyType":77,"taxonomyTypeDesc":78},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[80,81,82,83,84,85,86,87,88,89,90,38],"wechat search","wechat","search","capabilities","openclaw","design","web search","compliance","web","official","fetch",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":41},"01M71ATNAVGZB35PFYM2GC5N00","trend-tap","Real-time trending topics aggregator across 7 platforms (X\u002FTwitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend tap', '热点', '热搜', or asks what is trending\u002Fhot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftrend-tap\u002FSKILL.md",[],[98,99,100,101,102,103,82,104,105,106,107,108,109,110,111,112,113,114,35,115],"trend","trend tap","tap","api keys","Bash","time","trending","hacker","aggregator","do","when","brew","live","data","google","install","read","api",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":41},"01M71ATJ9AM5KM15AA8PS302EB","trend-radar","Real-time trending topics aggregator across 7 platforms (X\u002FTwitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend pulse', '热点', '热搜', or asks what is trending\u002Fhot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftrend-radar\u002FSKILL.md",[],[123,124,98,109,110,111,112,102,82,114,125,35,115,108,106,105,104,113,103,101],"trend radar","radar","pulse",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":41},"01M71ATGF095N3EJM9G8SD0BB5","tech-news-daily","每日科技新闻汇——从全球多个 RSS 源抓取最新科技新闻，翻译（英→中）、去重、排版成每日简报。当用户询问科技新闻、科技新鲜事、每日科技、技术动态、Daily Tech News 或类似表达时触发此技能。","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftech-news-daily\u002FSKILL.md",[],[133,134,135,136,137,138],"news","tech","tech news daily","daily","rss","翻译",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":148,"publishedAt":41},"01M71ATFAEAMQ17M70NQNY7SR8","summarize","Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fsummarize\u002FSKILL.md",[145],{"categoryNo":146,"categoryName":147,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",[141,88,149,150,151,38,109,152,153,154,100,155,113],"Audio","cli","youtube","images","https","files","pdfs",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":41},"01M71ATDNS3R0M4H936PACQAWZ","sonoscli","Control Sonos speakers (discover\u002Fstatus\u002Fplay\u002Fvolume\u002Fgroup).","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fsonoscli\u002FSKILL.md",[],[158,163,164,165,113,166,153,167,168,169,170,171],"status","play","go","latest","github","discover","control","cmd","volume"]