一键导入
sales-analytics
// Database schema and business logic for sales data analysis including customers, orders, and revenue.
// Database schema and business logic for sales data analysis including customers, orders, and revenue.
Sample skill fixture for classpath registry enhancement tests.
商品文案写作助手。根据商品信息生成吸引人的营销文案。当用户提到"写文案"、"商品描述"、"营销文案"时使用此技能。
选品分析助手。根据市场趋势和用户需求,分析并推荐适合的商品品类。当用户提到"选品"、"商品推荐"、"品类分析"时使用此技能。
Database schema and business logic for inventory tracking including products, warehouses, and stock levels.
Test skill for groupedTools. When executing this skill, use the record_result tool to record the result value.
Extract text, tables, and form data from PDF documents for analysis and processing. Use when user asks to extract, parse, or analyze PDF files.
| name | sales_analytics |
| description | Database schema and business logic for sales data analysis including customers, orders, and revenue. |
Active customers: status = 'active' AND signup_date <= CURRENT_DATE - INTERVAL '90 days'
Revenue calculation: Only count orders with status = 'completed'. Use total_amount from orders table.
High-value orders: Orders with total_amount > 1000
-- Get top 10 customers by revenue in the last quarter
SELECT c.customer_id, c.name, c.customer_tier, SUM(o.total_amount) as total_revenue
FROM customers c
JOIN orders o ON c.customer_id = o.customer_id
WHERE o.status = 'completed' AND o.order_date >= CURRENT_DATE - INTERVAL '3 months'
GROUP BY c.customer_id, c.name, c.customer_tier
ORDER BY total_revenue DESC LIMIT 10;