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".
Enriches candidate profiles with contact info, work history, and skills data.
/plugin marketplace add jeremylongshore/claude-code-plugins-plus-skills/plugin install juicebox-pack@claude-code-plugins-plusThis skill is limited to using the following tools:
Enrich candidate profiles with additional data including contact information, work history, and skills verification.
juicebox-core-workflow-a)// 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;
}
// 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;
}
}
// 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);
}
}
| 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 |
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}`);
}
After enrichment, explore juicebox-common-errors for error handling patterns.
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.