Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action> sub-command pattern. Git-flow consolidated from 8→5 commands (commit variants absorbed into --push/--merge/--sync flags). Dispatch files, name: frontmatter, and cross-reference updates for all plugins. Phase 2: Design documents for 8 new plugins in docs/designs/. Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate, saas-react-platform, saas-test-pilot, data-seed, ops-release-manager, ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents, skills, README, and claude-md-integration. Marketplace grows from 12→20. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
50 lines
1.0 KiB
Markdown
50 lines
1.0 KiB
Markdown
---
|
|
name: data schema
|
|
---
|
|
|
|
# /data schema - Schema Exploration
|
|
|
|
## Skills to Load
|
|
- skills/mcp-tools-reference.md
|
|
- skills/visual-header.md
|
|
|
|
## Visual Output
|
|
|
|
Display header: `DATA-PLATFORM - Schema Explorer`
|
|
|
|
## Usage
|
|
|
|
```
|
|
/data schema [table_name | data_ref]
|
|
```
|
|
|
|
## Workflow
|
|
|
|
1. **Determine target**:
|
|
- DataFrame: show pandas schema via `describe`
|
|
- Database table: query via `pg_columns`
|
|
- No argument: list all tables and DataFrames
|
|
|
|
2. **For DataFrames**: Show dtypes, null counts, sample values
|
|
|
|
3. **For database tables**: Show columns, types, constraints, indexes
|
|
|
|
4. **For PostGIS**: Include geometry type and SRID via `st_tables`
|
|
|
|
## Examples
|
|
|
|
```
|
|
/data schema # List all tables and DataFrames
|
|
/data schema customers # Show table schema
|
|
/data schema sales_data # Show DataFrame schema
|
|
```
|
|
|
|
## Required MCP Tools
|
|
|
|
- `pg_tables` - List database tables
|
|
- `pg_columns` - Get column info
|
|
- `pg_schemas` - List schemas
|
|
- `st_tables` - List PostGIS tables
|
|
- `describe` - Get DataFrame info
|
|
- `list_data` - List DataFrames
|