juicebox-local-dev-loop
/juicebox-local-dev-loop
Konfiguruje lokalne środowisko pracy z Juicebox, w tym testy lokalne i dane przykładowe do tworzenia integracji.
- Autor
- HelixDevelopment ↗
- Repozytorium
- agent ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 14.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 14.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Konfiguruje lokalne środowisko pracy z Juicebox, w tym testy lokalne i dane przykładowe do tworzenia integracji.
Wyzwalacze z opisu
Oryginalny opis (EN)
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".
Jak działa
- Overview
- Prerequisites
- Instructions
- Output
- Error Handling
- Examples
- Resources
- Next Steps
Podgląd SKILL.md
---
name: juicebox-local-dev-loop
description: |
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".
allowed-tools: Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep
version: 1.0.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
---
# Juicebox Local Dev Loop
## Overview
Configure a fast local development workflow for Juicebox integration with mock data and testing utilities.
## Prerequisites
- Juicebox SDK installed
- Node.js or Python environment
- Test API key (sandbox mode)
## Instructions
### Step 1: Configure Development Environment
```bash
# Create development config
cat > .env.development << 'EOF'
JUICEBOX_API_KEY=jb_test_xxxxxxxxxxxx
JUICEBOX_ENVIRONMENT=sandbox
JUICEBOX_LOG_LEVEL=debug
EOF
```
### Step 2: Set Up Mock Data
```typescript
// 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
};
```
### Step 3: Create Test Utilities
```typescript
// 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
});
}
export async function withMockSearch<T>(
fn: (client: JuiceboxClient) => Promise<T>
): Promise<T> {
const client = createTestClient();
return fn(client);
}
```
### Step 4: Hot Reload Setup
```json
// package.json
{
"scripts": {
"dev": "nodemon --watch src --exec ts-node src/index.ts",
"test:watch": "vitest watch"
}
}
```
## Output
- Development environment configuration
- Mock data for offline testing
- Test utilities for integration tests
- Hot reload for rapid iteration
## Error Handling
| 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 |
## Examples
### Integration Test
```typescript
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);
});
});
```
## Resources
- [Sandbox Environment](https://juicebox.ai/docs/sandbox)
- [Testing Guide](https://juicebox.ai/docs/testing)
## Next Steps
With local dev configured, explore `juicebox-sdk-patterns` for production patterns.
Wersje
W bazie nie ma innych skilli o nazwie juicebox-local-dev-loop.
Migawka bazy z 28.10.2026 · wersja paczki 331a879c111c (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100juicebox-install-auth
Instaluje SDK lub CLI Juicebox i konfiguruje uwierzytelnianie, w tym klucze API, przy starcie nowej integracji. - 100juicebox-install-auth
Instaluje i konfiguruje uwierzytelnianie API Juicebox PeopleGPT, potrzebne do wyszukiwania osób. - 100juicebox-common-errors
Diagnozuje i naprawia typowe błędy integracji z Juicebox, takie jak błędy API i problemy z połączeniem. - 100maintainx-local-dev-loop
Konfiguruje lokalną pętlę rozwojową dla integracji MaintainX: środowisko deweloperskie, lokalne testy wywołań API i przepływ pracy w sandboksie.