Skip to content
Development
Skill

/sdk-release

SDK build, test, version bump, and release to open source repo + registries. Covers the full pipeline from development in prismer-cloud-next to publishing on npm/PyPI/crates.io/Go.

From plugin
prismercloud
1.4k102 skills

Claude Code

$ npx -y skills add Prismer-AI/PrismerCloud --skill sdk-release --agent claude-code

SKILL.md

sdk-release.SKILL.md
name: sdk-release
description: SDK build, test, version bump, and release to open source repo + registries. Covers the full pipeline from development in prismer-cloud-next to publishing on npm/PyPI/crates.io/Go.
allowed-tools: Bash, Read, Write, Edit

SDK Release Workflow

Architecture

prismer-cloud-next/sdk/          ← Source of truth (active development)
├── prismer-cloud/               ← Main SDK suite (8 packages)
│   ├── typescript/              @prismer/sdk
│   ├── python/                  prismer (PyPI)
│   ├── golang/                  prismer-sdk-go
│   ├── rust/                    prismer-sdk (crates.io)
│   ├── mcp/                     @prismer/mcp-server
│   ├── claude-code-plugin/      @prismer/claude-code-plugin
│   ├── opencode-plugin/         @prismer/opencode-plugin
│   └── openclaw-channel/        @prismer/openclaw-channel
│
├── aip/                         ← AIP identity suite (4 packages)
│   ├── typescript/              @prismer/aip-sdk
│   ├── python/                  prismer-aip
│   ├── golang/                  prismer-aip-go
│   └── rust/                    prismer-aip
│
└── build/                       ← Build scripts (NOT in open source)
    ├── sync.sh                  Whole-directory sync to PrismerCloud
    ├── test.sh                  Run all tests against production
    ├── verify.sh                Pre-release checks
    ├── pack.sh                  Create publishable artifacts
    ├── version.sh               Bump version across all packages
    └── release.sh               Orchestrate full release

        │
        ▼  sync.sh (rsync --delete)

PrismerCloud/                    ← Open source repo (github.com/Prismer-AI/PrismerCloud)
├── sdk/                         ← EXACT mirror, no residual files
│   ├── prismer-cloud/           (flattened or nested — matches source)
│   ├── aip/
│   └── ...
├── build/                       ← Release tooling (stays in open source)
│   ├── pack.sh
│   ├── release.sh
│   └── ...
└── docs/

Key Principle: WHOLE-DIRECTORY REPLACE, NOT COPY

The sync step uses `rsync --delete` to ensure the open source repo is an **exact mirror** of the source. This prevents residual files from deleted features, renamed packages, or restructured directories from lingering in the open source repo.

# This is correct — --delete removes files not in source
rsync -av --delete --exclude='...' source/sdk/ target/sdk/

