Sdk Release 标志

Sdk Release

组织热门
Prismer-AI
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.

概览

发布者Prismer-AI
代码仓库PrismerCloud
技能名称sdk-release
星标数
1.6K
复刻数
17
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 Prismer-AI 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Sdk Release AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/apc/skills/sdk-release
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud.git /tmp/PrismerCloud
mkdir -p .claude/skills
cp -r /tmp/PrismerCloud/sdk/apc/skills/sdk-release .claude/skills/sdk-release
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Sdk Release,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Sdk Release。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Sdk Release 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

bash
# 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)

bash
# 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)

bash
# 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:

FilePattern
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.tsversion: '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.tomlversion = "X.Y.Z"
sdk/prismer-cloud/python/prismer/__init__.py__version__ = "X.Y.Z"
sdk/prismer-cloud/rust/Cargo.tomlversion = "X.Y.Z"
sdk/prismer-cloud/golang/README.mdversion reference

aip suite:

FilePattern
sdk/aip/typescript/package.json"version": "X.Y.Z"
sdk/aip/python/pyproject.tomlversion = "X.Y.Z"
sdk/aip/golang/go.modmodule path
sdk/aip/rust/Cargo.tomlversion = "X.Y.Z"

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

bash
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)

bash
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

WhatWhereCommand
Developprismer-cloud-next(normal development)
Buildprismer-cloud-nextsdk/build/test.sh
Version bumpprismer-cloud-nextsdk/build/version.sh X.Y.Z
Syncprismer-cloud-nextsdk/build/sync.sh
VerifyPrismerCloudbuild/verify.sh
PackPrismerCloudbuild/pack.sh --clean
ReleasePrismerCloudbuild/release.sh

What NOT to Do

  • Do NOT edit code in PrismerCloud/sdk/ — it will be overwritten on next sync
  • Do NOT copy files instead of rsync --delete — residual files will accumulate
  • Do NOT publish from prismer-cloud-next — always sync to PrismerCloud first
  • Do NOT skip version bump — version mismatches break verify.sh
  • Do NOT publish without verify.sh passing — it catches version mismatches, missing builds, and auth issues

Registries & Credentials

RegistryCredentialCheck
npmnpm login --scope=@prismernpm whoami
PyPI~/.pypirc or TWINE_USERNAME/TWINE_PASSWORDtwine check dist/*
crates.ioCARGO_REGISTRY_TOKENcargo login
GitHubgh auth logingh auth status
Go ProxyAutomatic (git tag push)—

常见问题

Sdk Release AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Sdk Release?

因为您只需安装一次,就能搭配任何模型使用。Sdk Release 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Sdk Release?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/apc/skills/sdk-release。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Sdk Release?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Sdk Release 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Sdk Release 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Sdk Release AI 技能免费吗?

是的。Prismer-AI 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