| name | hex-reference-architecture |
| description | Implement Hex reference architecture with best-practice project layout.
Use when designing new Hex integrations, reviewing project structure,
or establishing architecture standards for Hex applications.
Trigger with phrases like "hex architecture", "hex best practices",
"hex project structure", "how to organize hex", "hex layout".
|
| allowed-tools | Read, Grep |
| version | 1.6.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","hex","data","analytics"] |
| compatibility | Designed for Claude Code |
Hex Reference Architecture
Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Orchestration Layer โ
โ (Airflow, Dagster, GitHub Actions, โ
โ Cron, Custom API) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Hex API Client โ
โ (Run, Poll, Cancel, List) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Hex Platform โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โ
โ โ Projects โ โ Data Connections โ โ
โ โ (SQL, โ โ (Snowflake, โ โ
โ โ Python, โ โ BigQuery, โ โ
โ โ R) โ โ Postgres, etc.) โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Project Structure
hex-orchestrator/
โโโ src/hex/
โ โโโ client.ts # API client
โ โโโ orchestrator.ts # Pipeline runner
โ โโโ scheduler.ts # Cron-based triggers
โ โโโ types.ts # TypeScript interfaces
โโโ src/notify/
โ โโโ slack.ts # Completion notifications
โโโ tests/
โโโ config/
โ โโโ pipelines.json # Pipeline definitions
โโโ .env.example
Integration Patterns
| Pattern | When | Tool |
|---|
| CI-triggered refresh | On deploy | GitHub Actions |
| Scheduled pipeline | Daily/weekly reports | Cron, Airflow |
| On-demand run | User-triggered analysis | API endpoint |
| Orchestrated pipeline | Multi-step ETL | Airflow, Dagster |
Resources