[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BK8MKBFQ08EFK2HAC78NAG":3,"skill-same:01M7BK8MKBFQ08EFK2HAC78NAG":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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7BK8MKBFQ08EFK2HAC78NAG","polars",null,"Fast DataFrame library (Apache Arrow). Select, filter, group_by, joins, lazy evaluation, CSV\u002FParquet I\u002FO, expression API, for high-performance data analysis workflows.","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-AI-应用工具\u002FYYC3-AI-应用工具-claude-code-templates-main\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpolars\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: polars\ndescription: \"Fast DataFrame library (Apache Arrow). Select, filter, group_by, joins, lazy evaluation, CSV\u002FParquet I\u002FO, expression API, for high-performance data analysis workflows.\"\n---\n\n# Polars\n\n## Overview\n\nPolars is a lightning-fast DataFrame library for Python and Rust built on Apache Arrow. Work with Polars' expression-based API, lazy evaluation framework, and high-performance data manipulation capabilities for efficient data processing, pandas migration, and data pipeline optimization.\n\n## Quick Start\n\n### Installation and Basic Usage\n\nInstall Polars:\n```python\nuv pip install polars\n```\n\nBasic DataFrame creation and operations:\n```python\nimport polars as pl\n\n# Create DataFrame\ndf = pl.DataFrame({\n    \"name\": [\"Alice\", \"Bob\", \"Charlie\"],\n    \"age\": [25, 30, 35],\n    \"city\": [\"NY\", \"LA\", \"SF\"]\n})\n\n# Select columns\ndf.select(\"name\", \"age\")\n\n# Filter rows\ndf.filter(pl.col(\"age\") > 25)\n\n# Add computed columns\ndf.with_columns(\n    age_plus_10=pl.col(\"age\") + 10\n)\n```\n\n## Core Concepts\n\n### Expressions\n\nExpressions are the fundamental building blocks of Polars operations. They describe transformations on data and can be composed, reused, and optimized.\n\n**Key principles:**\n- Use `pl.col(\"column_name\")` to reference columns\n- Chain methods to build complex transformations\n- Expressions are lazy and only execute within contexts (select, with_columns, filter, group_by)\n\n**Example:**\n```python\n# Expression-based computation\ndf.select(\n    pl.col(\"name\"),\n    (pl.col(\"age\") * 12).alias(\"age_in_months\")\n)\n```\n\n### Lazy vs Eager Evaluation\n\n**Eager (DataFrame):** Operations execute immediately\n```python\ndf = pl.read_csv(\"file.csv\")  # Reads immediately\nresult = df.filter(pl.col(\"age\") > 25)  # Executes immediately\n```\n\n**Lazy (LazyFrame):** Operations build a query plan, optimized before execution\n```python\nlf = pl.scan_csv(\"file.csv\")  # Doesn't read yet\nresult = lf.filter(pl.col(\"age\") > 25).select(\"name\", \"age\")\ndf = result.collect()  # Now executes optimized query\n```\n\n**When to use lazy:**\n- Working with large datasets\n- Complex query pipelines\n- When only some columns\u002Frows are needed\n- Performance is critical\n\n**Benefits of lazy evaluation:**\n- Automatic query optimization\n- Predicate pushdown\n- Projection pushdown\n- Parallel execution\n\nFor detailed concepts, load `references\u002Fcore_concepts.md`.\n\n## Common Operations\n\n### Select\nSelect and manipulate columns:\n```python\n# Select specific columns\ndf.select(\"name\", \"age\")\n\n# Select with expressions\ndf.select(\n    pl.col(\"name\"),\n    (pl.col(\"age\") * 2).alias(\"double_age\")\n)\n\n# Select all columns matching a pattern\ndf.select(pl.col(\"^.*_id$\"))\n```\n\n### Filter\nFilter rows by conditions:\n```python\n# Single condition\ndf.filter(pl.col(\"age\") > 25)\n\n# Multiple conditions (cleaner than using &)\ndf.filter(\n    pl.col(\"age\") > 25,\n    pl.col(\"city\") == \"NY\"\n)\n\n# Complex conditions\ndf.filter(\n    (pl.col(\"age\") > 25) | (pl.col(\"city\") == \"LA\")\n)\n```\n\n### With Columns\nAdd or modify columns while preserving existing ones:\n```python\n# Add new columns\ndf.with_columns(\n    age_plus_10=pl.col(\"age\") + 10,\n    name_upper=pl.col(\"name\").str.to_uppercase()\n)\n\n# Parallel computation (all columns computed in parallel)\ndf.with_columns(\n    pl.col(\"value\") * 10,\n    pl.col(\"value\") * 100,\n)\n```\n\n### Group By and Aggregations\nGroup data and compute aggregations:\n```python\n# Basic grouping\ndf.group_by(\"city\").agg(\n    pl.col(\"age\").mean().alias(\"avg_age\"),\n    pl.len().alias(\"count\")\n)\n\n# Multiple group keys\ndf.group_by(\"city\", \"department\").agg(\n    pl.col(\"salary\").sum()\n)\n\n# Conditional aggregations\ndf.group_by(\"city\").agg(\n    (pl.col(\"age\") > 30).sum().alias(\"over_30\")\n)\n```\n\nFor detailed operation patterns, load `references\u002Foperations.md`.\n\n## Aggregations and Window Functions\n\n### Aggregation Functions\nCommon aggregations within `group_by` context:\n- `pl.len()` - count rows\n- `pl.col(\"x\").sum()` - sum values\n- `pl.col(\"x\").mean()` - average\n- `pl.col(\"x\").min()` \u002F `pl.col(\"x\").max()` - extremes\n- `pl.first()` \u002F `pl.last()` - first\u002Flast values\n\n### Window Functions with `over()`\nApply aggregations while preserving row count:\n```python\n# Add group statistics to each row\ndf.with_columns(\n    avg_age_by_city=pl.col(\"age\").mean().over(\"city\"),\n    rank_in_city=pl.col(\"salary\").rank().over(\"city\")\n)\n\n# Multiple grouping columns\ndf.with_columns(\n    group_avg=pl.col(\"value\").mean().over(\"category\", \"region\")\n)\n```\n\n**Mapping strategies:**\n- `group_to_rows` (default): Preserves original row order\n- `explode`: Faster but groups rows together\n- `join`: Creates list columns\n\n## Data I\u002FO\n\n### Supported Formats\nPolars supports reading and writing:\n- CSV, Parquet, JSON, Excel\n- Databases (via connectors)\n- Cloud storage (S3, Azure, GCS)\n- Google BigQuery\n- Multiple\u002Fpartitioned files\n\n### Common I\u002FO Operations\n\n**CSV:**\n```python\n# Eager\ndf = pl.read_csv(\"file.csv\")\ndf.write_csv(\"output.csv\")\n\n# Lazy (preferred for large files)\nlf = pl.scan_csv(\"file.csv\")\nresult = lf.filter(...).select(...).collect()\n```\n\n**Parquet (recommended for performance):**\n```python\ndf = pl.read_parquet(\"file.parquet\")\ndf.write_parquet(\"output.parquet\")\n```\n\n**JSON:**\n```python\ndf = pl.read_json(\"file.json\")\ndf.write_json(\"output.json\")\n```\n\nFor comprehensive I\u002FO documentation, load `references\u002Fio_guide.md`.\n\n## Transformations\n\n### Joins\nCombine DataFrames:\n```python\n# Inner join\ndf1.join(df2, on=\"id\", how=\"inner\")\n\n# Left join\ndf1.join(df2, on=\"id\", how=\"left\")\n\n# Join on different column names\ndf1.join(df2, left_on=\"user_id\", right_on=\"id\")\n```\n\n### Concatenation\nStack DataFrames:\n```python\n# Vertical (stack rows)\npl.concat([df1, df2], how=\"vertical\")\n\n# Horizontal (add columns)\npl.concat([df1, df2], how=\"horizontal\")\n\n# Diagonal (union with different schemas)\npl.concat([df1, df2], how=\"diagonal\")\n```\n\n### Pivot and Unpivot\nReshape data:\n```python\n# Pivot (wide format)\ndf.pivot(values=\"sales\", index=\"date\", columns=\"product\")\n\n# Unpivot (long format)\ndf.unpivot(index=\"id\", on=[\"col1\", \"col2\"])\n```\n\nFor detailed transformation examples, load `references\u002Ftransformations.md`.\n\n## Pandas Migration\n\nPolars offers significant performance improvements over pandas with a cleaner API. Key differences:\n\n### Conceptual Differences\n- **No index**: Polars uses integer positions only\n- **Strict typing**: No silent type conversions\n- **Lazy evaluation**: Available via LazyFrame\n- **Parallel by default**: Operations parallelized automatically\n\n### Common Operation Mappings\n\n| Operation | Pandas | Polars |\n|-----------|--------|--------|\n| Select column | `df[\"col\"]` | `df.select(\"col\")` |\n| Filter | `df[df[\"col\"] > 10]` | `df.filter(pl.col(\"col\") > 10)` |\n| Add column | `df.assign(x=...)` | `df.with_columns(x=...)` |\n| Group by | `df.groupby(\"col\").agg(...)` | `df.group_by(\"col\").agg(...)` |\n| Window | `df.groupby(\"col\").transform(...)` | `df.with_columns(...).over(\"col\")` |\n\n### Key Syntax Patterns\n\n**Pandas sequential (slow):**\n```python\ndf.assign(\n    col_a=lambda df_: df_.value * 10,\n    col_b=lambda df_: df_.value * 100\n)\n```\n\n**Polars parallel (fast):**\n```python\ndf.with_columns(\n    col_a=pl.col(\"value\") * 10,\n    col_b=pl.col(\"value\") * 100,\n)\n```\n\nFor comprehensive migration guide, load `references\u002Fpandas_migration.md`.\n\n## Best Practices\n\n### Performance Optimization\n\n1. **Use lazy evaluation for large datasets:**\n   ```python\n   lf = pl.scan_csv(\"large.csv\")  # Don't use read_csv\n   result = lf.filter(...).select(...).collect()\n   ```\n\n2. **Avoid Python functions in hot paths:**\n   - Stay within expression API for parallelization\n   - Use `.map_elements()` only when necessary\n   - Prefer native Polars operations\n\n3. **Use streaming for very large data:**\n   ```python\n   lf.collect(streaming=True)\n   ```\n\n4. **Select only needed columns early:**\n   ```python\n   # Good: Select columns early\n   lf.select(\"col1\", \"col2\").filter(...)\n\n   # Bad: Filter on all columns first\n   lf.filter(...).select(\"col1\", \"col2\")\n   ```\n\n5. **Use appropriate data types:**\n   - Categorical for low-cardinality strings\n   - Appropriate integer sizes (i32 vs i64)\n   - Date types for temporal data\n\n### Expression Patterns\n\n**Conditional operations:**\n```python\npl.when(condition).then(value).otherwise(other_value)\n```\n\n**Column operations across multiple columns:**\n```python\ndf.select(pl.col(\"^.*_value$\") * 2)  # Regex pattern\n```\n\n**Null handling:**\n```python\npl.col(\"x\").fill_null(0)\npl.col(\"x\").is_null()\npl.col(\"x\").drop_nulls()\n```\n\nFor additional best practices and patterns, load `references\u002Fbest_practices.md`.\n\n## Resources\n\nThis skill includes comprehensive reference documentation:\n\n### references\u002F\n- `core_concepts.md` - Detailed explanations of expressions, lazy evaluation, and type system\n- `operations.md` - Comprehensive guide to all common operations with examples\n- `pandas_migration.md` - Complete migration guide from pandas to Polars\n- `io_guide.md` - Data I\u002FO operations for all supported formats\n- `transformations.md` - Joins, concatenation, pivots, and reshaping operations\n- `best_practices.md` - Performance optimization tips and common patterns\n\nLoad these references as needed when users require detailed information about specific topics.\n","# Polars\n\n## Overview\n\nPolars is a lightning-fast DataFrame library for Python and Rust built on Apache Arrow. Work with Polars' expression-based API, lazy evaluation framework, and high-performance data manipulation capabilities for efficient data processing, pandas migration, and data pipeline optimization.\n\n## Quick Start\n\n### Installation and Basic Usage\n\nInstall Polars:\n```python\nuv pip install polars\n```\n\nBasic DataFrame creation and operations:\n```python\nimport polars as pl\n\n# Create DataFrame\ndf = pl.DataFrame({\n    \"name\": [\"Alice\", \"Bob\", \"Charlie\"],\n    \"age\": [25, 30, 35],\n    \"city\": [\"NY\", \"LA\", \"SF\"]\n})\n\n# Select columns\ndf.select(\"name\", \"age\")\n\n# Filter rows\ndf.filter(pl.col(\"age\") > 25)\n\n# Add computed columns\ndf.with_columns(\n    age_plus_10=pl.col(\"age\") + 10\n)\n```\n\n## Core Concepts\n\n### Expressions\n\nExpressions are the fundamental building blocks of Polars operations. They describe transformations on data and can be composed, reused, and optimized.\n\n**Key principles:**\n- Use `pl.col(\"column_name\")` to reference columns\n- Chain methods to build complex transformations\n- Expressions are lazy and only execute within contexts (select, with_columns, filter, group_by)\n\n**Example:**\n```python\n# Expression-based computation\ndf.select(\n    pl.col(\"name\"),\n    (pl.col(\"age\") * 12).alias(\"age_in_months\")\n)\n```\n\n### Lazy vs Eager Evaluation\n\n**Eager (DataFrame):** Operations execute immediately\n```python\ndf = pl.read_csv(\"file.csv\")  # Reads immediately\nresult = df.filter(pl.col(\"age\") > 25)  # Executes immediately\n```\n\n**Lazy (LazyFrame):** Operations build a query plan, optimized before execution\n```python\nlf = pl.scan_csv(\"file.csv\")  # Doesn't read yet\nresult = lf.filter(pl.col(\"age\") > 25).select(\"name\", \"age\")\ndf = result.collect()  # Now executes optimized query\n```\n\n**When to use lazy:**\n- Working with large datasets\n- Complex query pipelines\n- When only some columns\u002Frows are needed\n- Performance is critical\n\n**Benefits of lazy evaluation:**\n- Automatic query optimization\n- Predicate pushdown\n- Projection pushdown\n- Parallel execution\n\nFor detailed concepts, load `references\u002Fcore_concepts.md`.\n\n## Common Operations\n\n### Select\nSelect and manipulate columns:\n```python\n# Select specific columns\ndf.select(\"name\", \"age\")\n\n# Select with expressions\ndf.select(\n    pl.col(\"name\"),\n    (pl.col(\"age\") * 2).alias(\"double_age\")\n)\n\n# Select all columns matching a pattern\ndf.select(pl.col(\"^.*_id$\"))\n```\n\n### Filter\nFilter rows by conditions:\n```python\n# Single condition\ndf.filter(pl.col(\"age\") > 25)\n\n# Multiple conditions (cleaner than using &)\ndf.filter(\n    pl.col(\"age\") > 25,\n    pl.col(\"city\") == \"NY\"\n)\n\n# Complex conditions\ndf.filter(\n    (pl.col(\"age\") > 25) | (pl.col(\"city\") == \"LA\")\n)\n```\n\n### With Columns\nAdd or modify columns while preserving existing ones:\n```python\n# Add new columns\ndf.with_columns(\n    age_plus_10=pl.col(\"age\") + 10,\n    name_upper=pl.col(\"name\").str.to_uppercase()\n)\n\n# Parallel computation (all columns computed in parallel)\ndf.with_columns(\n    pl.col(\"value\") * 10,\n    pl.col(\"value\") * 100,\n)\n```\n\n### Group By and Aggregations\nGroup data and compute aggregations:\n```python\n# Basic grouping\ndf.group_by(\"city\").agg(\n    pl.col(\"age\").mean().alias(\"avg_age\"),\n    pl.len().alias(\"count\")\n)\n\n# Multiple group keys\ndf.group_by(\"city\", \"department\").agg(\n    pl.col(\"salary\").sum()\n)\n\n# Conditional aggregations\ndf.group_by(\"city\").agg(\n    (pl.col(\"age\") > 30).sum().alias(\"over_30\")\n)\n```\n\nFor detailed operation patterns, load `references\u002Foperations.md`.\n\n## Aggregations and Window Functions\n\n### Aggregation Functions\nCommon aggregations within `group_by` context:\n- `pl.len()` - count rows\n- `pl.col(\"x\").sum()` - sum values\n- `pl.col(\"x\").mean()` - average\n- `pl.col(\"x\").min()` \u002F `pl.col(\"x\").max()` - extremes\n- `pl.first()` \u002F `pl.last()` - first\u002Flast values\n\n### Window Functions with `over()`\nApply aggregations while preserving row count:\n```python\n# Add group statistics to each row\ndf.with_columns(\n    avg_age_by_city=pl.col(\"age\").mean().over(\"city\"),\n    rank_in_city=pl.col(\"salary\").rank().over(\"city\")\n)\n\n# Multiple grouping columns\ndf.with_columns(\n    group_avg=pl.col(\"value\").mean().over(\"category\", \"region\")\n)\n```\n\n**Mapping strategies:**\n- `group_to_rows` (default): Preserves original row order\n- `explode`: Faster but groups rows together\n- `join`: Creates list columns\n\n## Data I\u002FO\n\n### Supported Formats\nPolars supports reading and writing:\n- CSV, Parquet, JSON, Excel\n- Databases (via connectors)\n- Cloud storage (S3, Azure, GCS)\n- Google BigQuery\n- Multiple\u002Fpartitioned files\n\n### Common I\u002FO Operations\n\n**CSV:**\n```python\n# Eager\ndf = pl.read_csv(\"file.csv\")\ndf.write_csv(\"output.csv\")\n\n# Lazy (preferred for large files)\nlf = pl.scan_csv(\"file.csv\")\nresult = lf.filter(...).select(...).collect()\n```\n\n**Parquet (recommended for performance):**\n```python\ndf = pl.read_parquet(\"file.parquet\")\ndf.write_parquet(\"output.parquet\")\n```\n\n**JSON:**\n```python\ndf = pl.read_json(\"file.json\")\ndf.write_json(\"output.json\")\n```\n\nFor comprehensive I\u002FO documentation, load `references\u002Fio_guide.md`.\n\n## Transformations\n\n### Joins\nCombine DataFrames:\n```python\n# Inner join\ndf1.join(df2, on=\"id\", how=\"inner\")\n\n# Left join\ndf1.join(df2, on=\"id\", how=\"left\")\n\n# Join on different column names\ndf1.join(df2, left_on=\"user_id\", right_on=\"id\")\n```\n\n### Concatenation\nStack DataFrames:\n```python\n# Vertical (stack rows)\npl.concat([df1, df2], how=\"vertical\")\n\n# Horizontal (add columns)\npl.concat([df1, df2], how=\"horizontal\")\n\n# Diagonal (union with different schemas)\npl.concat([df1, df2], how=\"diagonal\")\n```\n\n### Pivot and Unpivot\nReshape data:\n```python\n# Pivot (wide format)\ndf.pivot(values=\"sales\", index=\"date\", columns=\"product\")\n\n# Unpivot (long format)\ndf.unpivot(index=\"id\", on=[\"col1\", \"col2\"])\n```\n\nFor detailed transformation examples, load `references\u002Ftransformations.md`.\n\n## Pandas Migration\n\nPolars offers significant performance improvements over pandas with a cleaner API. Key differences:\n\n### Conceptual Differences\n- **No index**: Polars uses integer positions only\n- **Strict typing**: No silent type conversions\n- **Lazy evaluation**: Available via LazyFrame\n- **Parallel by default**: Operations parallelized automatically\n\n### Common Operation Mappings\n\n| Operation | Pandas | Polars |\n|-----------|--------|--------|\n| Select column | `df[\"col\"]` | `df.select(\"col\")` |\n| Filter | `df[df[\"col\"] > 10]` | `df.filter(pl.col(\"col\") > 10)` |\n| Add column | `df.assign(x=...)` | `df.with_columns(x=...)` |\n| Group by | `df.groupby(\"col\").agg(...)` | `df.group_by(\"col\").agg(...)` |\n| Window | `df.groupby(\"col\").transform(...)` | `df.with_columns(...).over(\"col\")` |\n\n### Key Syntax Patterns\n\n**Pandas sequential (slow):**\n```python\ndf.assign(\n    col_a=lambda df_: df_.value * 10,\n    col_b=lambda df_: df_.value * 100\n)\n```\n\n**Polars parallel (fast):**\n```python\ndf.with_columns(\n    col_a=pl.col(\"value\") * 10,\n    col_b=pl.col(\"value\") * 100,\n)\n```\n\nFor comprehensive migration guide, load `references\u002Fpandas_migration.md`.\n\n## Best Practices\n\n### Performance Optimization\n\n1. **Use lazy evaluation for large datasets:**\n   ```python\n   lf = pl.scan_csv(\"large.csv\")  # Don't use read_csv\n   result = lf.filter(...).select(...).collect()\n   ```\n\n2. **Avoid Python functions in hot paths:**\n   - Stay within expression API for parallelization\n   - Use `.map_elements()` only when necessary\n   - Prefer native Polars operations\n\n3. **Use streaming for very large data:**\n   ```python\n   lf.collect(streaming=True)\n   ```\n\n4. **Select only needed columns early:**\n   ```python\n   # Good: Select columns early\n   lf.select(\"col1\", \"col2\").filter(...)\n\n   # Bad: Filter on all columns first\n   lf.filter(...).select(\"col1\", \"col2\")\n   ```\n\n5. **Use appropriate data types:**\n   - Categorical for low-cardinality strings\n   - Appropriate integer sizes (i32 vs i64)\n   - Date types for temporal data\n\n### Expression Patterns\n\n**Conditional operations:**\n```python\npl.when(condition).then(value).otherwise(other_value)\n```\n\n**Column operations across multiple columns:**\n```python\ndf.select(pl.col(\"^.*_value$\") * 2)  # Regex pattern\n```\n\n**Null handling:**\n```python\npl.col(\"x\").fill_null(0)\npl.col(\"x\").is_null()\npl.col(\"x\").drop_nulls()\n```\n\nFor additional best practices and patterns, load `references\u002Fbest_practices.md`.\n\n## Resources\n\nThis skill includes comprehensive reference documentation:\n\n### references\u002F\n- `core_concepts.md` - Detailed explanations of expressions, lazy evaluation, and type system\n- `operations.md` - Comprehensive guide to all common operations with examples\n- `pandas_migration.md` - Complete migration guide from pandas to Polars\n- `io_guide.md` - Data I\u002FO operations for all supported formats\n- `transformations.md` - Joins, concatenation, pivots, and reshaping operations\n- `best_practices.md` - Performance optimization tips and common patterns\n\nLoad these references as needed when users require detailed information about specific topics.\n",{"name":5,"description":7},"main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-AI-应用工具\u002FYYC3-AI-应用工具-claude-code-templates-main\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpolars",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":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill polars",{"tool":39,"command":40},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill polars",{"tool":42,"command":43},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill polars","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-claude-code-templates-main\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpolars\u002FSKILL.md",true,[47,53,57,61,65,69],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fbest_practices.md","REFERENCE","参考文档",14181,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-claude-code-templates-main\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpolars\u002Freferences\u002Fbest_practices.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcore_concepts.md",8348,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-claude-code-templates-main\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpolars\u002Freferences\u002Fcore_concepts.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fio_guide.md",11208,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-claude-code-templates-main\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpolars\u002Freferences\u002Fio_guide.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Foperations.md",12080,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-claude-code-templates-main\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpolars\u002Freferences\u002Foperations.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fpandas_migration.md",12353,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-claude-code-templates-main\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpolars\u002Freferences\u002Fpandas_migration.md",{"path":70,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Ftransformations.md",11183,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-AI-应用工具\u002FYYC3-AI-应用工具-claude-code-templates-main\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpolars\u002Freferences\u002Ftransformations.md",[74,81,88,95,102,109],{"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":80,"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"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":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"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":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"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":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"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":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"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",[],[]]