CLAUDE.md · AltimateAI/vscode-dbt-power-user
CLAUDE.md from AltimateAI/vscode-dbt-power-user: 655 lines covering Project Overview, High-Level Architecture, Core Functionality Areas, Build System and…
Template by AltimateAI
Chalk Labs
Need help deploying CLAUDE.md · AltimateAI/vscode-dbt-power-user?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/AltimateAI/vscode-dbt-power-user/master/CLAUDE.md -o CLAUDE.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data-pipelines, code-generation
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
A CLAUDE.md file: project memory Claude Code loads at the start of every session.
- For
- Claude Code
- Length
- 655 lines
- File
CLAUDE.md
Sections
- Project Overview
- High-Level Architecture
- Core Functionality Areas
- Build System and Tooling
- Key Dependencies and Integrations
- Configuration and Extensibility
- Deployment and Distribution
- Development Guidelines
- Common Development Patterns
- Core Features Overview
- DataMates AI Integration
- Feature Availability
- Installation Methods
- Required Configuration
- Project Setup
- Quick Diagnostics
- Debug Logging
- Developer Tools
- Common Issues
- Getting Help
First lines (shown under the repo's MIT license)
# Claude Code - dbt Power User VSCode Extension Architecture Guide
## Project Overview
**vscode-dbt-power-user** is a comprehensive VSCode extension that makes VSCode seamlessly work with dbt (data build tool). It's an open-source project published by Altimate AI that extends VSCode with advanced dbt features including auto-completion, query preview, lineage visualization, documentation generation, and AI-powered features.
### Key Statistics
- **Version**: 0.57.3
- **Project Type**: VSCode Extension (TypeScript/React)
- **License**: MIT
- **Architecture**: Multi-layered with webview panels, Python integrations, and MCP server
## High-Level Architecture
### 1. Core Extension Architecture
The extension follows a **dependency injection pattern** using Inversify container:
- **Entry Point**: `src/extension.ts` → `DBTPowerUserExtension`
- **DI Container**: `src/inversify.config.ts` manages all service dependencies
- **Main Extension Class**: `DBTPowerUserExtension` orchestrates all components
### 2. Multi-Process Architecture
The extension operates across multiple processes:
1. **Main Extension Process** (Node.js/TypeScript)
- VSCode API integration
- File system operations
- dbt CLI interactions
2. **Webview Panels** (React/TypeScript)
- Modern React-based UI components
- Located in `webview_panels/` directory
- Built with Vite, uses Antd for UI components
3. **Python Bridge Integration**
- dbt core/cloud integration via Python scripts
- Key files: `dbt_core_integration.py`, `dbt_cloud_integration.py`
- Jupyter kernel for notebook functionality
4. **MCP Server** (Model Context Protocol)
- AI integration and tool calling functionality
- Located in `src/mcp/`
### 3. Key Module Organization
```
src/
├── manifest/ # dbt project parsing and management
├── dbt_client/ # dbt integration (core, cloud, fusion)
├── webview_provider/ # Webview panel management
├── autocompletion_provider/ # Language server features
├── services/ # Business logic services
├── commands/ # VSCode command implementations
├── mcp/ # Model Context Protocol server
└── telemetry/ # Analytics and tracking
```
## Core Functionality Areas
### 1. dbt Integration Support
**Multiple Integration Types**:
- **dbt Core**: Direct Python integration via Python bridge
- **dbt Cloud**: API-based integration with dbt Cloud services
- **dbt Fusion**: Command-line integration with dbt-fusion CLI
- **Core Command**: CLI wrapper integration for dbt core
**Key Integration Files**:
- `src/dbt_client/dbtCoreIntegration.ts` - dbt Core Python integration
- `src/dbt_client/dbtCloudIntegration.ts` - dbt Cloud API integration
- `src/dbt_client/dbtFusionCommandIntegration.ts` - dbt Fusion CLI integration
- `dbt_core_integration.py` - Python bridge for Core integration
### 2. Language Server Features
**Provider Architecture**: Each feature implemented as a separate provider:
- `autocompletion_provider/` - IntelliSense for dbt models, macros, sources
- `definition_provider/` - Go-to-definition functionality
- `hover_provider/` - Hover information
- `code_lens_provider/` - Inline actions
- `validation_provider/` - SQL validation
### 3. Webview Panel System
**Modern React Architecture** (`webview_panels/`):
- **Build System**: Vite + TypeScript + React 18
- **State Management**: Redux Toolkit
- **UI Framework**: Antd + custom components
- **Data Visualization**: Perspective.js, Plotly.js
**Key Panels**:
- `modules/dataPilot/` - AI chat interface
- `modules/queryPanel/` - Query results and analysis
- `modules/lineage/` - Data lineage visualization
- `modules/documentationEditor/` - Documentation management
- `modules/insights/` - Project insights and actions
### 4. AI and Advanced Features
**DataPilot AI Integration**:
- Chat-based interface for dbt assistance
- Query explanation and optimization
- Documentation generation
- Test suggestions
**MCP Server Integration**:
- Tool calling for dbt operations
- Integration with Claude and other AI models
- Located in `src/mcp/server.ts`
## Build System and Tooling
### 1. Multi-Stage Build Process
**Main Extension Build** (Webpack):
```bash
npm run webpack # Development build
npm run vscode:prepublish # Production build
```
**Webview Panels Build** (Vite):
```bash
npm run panel:webviews # Build React components
```
### 2. Development Workflow
**Key Scripts**:
- `npm run compile` - Compile the code
- `npm run watch` - Development with hot reload
- `npm run test` - Jest-based testing
- `npm run lint` - ESLint + Prettier
- `npm run build-vsix` - Package extension
**Development Environment**:
- Uses VSCode's built-in debugger ("Launch Extension")
- Hot reload for webview panels
- Python environment auto-detection
### 3. Testing Strategy
**Test Configuration** (`jest.config.js`):Signals
- Stars
- 586
- Forks
- 123
- Open issues
- 118
- Last commit (this folder)
- Oct 22, 2025 (1 year ago)
- Last release
- Oct 23, 2026 (8 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get CLAUDE.md · AltimateAI/vscode-dbt-power-user running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
CLAUDE.md · AltimateAI/vscode-dbt-power-user. Agent Mart. https://agentmart.dev/templates/altimateai-vscode-dbt-power-user-claude-md (last updated 2026-10-24)