algolia-data-handling

Featured

Implement Algolia data handling: record transforms, PII filtering before indexing, data retention, GDPR/CCPA compliance with Algolia's deleteByQuery and Insights deletion. Trigger: "algolia data", "algolia PII", "algolia GDPR", "algolia data retention", "algolia privacy", "algolia CCPA", "algolia data sync".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Algolia Data Handling ## Overview Algolia stores your records in their cloud. You control what data goes in (via `saveObjects`), what comes back (via `attributesToRetrieve`), and what users can search (via `searchableAttributes`). For privacy compliance, you must filter PII before indexing and implement deletion workflows. ## Data Flow: Source → Algolia → User ``` Source Database Transform Algolia Index Search Response ┌──────────┐ ┌──────────────┐ ┌──────────────────┐ ┌──────────────┐ │ Full user │ │ Strip PII │ │ Searchable │ │ Retrieved │ │ record │ ──▶ │ Truncate │ ──▶ │ fields only │ ──▶ │ fields only │ │ (all cols)│ │ Normalize │ │ + ranking data │ │ (UI needs) │ └──────────┘ └──────────────┘ └──────────────────┘ └──────────────┘ ``` ## Instructions ### Step 1: Transform Records Before Indexing ```typescript import { algoliasearch } from 'algoliasearch'; const client = algoliasearch(process.env.ALGOLIA_APP_ID!, process.env.ALGOLIA_ADMIN_KEY!); // Define what goes into Algolia — NOT everything from your DB interface AlgoliaProduct { objectID: string; name: string; description: string; // Truncated, plain text category: string; brand: string; price: number; in_stock: boolean; image_url: string; rating: number; _tags: string[]; } function transformForAlgolia(dbRecord: any): AlgoliaProduct { return { objectID: dbRecord.id, ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category