# This is WRONG — leaves deleted files behind
cp -r source/sdk/* target/sdk/

Pipeline

Step 1: Develop in prismer-cloud-next

All development happens in prismer-cloud-next/sdk/. This includes:

  • Code changes
  • New packages
  • Directory restructuring
  • Version bumps
  • Build verification
  • Local testing

Step 2: Build & Test (in prismer-cloud-next)

# Build all packages
cd sdk/prismer-cloud/typescript && npm run build
cd sdk/prismer-cloud/mcp && npm run build
cd sdk/prismer-cloud/opencode-plugin && npm run build
cd sdk/prismer-cloud/python && pip install -e ".[dev]" && pytest
cd sdk/prismer-cloud/golang && go build ./... && go test ./...
cd sdk/prismer-cloud/rust && cargo build

# Build AIP packages
cd sdk/aip/typescript && npm run build
cd sdk/aip/python && pip install -e ".[dev]" && pytest
cd sdk/aip/golang && go build ./...
cd sdk/aip/rust && cargo build

# Integration tests against production
npx tsx scripts/test-all-apis.ts --env prod

Step 3: Version Bump (in prismer-cloud-next)

# Bump all packages to target version
# This updates all version files listed in the Version File Map
sdk/build/version.sh 1.7.4

# Or use semver shortcuts
sdk/build/version.sh --patch   # 1.7.3 → 1.7.4
sdk/build/version.sh --minor   # 1.7.3 → 1.8.0

Version File Map

**prismer-cloud suite:** | File | Pattern | |------|---------| | `sdk/prismer-cloud/typescript/package.json` | `"version": "X.Y.Z"` | | `sdk/prismer-cloud/mcp/package.json` | `"version": "X.Y.Z"` | | `sdk/prismer-cloud/mcp/src/index.ts` | `version: 'X.Y.Z'` | | `sdk/prismer-cloud/opencode-plugin/package.json` | `"version": "X.Y.Z"` | | `sdk/prismer-cloud/claude-code-plugin/package.json` | `"version": "X.Y.Z"` | | `sdk/prismer-cloud/claude-code-plugin/.claude-plugin/plugin.json` | `"version": "X.Y.Z"` | | `sdk/prismer-cloud/openclaw-channel/package.json` | `"version": "X.Y.Z"` | | `sdk/prismer-cloud/python/pyproject.toml` | `version = "X.Y.Z"` | | `sdk/prismer-cloud/python/prismer/__init__.py` | `__version__ = "X.Y.Z"` | | `sdk/prismer-cloud/rust/Cargo.toml` | `version = "X.Y.Z"` | | `sdk/prismer-cloud/golang/README.md` | version reference |

**aip suite:** | File | Pattern | |------|---------| | `sdk/aip/typescript/package.json` | `"version": "X.Y.Z"` | | `sdk/aip/python/pyproject.toml` | `version = "X.Y.Z"` | | `sdk/aip/golang/go.mod` | module path | | `sdk/aip/rust/Cargo.toml` | `version = "X.Y.Z"` |

Step 4: Sync to Open Source (WHOLE-DIRECTORY REPLACE)

sdk/build/sync.sh

This does:

1. `rm -rf PrismerCloud/sdk/` (clean slate) 2. `rsync -av --delete --exclude={node_modules,dist,target,...} sdk/ PrismerCloud/sdk/` 3. Verify file count and structure

**CRITICAL:** This is a whole-directory replace. Any files that existed in PrismerCloud/sdk/ but not in prismer-cloud-next/sdk/ will be deleted. This is intentional — it prevents residual files from accumulating.

Step 5: Pack & Release (in PrismerCloud)

cd /Users/prismer/workspace/PrismerCloud

# Verify everything
build/verify.sh

# Package artifacts
build/pack.sh --clean

# Release to all registries
build/release.sh --version 1.7.4

This publishes to:

  • **npm:** @prismer/sdk, @prismer/mcp-server, @prismer/opencode-plugin, @prismer/claude-code-plugin, @prismer/openclaw-channel
  • **PyPI:** prismer
  • **crates.io:** prismer-sdk
  • **Go Proxy:** triggered by git tag `sdk/golang/vX.Y.Z`
  • **GitHub Release:** with all artifacts attached

Quick Reference

| What | Where | Command | | ---------

Read more
@prismer-ai
Ships withprismercloud

Prismer Cloud

1.4k102 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.4k
Star history of Prismer-AI/PrismerCloud on GitHub, a chart by star-history.com

Other skills on prismercloud.

bug-reproduce

bug-reproduce

Turn a known bug into a tight, red-capable reproducer, then prove the reproducer locks that bug with a reversal negative control…

code-review

code-review

Review a diff against its acceptance criteria in four segments (convention adherence, bug scan, historical-context regressions,…

design-review

design-review

Five-dimension design audit (frontend UI/UX · server data-model & flow · endpoint spec · daemon-runtime/SDK & local-cache-first ·…

doc-sync

doc-sync

Before merge, mechanize Documentation-First — derive the code delta from git diff, then verify required docs are in sync…

env-doctor

env-doctor

Diagnose the local dev machine before any APC loop step — run apc env doctor, classify each failure into a fault domain, apc env…

git-ops

git-ops

Close out a local coding task on the bound daemon — stage, commit, branch, merge, push via cloud git — and when a merge…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills3w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc3w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react11d252k
@facebook@facebookInstall Skill

Questions about sdk-release.

Which coding agents can use sdk-release?
sdk-release installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.