Agent skill · Audited from source
Documenso Sdk Patterns
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 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 Documenso SDK patterns for TypeScript and Python.
Cite
Cite this page
ModelsAtlas. “Documenso Sdk Patterns (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/documenso-sdk-patterns
Trust audit
Audit 0.4.1 · source read 8 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 · 8 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/documenso-pack/skills/documenso-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 Documenso SDK patterns for TypeScript and Python.
--- name: documenso-sdk-patterns description: 'Apply production-ready Documenso SDK patterns for TypeScript and Python. Use when implementing Documenso integrations, refactoring SDK usage, or establishing team coding standards for Documenso. Trigger with phrases like "documenso SDK patterns", "documenso best practices", "documenso code patterns", "idiomatic documenso". ' allowed-tools: Read, Write, Edit version: 1.14.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - documenso - python - typescript compatibility: Designed for Claude Code --- # Documenso SDK Patterns ## Output - A scoped SDK boundary with document authorization, idempotency, redacted telemetry, and safe error handling. - A test-backed client design that never logs signing URLs, document content, signer PII, or credentials. ## Examples Instantiate the SDK with a development secret reference, create a synthetic test document with a stable idempotency key, and assert the mocked request shape in unit tests. For one development integration check, record only correlation ID and lifecycle state; never log document or signer payloads. ## Overview Production-ready patterns for the Documenso TypeScript SDK (`@documenso/sdk-typescript`) and Python SDK. Covers singleton clients, typed wrappers, error handling, retry logic, and testing patterns. ## Prerequisites - Completed `documenso-install-auth` setup - Familiarity with async/await and TypeScript generics - Understanding of error handling best practices ## Instructions ### Pattern 1: Singleton Client with Configuration ```typescript // src/documenso/client.ts import { Documenso } from "@documenso/sdk-typescript"; interface DocumensoConfig { apiKey: string; baseUrl?: string; timeout?: number; } let instance: Documenso | null = null; export function getDocumensoClient(config?: DocumensoConfig): Documenso { if (!instance) { const apiKey = config?.apiKey ?? process.env.DOCUMENSO_API_KEY; if (!apiKey) throw new Error("DOCUMENSO_API_KEY is required"); instance = new Documenso({ apiKey, ...(config?.baseUrl && { serverURL: config.baseUrl }), }); } return instance; } // Reset for testing export function resetClient(): void { instance = null; } ``` ### Pattern 2: Typed Document Service ```typescript // src/documenso/documents.ts import { getDocumensoClient } from "./client"; export interface CreateDocumentInput { title: string; pdfPath: string; signers: Array<{ email: string; name: string; fields: Array<{ type: "SIGNATURE" | "INITIALS" | "NAME" | "EMAIL" | "DATE" | "TEXT"; pageNumber: number; pageX: number; pageY: number; pageWidth?: number; pageHeight?: number; }>; }>; } export interface DocumentResult { documentId: number; recipientIds: number[]; status: "DRAFT" | "PENDING" | "COMPLETED"; } export async function createAndSendDocument( input: CreateDocumentInput ): Promise<DocumentResult> { const client = getDocumensoClient(); const { readFileSync } = await import("fs"); // Create document const doc = await client.documents.createV0({ title: input.title }); // Upload PDF const pdfBuffer = readFileSync(input.pdfPath); await client.documents.setFileV0(doc.documentId, { file: new Blob([pdfBuffer], { type: "application/pdf" }), }); // Add recipients and fields const recipientIds: number[] = []; for (const signer of input.signers) { const recipient = await client.documentsRecipients.createV0(doc.documentId, { email: signer.email, name: signer.name, role: "SIGNER", }); recipientIds.push(recipient.recipientId); for (const field of signer.fields) { await client.documentsFields.createV0(doc.documentId, { recipientId: recipient.recipientId, type: field.type, pageNumber: field.pageNumber, pageX: field.pageX, pageY: field.pageY, pageWidth: field.pageWidth ?? 20, pageHeight: field.pageHeight ?? 5, }); } } // Send await client.documents.sendV0(doc.documentId); return { documentId: doc.documentId, recipientIds, status: "PENDING" }; } ``` ### Pattern 3: Error Handling Wrapper ```typescript // src/documenso/errors.ts export class DocumensoError extends Error { constructor( message: string, public statusCode?: number, public retryable: boolean = false ) { super(message); this.name = "DocumensoError"; } } export async function withErrorHandling<T>( operation: string, fn: () => Promise<T> ): Promise<T> { try { return await fn(); } catch (err: any) { const status = err.statusCode ?? err.status; switch (status) { case 401: throw new DocumensoError(`${operation}: Invalid API key`, 401, false); case 403: throw new DocumensoError( `${operation}: Insufficient permissions — use team API key`, 403, false ); case 404: throw new DocumensoError(`${operation}: Resource not found`, 404, false); case 429: throw new DocumensoError(`${operation}: Rate limited`, 429, true); case 500: case 502: case 503: throw new DocumensoError( `${operation}: Documenso server error`, status, true ); default: throw new DocumensoError( `${operation}: ${err.message ?? "Unknown error"}`, status, false ); } } } ``` ### Pattern 4: Retry with Exponential Backoff ```typescript // src/documenso/retry.ts import { DocumensoError } from "./errors"; interface RetryConfig { maxRetries: number; baseDelayMs: number; maxDelayMs: number; } const DEFAULT_RETRY: RetryConfig = { maxRetries: 3, baseDelayMs: 1000, maxDelayMs: 30000, }; export async function withRetry<T>( fn: () => Promise<T>, config: Partial<RetryConfig> = {} ): Promise<T> { const { maxRetries, ba
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 |
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/documenso-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/documenso-sdk-patterns/)
<a href="https://modelsatlas.com/skills/jeremylongshore/documenso-sdk-patterns/"><img src="https://modelsatlas.com/skills/jeremylongshore/documenso-sdk-patterns/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Documenso Sdk Patterns
What does the Documenso Sdk Patterns skill do?
Is Documenso Sdk Patterns safe to install?
What can Documenso Sdk Patterns access on my machine?
Which assistants does Documenso 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 · 8 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 Documenso Sdk Patterns skill do?
- Is Documenso Sdk Patterns safe to install?
- What can Documenso Sdk Patterns access on my machine?