Research & Analysis🤖claude💬gpt🌐universal
data-explore-data
apps/tandem-desktop/src-tauri/resources/skill-templates/data-explore-data/SKILL.md
Profile and explore a dataset to understand its shape, quality, and patterns
Quick Start
Install this SKILL.md
npx skills add https://github.com/frumu-ai/tandem/tree/main/apps/tandem-desktop/src-tauri/resources/skill-templates/data-explore-data--- name: data-explore-data description: Profile and explore a dataset to understand its shape, quality, and patterns --- # Explore Data > If you see unfamiliar placeholders or need to check which tools are connected, please ask about available integrations. Generate a comprehensive data profile for a table or uploaded file. Understand its shape, quality, and patterns before diving into analysis. ## Usage You can ask to explore a dataset (e.g., "Explore the users table" or "Profile this CSV file"). ### Arguments - `table or file` — The table name or file to explore ### Workflow ### 1. Access the Data **If a data warehouse is connected:** 1. Resolve the table name (handle schema prefixes, suggest matches if ambiguous) 2. Query table metadata: column names, types, descriptions if available 3. Run profiling queries against the live data **If a file is provided (CSV, Excel, Parquet, JSON):** 1. Read the file and load into a working dataset 2. Infer column types from the data **If neither:** 1. Ask the user to provide a table name (with their warehouse connected) or upload a file 2. If they describe a table schema, provide guidance on what profiling queries to run ### 2. Generate Data Profile Run the following profiling checks: **Table-level metrics:** - Total row count - Column count and types breakdown - Approximate table size (if available from metadata) - Date range coverage (min/max of date columns) **Column-level metrics for each column:** - Data type (and whether it matches expected type) - Null count and null rate (%) - Distinct count and cardinality (distinct / total) - For numeric columns: min, max, mean, median, stddev, percentiles (p25, p50, p75, p95, p99) - For string columns: min/max length, most common values (top 10), empty string count - For date/timestamp columns: min, max, distribution by time period - For boolean columns: true/false/null distribution **Present the profile as a clean summary table**, grouped by column type (dimensions, metrics, dates, IDs). ### 3. Identify Data Quality Issues Flag potential problems: - **High null rates**: Columns with >5% nulls (warn), >20% nulls (alert) - **Low cardinality surprises**: Columns that should be high-cardinality but aren't (e.g., a "user_id" with only 50 distinct values) - **High cardinality surprises**: Columns that should be categorical but have too many distinct values - **Suspicious values**: Negative amounts where only positive expected, future dates in historical data, obviously placeholder values (e.g., "N/A", "TBD", "test", "999999") - **Duplicate detection**: Check if there's a natural key and whether it has duplicates - **Distribution skew**: Extremely skewed numeric distributions that could affect averages - **Encoding issues**: Mixed case in categorical fields, trailing whitespace, inconsistent formats ### 4. Suggest Interesting Dimensions and Metrics Based on the column profile, recommend: - **Best dimension columns** for slicing data (categorical columns with reasonable cardinality, 3-50 values) - **Key metric columns** for measurement (numeric columns with meaningful distributions) - **Time columns** suitable for trend analysis - **Natural groupings** or hierarchies apparent in the data - **Potential join keys** linking to other tables (ID columns, foreign keys) ### 5. Recommend Follow-Up Analyses Suggest 3-5 specific analyses the user could run next: - "Trend analysis on [metric] by [time_column] grouped by [dimension]" - "Distribution deep-dive on [skewed_column] to understand outliers" - "Data quality investigation on [problematic_column]" - "Correlation analysis between [metric_a] and [metric_b]" - "Cohort analysis using [date_column] and [status_column]" ## Output Format ``` ## Data Profile: [table_name] ### Overview - Rows: 2,340,891 - Columns: 23 (8 dimensions, 6 metrics, 4 dates, 5 IDs) - Date range: 2021-03-15 to 2024-01-22 ### Column Details [summary table] ### Data Quality Issues [flagged issues with severity] ### Recommended Explorations [numbered list of suggested follow-up analyses] ``` ## Tips - For very large tables (100M+ rows), profiling queries use sampling by default -- mention if you need exact counts - If exploring a new dataset for the first time, this command gives you the lay of the land before writing specific queries - The quality flags are heuristic -- not every flag is a real problem, but each is worth a quick look
Repository
121stars
14forks
Details
Related Skills
More research & analysis skills you might like
pr-improver
Research & AnalysisRuns an autonomous review-and-fix improvement loop over the current branch's changes until a PR review comes back clean, scoped mechanically to the directories the branch touched. Reviews are performed by an installed PR-review skill (default: pr-review-toolkit's review-pr). Use to fix review findings on a branch before opening or updating a pull request ('clean up this branch', 'fix this PR until review passes', 'run review-and-fix on my changes'). NOT for a one-time review — run the PR-review skill directly.
🤖claude🌐universal
7.5k
643
View
code-improver
Research & AnalysisRuns an autonomous review-and-fix improvement loop over any code target — a skill, plugin, module, or directory — using a reviewer the user names: any installed skill or agent. Keeps a cross-round findings ledger, escalates when fixes stop converging, and guards scope mechanically. Use when asked to 'improve this code until review passes', 'run an improvement loop with <reviewer>', or to iterate review-and-fix with a specific reviewer. For skills prefer the skill-improver entry; for a branch prefer pr-improver.
🤖claude🌐universal
7.5k
643
View
skill-improver
Research & AnalysisRuns an autonomous review-and-fix improvement loop over a Claude Code skill until a review comes back clean, with a cross-round findings ledger, escalation when fixes stop converging, and a mechanical scope guard. Reviews are performed by the plugin-dev skill-reviewer agent. Use to fix skill quality issues, iteratively refine a skill, or resume a loop after an escalation ('fix my skill', 'improve this skill until it passes review', 'skill improvement loop'). NOT for a one-time review — use the plugin-dev skill-reviewer agent directly.
🤖claude🌐universal
7.5k
643
View
audit-augmentation
Research & AnalysisAugments Trailmark code graphs with external audit findings from SARIF static analysis results, weAudit annotation files, and version-gated Trailmark 0.4.x binary-analysis graph exports. Maps findings to graph nodes by file and line overlap, creates severity-based subgraphs, and enables cross-referencing findings with pre-analysis data (blast radius, taint, etc.). Use when projecting SARIF results onto a code graph, overlaying weAudit annotations, importing binary graph findings, cross-referencing Semgrep, CodeQL, or binary-analysis findings with call graph data, or visualizing audit findings in the context of code structure.
🌐universal
7.5k
643
View