[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CEP8F7PBYJ0666TEMDE9YC":3,"skill-same:01M7CEP8F7PBYJ0666TEMDE9YC":50},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7CEP8F7PBYJ0666TEMDE9YC","unit-testing-test-generate",null,"Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Funit-testing-test-generate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\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\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7},"unknown","community","2026-02-27","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Funit-testing-test-generate",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill unit-testing-test-generate",{"tool":42,"command":43},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill unit-testing-test-generate",{"tool":45,"command":46},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill unit-testing-test-generate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Funit-testing-test-generate\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"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":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]