Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Sets up a local Hex API development workflow with typed client, mocked API fixtures, and Vitest-style tests.
56% 88%+32 ptsof test cases passed
Passed 22 of 25 test cases with the skill, and 14 of 25 without it.
We need to check the status of a specific Hex project run. Should our status method query `/projects/${projectId}/runs/${runId}` or `/project/${projectId}/run/${runId}`?
Uses the endpoint path /project/${projectId}/run/${runId} to retrieve status.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Set up a development workflow for Hex API orchestration with mocked API responses and testing.
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
// 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}`);
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.