Build a version-aware Notion SDK boundary with typed operations, pagination, error classification, and test seams.

MITAuto-check passed

Install Notion SDK Patterns

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill notion-sdk-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace notion-sdk-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/notion-sdk-patterns .claude/skills/notion-sdk-patterns && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
notion-sdk-patterns
GitHub stars
2.8k
Token cost
~931 tokens
SKILL.md length
397 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Build a version-aware Notion SDK boundary with typed operations, pagination, error classification, and test seams.

  • Works in 6 steps: Define a narrow interface in domain… → Pin the SDK and selected tested API… → Implement data-source identity… → …
  • Reviewing client code
  • SKILL.md covers Overview, Prerequisites, Current Contract and Authentication, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Notion SDK Patterns is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a version-aware Notion SDK boundary with typed operations, pagination, error classification, and test seams. Use when writing or reviewing client code. Trigger with "design Notion SDK wrapper", "review Notion client code", or "update Notion SDK patterns".

Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/official-docs.md`). Compatibility notes: Designed for Claude Code; live Notion actions require network access and explicit approval

It works with Notion. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Reviewing client code
  • With design Notion SDK wrapper
  • Review Notion client code
  • Update Notion SDK patterns

Example prompts

  • “design Notion SDK wrapper”
  • “review Notion client code”
  • “update Notion SDK patterns”
  • “/notion-sdk-patterns”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code; live Notion actions require network access and explicit approval
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Write, Edit

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Define a narrow interface in domain terms rather than exporting the entire SDK client.
  2. Pin the SDK and selected tested API version with an upgrade matrix.
  3. Implement data-source identity resolution, complete pagination, property decoding, and unknown-field tolerance.
  4. Classify structured errors and Retry-After before applying bounded retry.
  5. Add idempotency and read-back at write boundaries, not inside generic transport retry.
  6. Test adapters with fixtures plus a bounded non-production contract lane.

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • Write
    • Edit

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code; live Notion actions require network access and explicit approval

    From compatibility in the SKILL.md frontmatter.

Context cost

Notion SDK Patterns loads about 931 tokens when it runs, and up to ~1.5k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 397 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~931
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 397 words, ~931 tokens.

Download SKILL.mdSave it as .claude/skills/notion-sdk-patterns/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
notion-sdk-patterns
description
Build a version-aware Notion SDK boundary with typed operations, pagination, error classification, and test seams. Use when writing or reviewing client code. Trigger with "design Notion SDK wrapper", "review Notion client code", or "update Notion SDK patterns".
allowed-tools
Read, Glob, Grep, Write, Edit
compatibility
Designed for Claude Code; live Notion actions require network access and explicit approval
argument-hint
<language> <operations> <api-version>
version
1.40.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, notion, sdk
model
inherit
effort
high

Notion SDK Contract Patterns

Overview

Build a version-aware Notion SDK boundary with typed operations, pagination, error classification, and test seams.. This workflow produces an auditable decision or artifact before any live action.

Prerequisites

  • Current first-party Notion documentation and the selected integration's tested API-version contract.
  • A named workspace owner, content or data owner, and operation owner.
  • Synthetic or approved non-production fixtures with secrets and workspace content removed.

Current Contract

The official JavaScript SDK exposes current database, data-source, page, block, file, search, and auth operations. Pin and test an SDK/API combination; tolerate additive response fields and isolate vendor shapes. Recheck the dated evidence map before relying on mutable fields, endpoints, versions, limits, or delivery behavior.

Authentication

Construct clients from a secret provider and tenant-bound connection profile. Never accept raw credentials through business-method arguments or return them in errors.

Instructions

  1. Define a narrow interface in domain terms rather than exporting the entire SDK client.
  2. Pin the SDK and selected tested API version with an upgrade matrix.
  3. Implement data-source identity resolution, complete pagination, property decoding, and unknown-field tolerance.
  4. Classify structured errors and Retry-After before applying bounded retry.
  5. Add idempotency and read-back at write boundaries, not inside generic transport retry.
  6. Test adapters with fixtures plus a bounded non-production contract lane.

Tool Discipline

Use Read, Glob, and Grep to inspect documentation, configuration, code, fixtures, and evidence. Use Write and Edit only for approved repository artifacts. Invocation alone does not authorize network access, credentials, workspace content, user data, file transfer, deployment, capability or sharing changes, writes, spend, or deletion.

Show full SKILL.md (139 more words)Show less

Approval Boundaries

Require review before exposing a new operation, capability, user field, content type, or live-write test.

Error Handling

  • Do not cast legacy database-query responses into current data-source types.
  • Do not retry all SDK exceptions.
  • Do not let an SDK default silently choose the production API contract.

Output

Return the interface, dependency and version pins, adapters, error map, pagination helper, write invariants, and contract tests. Identify assumptions, owners, expirations, and evidence gaps explicitly.

Examples

  • Wrap a data-source query behind a paginated domain iterator.
  • Decode unknown additive fields without failing the whole response.

Validation

Exercise and record these paths with expected and observed results:

  • multi-page
  • unknown field
  • wrong ID type
  • 429
  • timed-out write
  • SDK upgrade

Resources

  • Current first-party evidence map — recheck dated sources before relying on mutable behavior.
  • Treat observed tenant behavior as environment-specific evidence, never a universal Notion guarantee.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/.curated/notion-sdk-patterns of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/official-docs.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Notion SDK Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Notion SDK Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Notion SDK Patterns this skilljeremylongshore/tons-of-skills-marketplace2.8k—~931Automated safety check: PassMIT
Code Design Rationale Investigatorcursor/plugins11k9 repos~2.6kAutomated safety check: PassNone
Xiaohei Chinese Article Illustrationshelloianneo/ian-xiaohei-illustrations12k3 repos~470Automated safety check: WarnMIT
ComposioComposioHQ/composio30k1 repos~1.7kAutomated safety check: PassMIT
Debug SkillTypeCellOS/BlockNote10k—~1.8kAutomated safety check: PassCustom licence
Marketing PlanNexus-JPF/note-companion8705 repos~5.2kAutomated safety check: PassMIT

Similar skills

  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    11k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Xiaohei Chinese Article Illustrations

    helloianneo/ian-xiaohei-illustrations

    Plans and generates 16:9 hand-drawn illustrations for Chinese articles on a white background, with a recurring black character and a few red, orange and blue handwritten notes.

    12k GitHub starsUsed in 3 repos~470 tokens
    Media & CreativeAuto-check: warnings
  • Composio

    ComposioHQ/composio

    Route and complete Composio work across Composio For You and Composio Platform.

    30k GitHub starsUsed in 1 repo~1.7k tokens
    Productivity & AutomationAuto-check passed
  • Debug Skill

    TypeCellOS/BlockNote

    Instructions for navigating and debugging BlockNote in a browser.

    10k GitHub stars~1.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Marketing Plan

    Nexus-JPF/note-companion

    When the user needs a comprehensive marketing plan for a client, a company they advise, or their own product.

    870 GitHub starsUsed in 5 repos~5.2k tokens
    Marketing & SEOAuto-check passed
  • Docs Skill

    TypeCellOS/BlockNote

    Conventions and verification workflow for writing and restructuring the documentation site (docs/content).

    10k GitHub stars~1.9k tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Questions about Notion SDK Patterns

What does Notion SDK Patterns do?

Build a version-aware Notion SDK boundary with typed operations, pagination, error classification, and test seams. Notion SDK Patterns is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a version-aware Notion SDK boundary with typed operations, pagination, error classification, and test seams.

When should I use Notion SDK Patterns?

Notion SDK Patterns fits situations like: reviewing client code; with design Notion SDK wrapper; review Notion client code; update Notion SDK patterns.

How do I install Notion SDK Patterns in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill notion-sdk-patterns -a claude-code`. Or copy the skill folder (skills/.curated/notion-sdk-patterns in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/notion-sdk-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Notion SDK Patterns in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill notion-sdk-patterns -a codex`. Or copy the skill folder (skills/.curated/notion-sdk-patterns in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/notion-sdk-patterns in your project. Codex loads it when a task matches its description.

Can I use Notion SDK Patterns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill notion-sdk-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/notion-sdk-patterns, .gemini/skills/notion-sdk-patterns, .github/skills/notion-sdk-patterns and .opencode/skills/notion-sdk-patterns in your project.

What does Notion SDK Patterns need to run?

SKILL.md names no scripts, command-line tools or credentials: Notion SDK Patterns is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep, Write, Edit. Compatibility (from SKILL.md): Designed for Claude Code; live Notion actions require network access and explicit approval.

Does Notion SDK Patterns access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Notion SDK Patterns safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Notion SDK Patterns use?

Notion SDK Patterns is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Notion SDK Patterns use?

About 931 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 534 tokens, read only when the agent opens those files.

What are the alternatives to Notion SDK Patterns?

Skills that share tags, products or a category with Notion SDK Patterns: Code Design Rationale Investigator (cursor/plugins, 11k stars), Xiaohei Chinese Article Illustrations (helloianneo/ian-xiaohei-illustrations, 12k stars), Composio (ComposioHQ/composio, 30k stars) and Debug Skill (TypeCellOS/BlockNote, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Notion SDK Patterns?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.