Skip to content
basecampPublic

About

37signals SDK toolkit

Resources

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

37signals SDKs

Official API clients for Basecamp, HEY, and Fizzy, generated from Smithy specifications with consistent authentication, retry, pagination, and error handling. Basecamp ships in seven languages, Fizzy in six and HEY in five. These libraries power our CLIs and agent skills.

SDK What it does Repo Status
Basecamp Projects, to-dos, messages, schedules, campfires, card tables, and more basecamp/basecamp-sdk Available
HEY Email triage, contacts, screening, and search basecamp/hey-sdk Available
Fizzy Boards, cards, columns, and workflows basecamp/fizzy-sdk Available

Languages

A tick means the SDK's repository has that language's package and a release-<language>.yml workflow for it, read from each repository's main. Whether a given release has published every package is that repository's release record, not this table.

Language Package format Basecamp HEY Fizzy
Go Go module ✓ ✓ ✓
TypeScript npm ✓ ✓ ✓
Ruby gem ✓ ✓
Swift SPM ✓ ✓ ✓
Kotlin GitHub Packages ✓ ✓ ✓
Python PyPI ✓
Rust crates.io ✓ ✓ ✓

Related tools

CLIs — basecamp/cli ships basecamp, hey, and fizzy command-line tools built on these SDKs. Structured JSON output, shell completion, and full API coverage.

Agent skills — Each CLI embeds Claude Code skills for AI-agent integration. The SDKs themselves are the runtime layer those skills call into.


This repo is the shared infrastructure for the SDK repositories: the templates a new SDK is generated from, the composite actions their CI calls, the conformance suite, and the rubric they are scored against. It ships no SDK of its own. CONVERGENCE.md records where the three SDKs still differ from the contracts the rubric's Runtime Integration tier scores, and the path to converge.

Directory structure

actions/
  conformance-run/      Run cross-language conformance tests in CI
  rubric-check/         Static rubric criteria verification
  release-orchestrate/  Poll per-language release workflows, create GitHub Release
  smithy-verify/        Validate Smithy spec and OpenAPI freshness
  service-drift/        Detect drift between generated services and spec

conformance/
  schema.json           JSON schema for one conformance test case (fields marked
                        PROPOSED are under review in basecamp-sdk)
  tests/                Test case files (auth, retry, pagination, error-mapping, etc.)
  runner/               Per-language runners (go, typescript, ruby, swift, kotlin);
                        a Rust runner is ported per repo (see seed-sdk.md)

prompts/
  seed-sdk.md           Bootstrap a new SDK repository from templates
  close-gap.md          Close one specific rubric criterion gap

seed/                   Template files for new SDK repos (.tmpl extension)
  SPEC.md.tmpl          Skeleton of the Runtime Integration contracts
  spec/                 Smithy model templates
  go/ ts/ ruby/         Per-language scaffolding (rust/ is a buildable crate;
  swift/ kotlin/ rust/  the others are fragments)
  scripts/ .github/
  Makefile.tmpl, AGENTS.md.tmpl, README.md.tmpl, etc.

skills/
  rubric-audit/         Score an SDK repo against the rubric, produce scorecard + artifact

smithy-bare-arrays/     Smithy plugin for bare array (non-wrapped) responses

Consuming this repo

No SDK vendors this repository today: basecamp-sdk, fizzy-sdk and hey-sdk each carry their own conformance suite, runners and smithy-bare-arrays, and none has a common/ subtree. What reaches them is:

  • Actions, referenced live as basecamp/sdk/actions/<name>@main from their workflows (hey-sdk's release uses release-orchestrate).
  • The seed, copied once when a new SDK is generated. A later change to seed/ reaches only SDKs generated afterwards.
  • The rubric, which each SDK's rubric-audit.json is scored against.

The conformance runners here reference an SDK by relative paths (../../../typescript, ../../../kotlin) and build only inside a repository laid out like one.

Bootstrapping a new SDK repo

Use the seed-sdk prompt to walk through the full bootstrap process:

  1. Copy seed/* into the new repo
  2. Replace template placeholders ({{.AppName}}, {{.AppTitle}}, etc.)
  3. Rename .tmpl files to their final names
  4. Initialize Smithy spec, language toolchains, and conformance runners
  5. Run make check to verify clean state

Quality criteria

All SDK repos are scored against RUBRIC.md (111 criteria for full SDK, 96 for single-language; 91 and 76 are counted while Tier 5 is proposed). The rubric covers:

  • Tier 1 -- API fidelity (spec conformance, type fidelity, path correctness)
  • Tier 2 -- Behavioral contracts (errors, retry, pagination, resilience)
  • Tier 3 -- Developer experience (auth, observability, security)
  • Tier 4 -- Infrastructure (generation pipeline, testing, release, DX)
  • Tier 5 -- Runtime integration (single-page reads, per-call request options, the request executor, cache policy, typed dates and open enums, internal visibility), proposed while its basecamp-sdk sources are under review

See also MAKEFILE-CONVENTION.md for required Makefile targets and release architecture.

About

37signals SDK toolkit

Resources

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages