From juicebox-pack
Configure Juicebox local development workflow. Use when setting up local testing, mock data, or development environment for Juicebox integration work. Trigger with phrases like "juicebox local dev", "juicebox development setup", "juicebox mock data", "test juicebox locally".
How this skill is triggered — by the user, by Claude, or both
Slash command
/juicebox-pack:juicebox-local-dev-loopThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Configure a fast local development workflow for Juicebox integration with mock data and testing utilities.
Configure a fast local development workflow for Juicebox integration with mock data and testing utilities.
# Create development config
cat > .env.development << 'EOF'
JUICEBOX_API_KEY=jb_test_xxxxxxxxxxxx
JUICEBOX_ENVIRONMENT=sandbox
JUICEBOX_LOG_LEVEL=debug
EOF
// mocks/juicebox.ts
export const mockProfiles = [
{
id: 'mock-1',
name: 'Test User',
title: 'Software Engineer',
company: 'Test Corp',
location: 'San Francisco, CA'
}
];
export const mockSearchResponse = {
total: 1,
profiles: mockProfiles,
hasMore: false
};
// test-utils/juicebox.ts
import { JuiceboxClient } from '@juicebox/sdk';
export function createTestClient() {
return new JuiceboxClient({
apiKey: process.env.JUICEBOX_API_KEY,
sandbox: true,
timeout: 5000 # 5000: 5 seconds in ms
});
}
export async function withMockSearch<T>(
fn: (client: JuiceboxClient) => Promise<T>
): Promise<T> {
const client = createTestClient();
return fn(client);
}
// package.json
{
"scripts": {
"dev": "nodemon --watch src --exec ts-node src/index.ts",
"test:watch": "vitest watch"
}
}
| Error | Cause | Solution |
|---|---|---|
| Sandbox Limit | Exceeded test quota | Wait or upgrade plan |
| Mock Mismatch | Schema changed | Update mock data |
| Hot Reload Fail | File lock | Restart dev server |
import { describe, it, expect } from 'vitest';
import { createTestClient } from './test-utils/juicebox';
describe('Juicebox Search', () => {
it('returns profiles for valid query', async () => {
const client = createTestClient();
const results = await client.search.people({
query: 'engineer',
limit: 5
});
expect(results.profiles.length).toBeGreaterThan(0);
});
});
With local dev configured, explore juicebox-sdk-patterns for production patterns.
npx claudepluginhub bulozb/claude-code-plugins-plus-skills --plugin juicebox-packGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Synthesizes the current conversation into a structured spec (PRD) and publishes it to the project issue tracker with a ready-for-agent label, without interviewing the user.
4plugins reuse this skill
First indexed Jul 11, 2026