ClickUp Typed Client Patterns

SkillDev tools

Build a typed ClickUp client from official OpenAPI contracts with explicit version routing, auth injection, error typing, pagination, and retry policy. Use when creating a reusable ClickUp adapter. Trigger with "ClickUp SDK", "ClickUp client wrapper", or "typed ClickUp API".

Use ClickUp Typed Client Patterns in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add ClickUp Typed Client Patterns and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the ClickUp Typed Client Patterns skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

ClickUp Typed Client PatternsStart free

What this skill tells your AI

The instructions your AI receives, as published by jeremylongshore/tons-of-skills-marketplace in skills/.curated/clickup-sdk-patterns/SKILL.md and read by Ahel’s review.

Overview

Keep application code independent of transport details without presenting an ungoverned third-party wrapper as an official SDK.

Prerequisites

  • Pinned official v2 and v3 OpenAPI documents or reviewed endpoint schemas
  • A server-side HTTP runtime, validation library, and test framework
  • Auth, Workspace, timeout, retry, redaction, and observability policies

Tool Discipline

Use Read, Glob, and Grep to inspect the repository, adapters, configuration names, tests, and evidence. Use WebFetch only for current official ClickUp documentation. Use Write or Edit after confirming the target file, Workspace boundary, and requested mode.

Current Contract

  • ClickUp publishes v2 and v3 OpenAPI specifications suitable for generation.
  • Route every operation to an explicit version/base path and preserve ClickUp field types, including nullable webhook fields.
  • Inject personal or OAuth tokens at call time and never store them in client objects serialized to logs.
  • Retry only idempotent transient operations by default; writes need durable application idempotency.

Authentication

Use a personal token only for accountable individual/testing work or OAuth Authorization Code for a user-facing integration. Inject the token server-side through a governed secret reference, send it in Authorization, verify authorized Workspace IDs, and never print the token, OAuth client secret, or webhook secret.

Instructions

  1. Inventory required operations and pin the matching official schema/version digest.
  2. Generate or hand-write a narrow transport and wrap it behind domain-oriented interfaces.
  3. Inject auth, Workspace allow-list, timeouts, content type, and redacted telemetry centrally.
  4. Create endpoint-specific pagination helpers instead of one incorrect universal iterator.
  5. Map statuses/error codes into typed retryable, authorization, plan, validation, and unknown classes.
  6. Test fixtures, schema drift, cancellation, retry ceilings, partial writes, and version migration seams.

Approval Boundaries

Do not auto-generate broad production access, silently fall back between API versions, or retry writes without a durable source key and owner policy.

Output

Return schema pins, supported operations, version routing, auth boundary, error/pagination policies, test coverage, and unsupported surfaces.

Error Handling

ConditionResponse
Generated client exposes the tokenBlock release and correct serialization/logging.
Schema has breaking driftRegenerate in a review branch and run contract tests.
Endpoint pagination is unknownRefuse full-scan claims until documented.
Write outcome is ambiguousReconcile by durable source ID before retry.

Examples

The example below is a redacted operator receipt; it contains no task text, member data, credential, or webhook secret.

schemas=v2@sha256:...+v3@sha256:...; operations=11; direct-http=0; write-retry=off; contracts=pass

Resources

Signals

GitHub stars
3k
Forks
415
Last commit
Oct 2026
Advanced
Item type
skill
Key
clickup-sdk-patterns
Source
github.com/jeremylongshore/tons-of-skills-marketplace