validate-data
QA an analysis before sharing -- methodology, accuracy, and bias checks. Use when reviewing an analysis before a stakeholder presentation, spot-checking calculations and aggregation logic, verifying a SQL query's results look right, or assessing whether conclusions are actually supported by the data.
What this skill does
# /validate-data - Validate Analysis Before Sharing > If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../CONNECTORS.md). Review an analysis for accuracy, methodology, and potential biases before sharing with stakeholders. Generates a confidence assessment and improvement suggestions. ## Usage ``` /validate-data <analysis to review> ``` The analysis can be: - A document or report in the conversation - A file (markdown, notebook, spreadsheet) - SQL queries and their results - Charts and their underlying data - A description of methodology and findings ## Workflow ### 1. Review Methodology and Assumptions Examine: - **Question framing**: Is the analysis answering the right question? Could the question be interpreted differently? - **Data selection**: Are the right tables/datasets being used? Is the time range appropriate? - **Population definition**: Is the analysis population correctly defined? Are there unintended exclusions? - **Metric definitions**: Are metrics defined clearly and consistently? Do they match how stakeholders understand them? - **Baseline and comparison**: Is the comparison fair? Are time periods, cohort sizes, and contexts comparable? ### 2. Run the Pre-Delivery QA Checklist Work through the checklist below — data quality, calculation, reasonableness, and presentation checks. ### 3. Check for Common Analytical Pitfalls Systematically review against the detailed pitfall catalog below (join explosion, survivorship bias, incomplete period comparison, denominator shifting, average of averages, timezone mismatches, selection bias). ### 4. Verify Calculations and Aggregations Where possible, spot-check: - Recalculate a few key numbers independently - Verify that subtotals sum to totals - Check that percentages sum to 100% (or close to it) where expected - Confirm that YoY/MoM comparisons use the correct base periods - Validate that filters are applied consistently across all metrics Apply the result sanity-checking techniques below (magnitude checks, cross-validation, red-flag detection). ### 5. Assess Visualizations If the analysis includes charts: - Do axes start at appropriate values (zero for bar charts)? - Are scales consistent across comparison charts? - Do chart titles accurately describe what's shown? - Could the visualization mislead a quick reader? - Are there truncated axes, inconsistent intervals, or 3D effects that distort perception? ### 6. Evaluate Narrative and Conclusions Review whether: - Conclusions are supported by the data shown - Alternative explanations are acknowledged - Uncertainty is communicated appropriately - Recommendations follow logically from findings - The level of confidence matches the strength of evidence ### 7. Suggest Improvements Provide specific, actionable suggestions: - Additional analyses that would strengthen the conclusions - Caveats or limitations that should be noted - Better visualizations or framings for key points - Missing context that stakeholders would want ### 8. Generate Confidence Assessment Rate the analysis on a 3-level scale: **Ready to share** -- Analysis is methodologically sound, calculations verified, caveats noted. Minor suggestions for improvement but nothing blocking. **Share with noted caveats** -- Analysis is largely correct but has specific limitations or assumptions that must be communicated to stakeholders. List the required caveats. **Needs revision** -- Found specific errors, methodological issues, or missing analyses that should be addressed before sharing. List the required changes with priority order. ## Output Format ``` ## Validation Report ### Overall Assessment: [Ready to share | Share with caveats | Needs revision] ### Methodology Review [Findings about approach, data selection, definitions] ### Issues Found 1. [Severity: High/Medium/Low] [Issue description and impact] 2. ... ### Calculation Spot-Checks - [Metric]: [Verified / Discrepancy found] - ... ### Visualization Review [Any issues with charts or visual presentation] ### Suggested Improvements 1. [Improvement and why it matters] 2. ... ### Required Caveats for Stakeholders - [Caveat that must be communicated] - ... ``` --- ## Pre-Delivery QA Checklist Run through this checklist before sharing any analysis with stakeholders. ### Data Quality Checks - [ ] **Source verification**: Confirmed which tables/data sources were used. Are they the right ones for this question? - [ ] **Freshness**: Data is current enough for the analysis. Noted the "as of" date. - [ ] **Completeness**: No unexpected gaps in time series or missing segments. - [ ] **Null handling**: Checked null rates in key columns. Nulls are handled appropriately (excluded, imputed, or flagged). - [ ] **Deduplication**: Confirmed no double-counting from bad joins or duplicate source records. - [ ] **Filter verification**: All WHERE clauses and filters are correct. No unintended exclusions. ### Calculation Checks - [ ] **Aggregation logic**: GROUP BY includes all non-aggregated columns. Aggregation level matches the analysis grain. - [ ] **Denominator correctness**: Rate and percentage calculations use the right denominator. Denominators are non-zero. - [ ] **Date alignment**: Comparisons use the same time period length. Partial periods are excluded or noted. - [ ] **Join correctness**: JOIN types are appropriate (INNER vs LEFT). Many-to-many joins haven't inflated counts. - [ ] **Metric definitions**: Metrics match how stakeholders define them. Any deviations are noted. - [ ] **Subtotals sum**: Parts add up to the whole where expected. If they don't, explain why (e.g., overlap). ### Reasonableness Checks - [ ] **Magnitude**: Numbers are in a plausible range. Revenue isn't negative. Percentages are between 0-100%. - [ ] **Trend continuity**: No unexplained jumps or drops in time series. - [ ] **Cross-reference**: Key numbers match other known sources (dashboards, previous reports, finance data). - [ ] **Order of magnitude**: Total revenue is in the right ballpark. User counts match known figures. - [ ] **Edge cases**: What happens at the boundaries? Empty segments, zero-activity periods, new entities. ### Presentation Checks - [ ] **Chart accuracy**: Bar charts start at zero. Axes are labeled. Scales are consistent across panels. - [ ] **Number formatting**: Appropriate precision. Consistent currency/percentage formatting. Thousands separators where needed. - [ ] **Title clarity**: Titles state the insight, not just the metric. Date ranges are specified. - [ ] **Caveat transparency**: Known limitations and assumptions are stated explicitly. - [ ] **Reproducibility**: Someone else could recreate this analysis from the documentation provided. ## Common Data Analysis Pitfalls ### Join Explosion **The problem**: A many-to-many join silently multiplies rows, inflating counts and sums. **How to detect**: ```sql -- Check row count before and after join SELECT COUNT(*) FROM table_a; -- 1,000 SELECT COUNT(*) FROM table_a a JOIN table_b b ON a.id = b.a_id; -- 3,500 (uh oh) ``` **How to prevent**: - Always check row counts after joins - If counts increase, investigate the join relationship (is it really 1:1 or 1:many?) - Use `COUNT(DISTINCT a.id)` instead of `COUNT(*)` when counting entities through joins ### Survivorship Bias **The problem**: Analyzing only entities that exist today, ignoring those that were deleted, churned, or failed. **Examples**: - Analyzing user behavior of "current users" misses churned users - Looking at "companies using our product" ignores those who evaluated and left - Studying properties of "successful" outcomes without "unsuccessful" ones **How to prevent**: Ask "who is NOT in this dataset?" before drawing conclusions. ### Incomplete Period Comparison **The problem**: Comparing a partial period to a full period. **Examples**: - "January revenue is $500K vs. December's $800K" -- but January isn't over yet - "Th
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.