新增16个AI技能:包含图像生成、视频剪辑、数据分析、智能查询等功能模块
This commit is contained in:
83
.opencode/skills/csv-data-summarizer/resources/README.md
Normal file
83
.opencode/skills/csv-data-summarizer/resources/README.md
Normal file
@@ -0,0 +1,83 @@
|
||||
# CSV Data Summarizer - Resources
|
||||
|
||||
---
|
||||
|
||||
## 🌟 Connect & Learn More
|
||||
|
||||
<div align="center">
|
||||
|
||||
### 🚀 **Join Our Community**
|
||||
[-blue?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJ3aGl0ZSI+PHBhdGggZD0iTTEyIDJDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6bTAgM2MxLjY2IDAgMyAxLjM0IDMgM3MtMS4zNCAzLTMgMy0zLTEuMzQtMy0zIDEuMzQtMyAzLTN6bTAgMTQuMmMtMi41IDAtNC43MS0xLjI4LTYtMy4yMi4wMy0xLjk5IDQtMy4wOCA2LTMuMDggMS45OSAwIDUuOTcgMS4wOSA2IDMuMDgtMS4yOSAxLjk0LTMuNSAzLjIyLTYgMy4yMnoiLz48L3N2Zz4=)](https://www.skool.com/ai-for-your-business/about)
|
||||
|
||||
### 🔗 **All My Links**
|
||||
[](https://linktr.ee/corbin_brown)
|
||||
|
||||
### 🛠️ **Become a Builder**
|
||||
[](https://www.youtube.com/channel/UCJFMlSxcvlZg5yZUYJT0Pug/join)
|
||||
|
||||
### 🐦 **Follow on Twitter**
|
||||
[](https://twitter.com/corbin_braun)
|
||||
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
## Sample Data
|
||||
|
||||
The `sample.csv` file contains example sales data with the following columns:
|
||||
|
||||
- **date**: Transaction date
|
||||
- **product**: Product name (Widget A, B, or C)
|
||||
- **quantity**: Number of items sold
|
||||
- **revenue**: Total revenue from the transaction
|
||||
- **customer_id**: Unique customer identifier
|
||||
- **region**: Geographic region (North, South, East, West)
|
||||
|
||||
## Usage Examples
|
||||
|
||||
### Basic Summary
|
||||
```
|
||||
Analyze sample.csv
|
||||
```
|
||||
|
||||
### With Custom CSV
|
||||
```
|
||||
Here's my sales_data.csv file. Can you summarize it?
|
||||
```
|
||||
|
||||
### Focus on Specific Insights
|
||||
```
|
||||
What are the revenue trends in this dataset?
|
||||
```
|
||||
|
||||
## Testing the Skill
|
||||
|
||||
You can test the skill locally before uploading to Claude:
|
||||
|
||||
```bash
|
||||
# Install dependencies
|
||||
pip install -r ../requirements.txt
|
||||
|
||||
# Run the analysis
|
||||
python ../analyze.py sample.csv
|
||||
```
|
||||
|
||||
## Expected Output
|
||||
|
||||
The analysis will provide:
|
||||
|
||||
1. **Dataset dimensions** - Row and column counts
|
||||
2. **Column information** - Names and data types
|
||||
3. **Summary statistics** - Mean, median, std dev, min/max for numeric columns
|
||||
4. **Data quality** - Missing value detection and counts
|
||||
5. **Visualizations** - Time-series plots when date columns are present
|
||||
|
||||
## Customization
|
||||
|
||||
To adapt this skill for your specific use case:
|
||||
|
||||
1. Modify `analyze.py` to include domain-specific calculations
|
||||
2. Add custom visualization types in the plotting section
|
||||
3. Include validation rules specific to your data
|
||||
4. Add more sample datasets to test different scenarios
|
||||
|
||||
22
.opencode/skills/csv-data-summarizer/resources/sample.csv
Normal file
22
.opencode/skills/csv-data-summarizer/resources/sample.csv
Normal file
@@ -0,0 +1,22 @@
|
||||
date,product,quantity,revenue,customer_id,region
|
||||
2024-01-15,Widget A,5,129.99,C001,North
|
||||
2024-01-16,Widget B,3,89.97,C002,South
|
||||
2024-01-17,Widget A,7,181.98,C003,East
|
||||
2024-01-18,Widget C,2,199.98,C001,North
|
||||
2024-01-19,Widget B,4,119.96,C004,West
|
||||
2024-01-20,Widget A,6,155.94,C005,South
|
||||
2024-01-21,Widget C,1,99.99,C002,South
|
||||
2024-01-22,Widget B,8,239.92,C006,East
|
||||
2024-01-23,Widget A,3,77.97,C007,North
|
||||
2024-01-24,Widget C,5,499.95,C003,East
|
||||
2024-01-25,Widget B,2,59.98,C008,West
|
||||
2024-01-26,Widget A,9,233.91,C004,West
|
||||
2024-01-27,Widget C,3,299.97,C009,North
|
||||
2024-01-28,Widget B,6,179.94,C010,South
|
||||
2024-01-29,Widget A,4,103.96,C005,South
|
||||
2024-01-30,Widget C,7,699.93,C011,East
|
||||
2024-01-31,Widget B,5,149.95,C012,West
|
||||
2024-02-01,Widget A,8,207.92,C013,North
|
||||
2024-02-02,Widget C,2,199.98,C014,South
|
||||
2024-02-03,Widget B,10,299.90,C015,East
|
||||
|
||||
|
Reference in New Issue
Block a user