AGENT SKILL

juicebox-core-workflow-b

Implement Juicebox candidate enrichment workflow. Use when enriching profile data, gathering additional candidate details, or building comprehensive candidate profiles. Trigger with phrases like "juicebox enrich profile", "juicebox candidate details", "enrich candidate data", "juicebox profile enrichment".

License 许可
MIT
最近更新
2026-11-15
Stars
★ 2.0k
Forks
233

01 前言 Front Matter

name
juicebox-core-workflow-b
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
version
1.0.0
description
Implement Juicebox candidate enrichment workflow. Use when enriching profile data, gathering additional candidate details, or building comprehensive candidate profiles. Trigger with phrases like "juicebox enrich profile", "juicebox candidate details", "enrich candidate data", "juicebox profile enrichment".
allowed-tools
Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep

03 SKILL.md 正文

Juicebox Candidate Enrichment Workflow

Overview

Enrich candidate profiles with additional data including contact information, work history, and skills verification.

Prerequisites

  • Juicebox SDK configured
  • Search workflow implemented (juicebox-core-workflow-a)
  • Data storage for enriched profiles

Instructions

Step 1: Define Enrichment Schema

// types/enrichment.ts
export interface EnrichedProfile {
  id: string;
  basicInfo: {
    name: string;
    title: string;
    company: string;
    location: string;
  };
  contact: {
    email?: string;
    phone?: string;
    linkedin?: string;
  };
  experience: WorkExperience[];
  education: Education[];
  skills: Skill[];
  lastEnriched: Date;
}

export interface WorkExperience {
  company: string;
  title: string;
  startDate: string;
  endDate?: string;
  description?: string;
}

Step 2: Implement Enrichment Service

// services/enrichment.ts
import { JuiceboxService } from '../lib/juicebox-client';

export class ProfileEnrichmentService {
  constructor(private juicebox: JuiceboxService) {}

  async enrichProfile(profileId: string): Promise<EnrichedProfile> {
    // Fetch full profile details
    const fullProfile = await this.juicebox.getProfile(profileId, {
      include: ['contact', 'experience', 'education', 'skills']
    });

    // Validate and structure data
    const enriched: EnrichedProfile = {
      id: profileId,
      basicInfo: {
        name: fullProfile.name,
        title: fullProfile.title,
        company: fullProfile.company,
        location: fullProfile.location
      },
      contact: {
        email: fullProfile.email,
        phone: fullProfile.phone,
        linkedin: fullProfile.linkedinUrl
      },
      experience: this.parseExperience(fullProfile.workHistory),
      education: this.parseEducation(fullProfile.education),
      skills: this.parseSkills(fullProfile.skills),
      lastEnriched: new Date()
    };

    return enriched;
  }

  async batchEnrich(profileIds: string[]): Promise<EnrichedProfile[]> {
    const batchSize = 10;
    const results: EnrichedProfile[] = [];

    for (let i = 0; i < profileIds.length; i += batchSize) {
      const batch = profileIds.slice(i, i + batchSize);
      const enriched = await Promise.all(
        batch.map(id => this.enrichProfile(id))
      );
      results.push(...enriched);

      // Rate limit protection
      if (i + batchSize < profileIds.length) {
        await sleep(1000);
      }
    }

    return results;
  }
}

Step 3: Store Enriched Data

// storage/profiles.ts
export class ProfileStorage {
  async saveEnrichedProfile(profile: EnrichedProfile): Promise<void> {
    await db.profiles.upsert({
      where: { id: profile.id },
      create: profile,
      update: {
        ...profile,
        lastEnriched: new Date()
      }
    });
  }

  async getStaleProfiles(olderThan: Date): Promise<string[]> {
    const stale = await db.profiles.findMany({
      where: {
        lastEnriched: { lt: olderThan }
      },
      select: { id: true }
    });
    return stale.map(p => p.id);
  }
}

Output

  • Enriched profile schema
  • Batch enrichment service
  • Data persistence layer
  • Freshness tracking

Error Handling

Error Cause Solution
Profile Not Found Invalid ID Verify profile exists
Partial Data Limited access Handle optional fields
Rate Limited Too many requests Implement backoff

Examples

Enrichment Pipeline

const enrichmentService = new ProfileEnrichmentService(juicebox);
const storage = new ProfileStorage();

// Enrich search results
const candidates = await searchPipeline.searchCandidates(criteria);
const profileIds = candidates.slice(0, 20).map(c => c.id);

const enriched = await enrichmentService.batchEnrich(profileIds);

for (const profile of enriched) {
  await storage.saveEnrichedProfile(profile);
  console.log(`Enriched: ${profile.basicInfo.name}`);
}

Resources

Next Steps

After enrichment, explore juicebox-common-errors for error handling patterns.

04 同仓库更多 Skills

Dicklesworthstone
Dicklesworthstone/pi_agent_rust

theme-factory

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

视觉设计
★ 2.0k
Dicklesworthstone
Dicklesworthstone/pi_agent_rust

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

前端开发
★ 2.0k
Dicklesworthstone
Dicklesworthstone/pi_agent_rust

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

测试与质量前端开发
★ 2.0k
Dicklesworthstone
Dicklesworthstone/pi_agent_rust

neuropixels-analysis

Neuropixels neural recording analysis. Load SpikeGLX/OpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen/IBL curation, AI-assisted visual analysis, for Neuropixels 1.0/2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.

★ 2.0k
Dicklesworthstone
Dicklesworthstone/pi_agent_rust

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

Skill与智能体开发
★ 2.0k
Dicklesworthstone
Dicklesworthstone/pi_agent_rust

notebooklm

Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.

Skill与智能体开发
★ 2.0k