agentscope-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 guanxuc/agentscope-java 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;
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
data-ai
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in the database. Use when the user asks about database structure, table layout, column types, what tables exist, foreign keys, or how entities relate to each other.
documentation
Writes and executes SQL queries ranging from simple single-table SELECTs to complex multi-table JOINs, aggregations, window functions, and subqueries. Use when the user asks to query the database, retrieve data, filter records, rank results, or generate reports.
documentation
Discover schema, write SELECT-only SQLite queries, execute, and explain results (aligned with harness-example).