hex-hello-world

Featured

Create a minimal working Hex example. Use when starting a new Hex integration, testing your setup, or learning basic Hex API patterns. Trigger with phrases like "hex hello world", "hex example", "hex quick start", "simple hex code".

AI & Automation 2,266 stars 315 forks Updated today 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 Hello World ## Overview List projects, trigger a project run, and poll for results using the Hex API. The core workflow is: trigger a run of a published project, poll for completion, then access the results. ## Prerequisites - Completed `hex-install-auth` setup - At least one published Hex project ## Instructions ### Step 1: List Projects ```typescript // hello-hex.ts import 'dotenv/config'; const TOKEN = process.env.HEX_API_TOKEN!; const BASE = 'https://app.hex.tech/api/v1'; async function listProjects() { const response = await fetch(`${BASE}/projects`, { headers: { 'Authorization': `Bearer ${TOKEN}` }, }); const projects = await response.json(); for (const p of projects) { console.log(`${p.name} (${p.projectId}) — ${p.status}`); } return projects; } ``` ### Step 2: Trigger a Project Run ```typescript async function runProject(projectId: string, inputParams?: Record<string, any>) { const response = await fetch(`${BASE}/project/${projectId}/run`, { method: 'POST', headers: { 'Authorization': `Bearer ${TOKEN}`, 'Content-Type': 'application/json' }, body: JSON.stringify({ inputParams: inputParams || {}, updateCacheResult: true, }), }); const { runId, projectId: pid, runStatusUrl } = await response.json(); console.log(`Run started: ${runId}`); console.log(`Status URL: ${runStatusUrl}`); return { runId, projectId: pid, runStatusUrl }; } ``` ### Step 3: Poll for Run Completion ```typescript async funct...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

hex-performance-tuning

Optimize Hex API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Hex integrations. Trigger with phrases like "hex performance", "optimize hex", "hex latency", "hex caching", "hex slow", "hex batch".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hex-local-dev-loop

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".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hex-core-workflow-a

Execute Hex primary workflow: Core Workflow A. Use when implementing primary use case, building main features, or core integration tasks. Trigger with phrases like "hex main workflow", "primary task with hex".

2,266 Updated today
jeremylongshore
AI & Automation Solid

hex-webhooks-events

Implement Hex webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Hex event notifications securely. Trigger with phrases like "hex webhook", "hex events", "hex webhook signature", "handle hex events", "hex notifications".

2,266 Updated today
jeremylongshore
AI & Automation Solid

hex-common-errors

Diagnose and fix Hex common errors and exceptions. Use when encountering Hex errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "hex error", "fix hex", "hex not working", "debug hex".

2,266 Updated today
jeremylongshore