Synthèse automatique
Guide avancé pour migrer des données de recrutement (LinkedIn Recruiter, Greenhouse, Lever, ATS maison, CSV) vers Juicebox, avec évaluation de la source, mapping de schéma et transformation des enregistrements.
Points forts
- Fournit un script d'évaluation de la source (doublons, couverture des champs, score de qualité, temps estimé) avant toute migration
- Donne un tableau comparatif des sources avec leur complexité et leurs problèmes récurrents
- Propose une classe SchemaMapper réutilisable avec mappings déclaratifs, transformations et gestion des valeurs nulles
- Couvre les cas d'import en masse via le plan Enterprise et l'accès kubectl/curl pour l'exécution
Limites
- Le contenu fourni s'arrête au mapping de schéma : les étapes de chargement, de validation post-migration et de rollback ne sont pas détaillées
- Suppose l'accès aux données source et un plan Juicebox Enterprise pour les imports en masse
- Les exemples sont spécifiques à LinkedIn et au TypeScript, avec peu d'indications pour les ATS maison
À utiliser lorsqu'on planifie une migration de données de recrutement vers Juicebox et qu'il faut évaluer la source, définir le mapping et transformer les enregistrements.
À éviter si vous cherchez une documentation sur l'utilisation quotidienne de Juicebox ou si vous n'avez pas accès aux exports de données source.
Analyse de sécurité
PrudenceThe content contains no destructive commands, no curl|sh piping, no base64 payloads, and no attempts to exfiltrate secrets or disable safety controls — it is ordinary TypeScript migration scaffolding. The risk is elevated only to 'caution' because it grants broad shell/network and cluster access for legitimate bulk-migration purposes and processes large volumes of personal data without any privacy or rollback safeguards.
- •Declares broad Bash(kubectl:*) and Bash(curl:*) permissions; while plausible for migration/import work, unrestricted curl allows arbitrary outbound network requests and kubectl allows cluster-wide actions with no scoping in the instructions.
- •Skill handles sensitive PII (emails, names, phone numbers, LinkedIn profile URLs) at scale with no guidance on consent, retention, encryption, or where that data may be transmitted.
- •Includes Write/Edit with no guardrails or backup/rollback instructions before bulk import operations that could overwrite existing records.
Exemples
I need to migrate our LinkedIn Recruiter exports into Juicebox. Can you assess the sample CSV I've placed in ./data and tell me the field coverage, duplicate rate, and estimated migration time?Create a SchemaMapper for our Greenhouse export mapping into Juicebox, including a location normalizer and a required/optional flag for each field.Our homegrown ATS exports JSON with nested candidate objects. Help me write a transformation pipeline to flatten and map it into Juicebox, then run a dry-run bulk import.name: juicebox-migration-deep-dive description: | Advanced Juicebox data migration strategies. Use when migrating from other recruiting platforms, performing bulk data imports, or implementing complex data transformation pipelines. Trigger with phrases like "juicebox data migration", "migrate to juicebox", "juicebox import", "juicebox bulk migration". allowed-tools: Read, Write, Edit, Bash(kubectl:), Bash(curl:) version: 1.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io
Juicebox Migration Deep Dive
Overview
Advanced strategies for migrating data to Juicebox from other recruiting and people search platforms.
Prerequisites
- Source data access and export capabilities
- Juicebox Enterprise plan (for bulk imports)
- Data mapping documentation
- Testing environment
Migration Sources
| Source | Complexity | Common Issues | |--------|------------|---------------| | LinkedIn Recruiter | Medium | Rate limits, field mapping | | Greenhouse | Low | Well-documented API | | Lever | Low | Standard export format | | Custom ATS | High | Custom transformation needed | | CSV/Excel | Low | Data quality issues |
Instructions
Step 1: Data Assessment
// scripts/assess-source-data.ts
interface DataAssessment {
totalRecords: number;
uniqueProfiles: number;
duplicates: number;
fieldCoverage: Record<string, number>;
dataQualityScore: number;
estimatedMigrationTime: string;
}
export async function assessSourceData(
source: string,
sampleSize: number = 1000
): Promise<DataAssessment> {
const sample = await loadSampleData(source, sampleSize);
const assessment: DataAssessment = {
totalRecords: sample.total,
uniqueProfiles: new Set(sample.records.map(r => r.email)).size,
duplicates: sample.total - new Set(sample.records.map(r => r.email)).size,
fieldCoverage: calculateFieldCoverage(sample.records),
dataQualityScore: calculateQualityScore(sample.records),
estimatedMigrationTime: estimateMigrationTime(sample.total)
};
return assessment;
}
function calculateFieldCoverage(records: any[]): Record<string, number> {
const fields = ['name', 'email', 'title', 'company', 'location', 'phone'];
const coverage: Record<string, number> = {};
for (const field of fields) {
const count = records.filter(r => r[field] && r[field].trim()).length;
coverage[field] = (count / records.length) * 100;
}
return coverage;
}
Step 2: Schema Mapping
// lib/migration/schema-mapper.ts
export interface FieldMapping {
sourceField: string;
targetField: string;
transform?: (value: any) => any;
required: boolean;
}
export const linkedInMapping: FieldMapping[] = [
{ sourceField: 'firstName', targetField: 'first_name', required: true },
{ sourceField: 'lastName', targetField: 'last_name', required: true },
{
sourceField: 'fullName',
targetField: 'name',
transform: (v) => v || undefined,
required: false
},
{ sourceField: 'headline', targetField: 'title', required: false },
{ sourceField: 'companyName', targetField: 'company', required: false },
{
sourceField: 'location',
targetField: 'location',
transform: normalizeLocation,
required: false
},
{
sourceField: 'profileUrl',
targetField: 'linkedin_url',
transform: normalizeLinkedInUrl,
required: false
},
{
sourceField: 'connectionDegree',
targetField: 'metadata.connection_degree',
required: false
}
];
export class SchemaMapper {
constructor(private mappings: FieldMapping[]) {}
mapRecord(source: Record<string, any>): Record<string, any> {
const target: Record<string, any> = {};
for (const mapping of this.mappings) {
let value = this.getNestedValue(source, mapping.sourceField);
if (mapping.transform) {
value = mapping.transform(value);
}
if (value !== undefined && value !== null && value !== '') {
this.setNestedValue(target, mapping.targetField, value);
} else if (mapping.required) {
throw new Error(`Required field missing: ${mapping.sourceField}`);
}
}
return target;
}
}
Step 3: Data Transformation Pipeline
// lib/migration/pipeline.ts
import { Transform, pipeline } from 'stream';
import { promisify } from 'util';
const pipelineAsync = promisify(pipeline);
export class MigrationPipeline {
private stages: Transform[] = [];
addStage(name: string, transform: (record: any) => any): this {
this.stages.push(new Transform({
objectMode: true,
transform(record, encoding, callback) {
try {
const result = transform(record);
if (result) {
this.push(result);
}
callback();
} catch (error) {
callback(error as Error);
}
}
}));
return this;
}
async run(source: Readable, destination: Writable): Promise<MigrationStats> {
const stats = new MigrationStats();
const statsTracker = new Transform({
objectMode: true,
transform(record, encoding, callback) {
stats.increment();
this.push(record);
callback();
}
});
await pipelineAsync(
source,
...this.stages,
statsTracker,
destination
);
return stats;
}
}
// Usage
const pipeline = new MigrationPipeline()
.addStage('parse', parseCSVRecord)
.addStage('validate', validateRecord)
.addStage('deduplicate', deduplicateRecord)
.addStage('transform', transformToJuiceboxSchema)
.addStage('enrich', enrichWithMetadata);
Step 4: Bulk Import with Rate Limiting
// lib/migration/bulk-importer.ts
export class BulkImporter {
private rateLimiter: RateLimiter;
private batchSize: number;
private maxConcurrent: number;
constructor(options: {
requestsPerSecond: number;
batchSize: number;
maxConcurrent: number;
}) {
this.rateLimiter = new RateLimiter(options.requestsPerSecond);
this.batchSize = options.batchSize;
this.maxConcurrent = options.maxConcurrent;
}
async import(records: Profile[]): Promise<ImportResult> {
const result: ImportResult = {
total: records.length,
successful: 0,
failed: 0,
errors: []
};
// Split into batches
const batches = chunk(records, this.batchSize);
// Process batches with concurrency limit
const semaphore = new Semaphore(this.maxConcurrent);
await Promise.all(batches.map(async (batch, index) => {
await semaphore.acquire();
try {
await this.rateLimiter.wait();
const batchResult = await this.importBatch(batch);
result.successful += batchResult.successful;
result.failed += batchResult.failed;
result.errors.push(...batchResult.errors);
logger.info(`Batch ${index + 1}/${batches.length} complete`, {
successful: batchResult.successful,
failed: batchResult.failed
});
} finally {
semaphore.release();
}
}));
return result;
}
private async importBatch(batch: Profile[]): Promise<BatchResult> {
try {
const response = await juiceboxClient.profiles.bulkImport(batch);
return {
successful: response.created + response.updated,
failed: response.failed,
errors: response.errors
};
} catch (error) {
return {
successful: 0,
failed: batch.length,
errors: [{ message: (error as Error).message, records: batch }]
};
}
}
}
Step 5: Validation and Reconciliation
// lib/migration/validator.ts
export class MigrationValidator {
async validateMigration(
sourceCount: number,
destinationQuery: string
): Promise<ValidationReport> {
const report: ValidationReport = {
sourceCount,
destinationCount: 0,
matchRate: 0,
missingRecords: [],
dataIntegrityIssues: []
};
// Count destination records
const destResult = await juiceboxClient.search.people({
query: destinationQuery,
limit: 0
});
report.destinationCount = destResult.total;
report.matchRate = (report.destinationCount / sourceCount) * 100;
// Sample validation
const sampleSize = Math.min(100, sourceCount);
const sample = await this.getSampleFromSource(sampleSize);
for (const record of sample) {
const match = await this.findInDestination(record);
if (!match) {
report.missingRecords.push(record.id);
} else {
const issues = this.compareRecords(record, match);
if (issues.length > 0) {
report.dataIntegrityIssues.push({
recordId: record.id,
issues
});
}
}
}
return report;
}
private compareRecords(source: any, dest: any): string[] {
const issues: string[] = [];
const criticalFields = ['name', 'email', 'company'];
for (const field of criticalFields) {
if (source[field] !== dest[field]) {
issues.push(`${field} mismatch: "${source[field]}" vs "${dest[field]}"`);
}
}
return issues;
}
}
Step 6: Rollback Strategy
// lib/migration/rollback.ts
export class MigrationRollback {
private checkpointFile: string;
constructor(migrationId: string) {
this.checkpointFile = `./checkpoints/${migrationId}.json`;
}
async saveCheckpoint(state: MigrationState): Promise<void> {
await fs.writeFile(this.checkpointFile, JSON.stringify(state, null, 2));
}
async loadCheckpoint(): Promise<MigrationState | null> {
try {
const data = await fs.readFile(this.checkpointFile, 'utf-8');
return JSON.parse(data);
} catch {
return null;
}
}
async rollback(migrationId: string): Promise<RollbackResult> {
const checkpoint = await this.loadCheckpoint();
if (!checkpoint) {
throw new Error('No checkpoint found for rollback');
}
// Delete imported records
const deleted = await juiceboxClient.profiles.bulkDelete({
filter: { migrationId }
});
return {
recordsRolledBack: deleted.count,
checkpoint: checkpoint.lastProcessedId
};
}
}
Migration Checklist
## Pre-Migration
- [ ] Source data exported and validated
- [ ] Field mapping documented
- [ ] Test migration on sample data
- [ ] Rollback plan documented
- [ ] Stakeholder sign-off
## During Migration
- [ ] Monitoring dashboards active
- [ ] Progress tracking enabled
- [ ] Error logging configured
- [ ] Checkpoint saves working
## Post-Migration
- [ ] Reconciliation complete
- [ ] Data integrity verified
- [ ] Source system archived
- [ ] Documentation updated
- [ ] Team training complete
Output
- Data assessment tools
- Schema mapping configuration
- Transformation pipeline
- Bulk import with rate limiting
- Validation and reconciliation
Resources
Summary
This skill pack completes the enterprise-grade Juicebox integration toolkit.
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/advanced-juicebox-data-migration-mm5t8c2m/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/advanced-juicebox-data-migration-mm5t8c2m' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/advanced-juicebox-data-migration-mm5t8c2m/download' --output '.skill-downloads/advanced-juicebox-data-migration-mm5t8c2m/SKILL.md.part' && mv '.skill-downloads/advanced-juicebox-data-migration-mm5t8c2m/SKILL.md.part' '.skill-downloads/advanced-juicebox-data-migration-mm5t8c2m/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Outils déclarés par l’auteur (à vérifier dans votre agent) : Read, Write, Edit, Bash(kubectl:*), Bash(curl:*)
Extrait original : Prerequisites
- Source data access and export capabilities
- Juicebox Enterprise plan (for bulk imports)
- Data mapping documentation
- Testing environment
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/advanced-juicebox-data-migration-mm5t8c2m/SKILL.md' && test -s '.skill-downloads/advanced-juicebox-data-migration-mm5t8c2m/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/juicebox-migration-deep-dive' && cp -R '.skill-downloads/advanced-juicebox-data-migration-mm5t8c2m' '.claude/skills/juicebox-migration-deep-dive'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/advanced-juicebox-data-migration-mm5t8c2m'openskills read 'advanced-juicebox-data-migration-mm5t8c2m'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/advanced-juicebox-data-migration-mm5t8c2m/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Créer des cartes interactives avec kepler.gl
Data & IA
Création de cartes interactives et export HTML autonome avec le package Python keplergl, à partir de données géospatiales (DataFrame, GeoJSON, CSV).
Optimisation de paramètres par agent
Data & IA
Guide d'optimisation de systèmes configurables avec objectif mesurable, via des essais bornés et une recommandation fondée sur des preuves.
Relance des visiteurs ICP
Data & IA
Identifiez les utilisateurs inscrits correspondant au profil client idéal mais qui n'ont pas activé, et rédigez des messages de relance personnalisés pour les réengager.