Add single-line visual headers to 66 command files across 10 plugins: - clarity-assist (2 commands): 💬 - claude-config-maintainer (5 commands): ⚙️ - cmdb-assistant (11 commands): 🖥️ - code-sentinel (3 commands): 🔒 - contract-validator (5 commands): ✅ - data-platform (10 commands): 📊 - doc-guardian (5 commands): 📝 - git-flow (8 commands): 🔀 - pr-review (7 commands): 🔍 - viz-platform (10 commands): 🎨 Each command now displays a consistent header at execution start: ┌────────────────────────────────────────────────────────────────┐ │ [icon] PLUGIN-NAME · Command Description │ └────────────────────────────────────────────────────────────────┘ Addresses #275 (other plugin commands visual output) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
/ingest - Data Ingestion
Visual Output
When executing this command, display the plugin header:
┌──────────────────────────────────────────────────────────────────┐
│ 📊 DATA-PLATFORM · Ingest │
└──────────────────────────────────────────────────────────────────┘
Then proceed with the ingestion.
Load data from files or database into the data platform.
Usage
/ingest [source]
Workflow
-
Identify data source:
- If source is a file path, determine format (CSV, Parquet, JSON)
- If source is "db" or a table name, query PostgreSQL
-
Load data:
- For files: Use
read_csv,read_parquet, orread_json - For database: Use
pg_querywith appropriate SELECT
- For files: Use
-
Validate:
- Check row count against limits
- If exceeds 100k rows, suggest chunking or filtering
-
Report:
- Show data_ref, row count, columns, and memory usage
- Preview first few rows
Examples
/ingest data/sales.csv
/ingest data/customers.parquet
/ingest "SELECT * FROM orders WHERE created_at > '2024-01-01'"
Available Tools
Use these MCP tools:
read_csv- Load CSV filesread_parquet- Load Parquet filesread_json- Load JSON/JSONL filespg_query- Query PostgreSQL databaselist_data- List loaded DataFrames