hex-local-dev-loop

Featured

Configure Hex local development with hot reload and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Hex. Trigger with phrases like "hex dev setup", "hex local development", "hex dev environment", "develop with hex".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Hex Local Dev Loop ## Overview Set up a development workflow for Hex API orchestration with mocked API responses and testing. ## Instructions ### Step 1: Project Structure ``` hex-orchestrator/ ├── src/hex/ │ ├── client.ts # API client │ ├── orchestrator.ts # Pipeline runner │ └── types.ts # TypeScript interfaces ├── tests/ │ ├── fixtures/ # Mock API responses │ └── orchestrator.test.ts ├── .env.local └── package.json ``` ### Step 2: Typed Hex Client ```typescript // src/hex/client.ts export class HexClient { constructor(private token: string, private baseUrl = 'https://app.hex.tech/api/v1') {} async listProjects() { return this.get('/projects'); } async runProject(projectId: string, inputParams?: Record<string, any>) { return this.post(`/project/${projectId}/run`, { inputParams: inputParams || {}, updateCacheResult: true }); } async getRunStatus(projectId: string, runId: string) { return this.get(`/project/${projectId}/run/${runId}`); } async cancelRun(projectId: string, runId: string) { return this.delete(`/project/${projectId}/run/${runId}`); } private async get(path: string) { const res = await fetch(`${this.baseUrl}${path}`, { headers: { 'Authorization': `Bearer ${this.token}` } }); if (!res.ok) throw new Error(`Hex API ${res.status}`); return res.json(); } private async post(path: string, body: any) { const res = await fetch(`${this.baseUrl}${path}`, { method: 'POST', hea...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category