Agent skill · Audited from source
Lokalise Sdk Patterns
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 9 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Apply production-ready Lokalise SDK patterns for TypeScript and Node.js.
Cite
Cite this page
ModelsAtlas. “Lokalise Sdk Patterns (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/lokalise-sdk-patterns
Trust audit
Audit 0.4.1 · source read 9 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 4f83675ca38a · 9 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/lokalise-pack/skills/lokalise-sdk-patternsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Apply production-ready Lokalise SDK patterns for TypeScript and Node.js.
--- name: lokalise-sdk-patterns description: 'Apply production-ready Lokalise SDK patterns for TypeScript and Node.js. Use when implementing Lokalise integrations, refactoring SDK usage, or establishing team coding standards for Lokalise. Trigger with phrases like "lokalise SDK patterns", "lokalise best practices", "lokalise code patterns", "idiomatic lokalise". ' allowed-tools: Read, Write, Edit version: 1.14.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - lokalise - typescript - nodejs compatibility: Designed for Claude Code --- # Lokalise SDK Patterns ## Overview Production-grade patterns for `@lokalise/node-api`: client singleton, cursor pagination, typed error handling, batch operations, upload monitoring, and retry with rate limiting. ## Prerequisites - `@lokalise/node-api` v12+ installed - TypeScript 5+ with `strict` mode ## Instructions 1. Create a client singleton to centralize configuration and support branch-based project IDs. ```typescript // src/lib/lokalise-client.ts import { LokaliseApi } from "@lokalise/node-api"; let instance: LokaliseApi | null = null; export function getClient(apiKey?: string): LokaliseApi { if (instance) return instance; const key = apiKey ?? process.env.LOKALISE_API_TOKEN; if (!key) throw new Error("Set LOKALISE_API_TOKEN or pass apiKey"); instance = new LokaliseApi({ apiKey: key, enableCompression: true }); return instance; } export function resetClient(): void { instance = null; } /** Lokalise branch syntax: "projectId:branchName" */ export function projectId(id: string, branch?: string): string { return branch ? `${id}:${branch}` : id; } ``` 1. Build a cursor-based pagination helper that works with any paginated endpoint. ```typescript // src/lib/paginate.ts interface PaginatedResult<T> { items: T[]; hasNextCursor(): boolean; nextCursor(): string; } type Fetcher<T> = (params: Record<string, unknown>) => Promise<PaginatedResult<T>>; /** Async generator yielding all items across pages with rate-limit spacing. */ export async function* paginate<T>( fetcher: Fetcher<T>, baseParams: Record<string, unknown>, pageSize = 500 ): AsyncGenerator<T, void, undefined> { let cursor: string | undefined; let n = 0; do { const params = { ...baseParams, limit: pageSize, ...(cursor ? { cursor } : {}) }; if (n++ > 0) await new Promise((r) => setTimeout(r, 170)); // 6 req/sec const page = await fetcher(params); for (const item of page.items) yield item; cursor = page.hasNextCursor() ? page.nextCursor() : undefined; } while (cursor); } /** Collect all pages into an array (use only when dataset fits in memory). */ export async function paginateAll<T>(fetcher: Fetcher<T>, params: Record<string, unknown>): Promise<T[]> { const out: T[] = []; for await (const item of paginate(fetcher, params)) out.push(item); return out; } ``` Usage: ```typescript const allKeys = await paginateAll( (p) => client.keys().list(p), { project_id: "123456.abcdef", include_translations: 1 } ); ``` 1. Wrap API calls with structured error handling that classifies retryable errors. ```typescript // src/lib/lokalise-api.ts export class LokaliseError extends Error { constructor( message: string, public readonly statusCode: number, public readonly isRetryable: boolean ) { super(message); this.name = "LokaliseError"; } } export async function apiCall<T>(fn: () => Promise<T>): Promise<T> { try { return await fn(); } catch (err: unknown) { if (err && typeof err === "object" && "code" in err) { const e = err as { code: number; message: string }; throw new LokaliseError(e.message, e.code, e.code === 429 || e.code >= 500); } throw err; } } // Usage try { const keys = await apiCall(() => client.keys().list({ project_id: pid, limit: 500 })); } catch (err) { if (err instanceof LokaliseError && err.isRetryable) { console.log("Transient failure, safe to retry"); } } ``` 1. Batch key operations that chunk requests to respect the 500-key-per-request limit. ```typescript // src/lib/batch.ts function chunk<T>(arr: T[], size: number): T[][] { const out: T[][] = []; for (let i = 0; i < arr.length; i += size) out.push(arr.slice(i, i + size)); return out; } /** Create keys in batches of 500 with rate-limit spacing. */ export async function batchCreateKeys( client: LokaliseApi, projectId: string, keys: Array<{ key_name: { web: string }; platforms: string[]; tags?: string[]; translations?: Array<{ language_iso: string; translation: string }> }> ): Promise<{ created: number; errors: Error[] }> { const batches = chunk(keys, 500); let created = 0; const errors: Error[] = []; for (let i = 0; i < batches.length; i++) { try { const r = await client.keys().create({ project_id: projectId, keys: batches[i] }); created += r.items.length; } catch (err) { errors.push(err as Error); } if (i < batches.length - 1) await new Promise((r) => setTimeout(r, 500)); } return { created, errors }; } /** Delete keys in batches of 500. */ export async function batchDeleteKeys( client: LokaliseApi, projectId: string, keyIds: number[] ): Promise<number> { const batches = chunk(keyIds, 500); let deleted = 0; for (let i = 0; i < batches.length; i++) { const r = await client.keys().bulk_delete(batches[i], { project_id: projectId }); deleted += r.keys_removed; if (i < batches.length - 1) await new Promise((r) => setTimeout(r, 500)); } return deleted; } ``` 1. Upload files with async process monitoring and progress callbacks. ```typescript // src/lib/upload.ts import { readFileSync } from "node:fs"; export async function uploadWithProgress( client: LokaliseApi, projectId: string, opts: { filePath: string; langIso: string; tags?: string[]; replaceModified?: boolean; cleanupMode?: boolean }, onProgress?: (status: string, elapsedMs: number) => void ): Promise<{ processI
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/lokalise-sdk-patterns/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/lokalise-sdk-patterns/)
<a href="https://modelsatlas.com/skills/jeremylongshore/lokalise-sdk-patterns/"><img src="https://modelsatlas.com/skills/jeremylongshore/lokalise-sdk-patterns/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Lokalise Sdk Patterns
What does the Lokalise Sdk Patterns skill do?
Is Lokalise Sdk Patterns safe to install?
What can Lokalise Sdk Patterns access on my machine?
Which assistants does Lokalise Sdk Patterns work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Lokalise Sdk Patterns skill do?
- Is Lokalise Sdk Patterns safe to install?
- What can Lokalise Sdk Patterns access on my machine?