examples/multiagent-patterns/skills/src/main/resources/skills/sales_analytics/SKILL.md
Database schema and business logic for sales data analysis including customers, orders, and revenue.
npx skillsauth add alibaba/spring-ai-alibaba sales_analyticsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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;
testing
Sample skill fixture for classpath registry enhancement tests.
tools
选品分析助手。根据市场趋势和用户需求,分析并推荐适合的商品品类。当用户提到"选品"、"商品推荐"、"品类分析"时使用此技能。
documentation
Extract text, tables, and form data from PDF documents for analysis and processing. Use when user asks to extract, parse, or analyze PDF files.
tools
Test skill for groupedTools. When executing this skill, use the record_result tool to record the result value.