Gamma Upgrade MigrationSAFE
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Overview
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
4f83675ca38aOBSERVED · 2026-10-08Install
Commands as the repository documents them. They are shown, not run.
npm info @gamma/sdk changelog
npm install @gamma/sdk@latest
pip install --upgrade gamma-sdk
npm install @gamma/[email protected]
npm install # Restores previous version from lock file
npm install @gamma/[email protected]
Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| claude-code | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: gamma-upgrade-migration description: 'Upgrade Gamma SDK versions and migrate between API versions. Use when upgrading SDK packages, handling deprecations, or migrating to new API versions. Trigger with phrases like "gamma upgrade", "gamma migration", "gamma new version", "gamma deprecated", "gamma SDK update". ' allowed-tools: Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep version: 1.13.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - gamma - api - migration compatibility: Designed for Claude Code --- # Gamma Upgrade & Migration ## Output Maintain an upgrade receipt with versions reviewed, affected integrations, compatibility/canary outcome, owner approval, and rollback state. Exclude content, viewer data, and credentials. ## Error Handling Stop promotion on schema, publishing, sharing, access, or destination mismatches; restore the prior configuration and quarantine opaque failures for review. ## Examples Test an upgrade with a fictional staging deck, verify a protected sharing setting remains intact, and roll back on a synthetic integration failure. ## Current State !`npm list 2>/dev/null | head -20` !`pip freeze 2>/dev/null | head -20` ## Overview Guide for upgrading Gamma SDK versions and migrating between API versions safely. ## Prerequisites - Existing Gamma integration - Version control (git) - Test environment available ## Instructions ### Step 1: Check Current Version ```bash set -euo pipefail # Node.js npm list @gamma/sdk # Python pip show gamma-sdk # Check for available updates npm outdated @gamma/sdk ``` ### Step 2: Review Changelog ```bash set -euo pipefail # View changelog npm info @gamma/sdk changelog # Or visit # https://gamma.app/docs/changelog ``` ### Step 3: Upgrade SDK ```bash set -euo pipefail # Create upgrade branch git checkout -b feat/gamma-sdk-upgrade # Node.js - upgrade to latest npm install @gamma/sdk@latest # Python - upgrade to latest pip install --upgrade gamma-sdk # Or specific version npm install @gamma/[email protected] ``` ### Step 4: Handle Breaking Changes **Common Migration Patterns:** ```typescript // v1.x -> v2.x: Client initialization change // Before (v1) import Gamma from '@gamma/sdk'; const gamma = new Gamma(apiKey); // After (v2) import { GammaClient } from '@gamma/sdk'; const gamma = new GammaClient({ apiKey }); ``` ```typescript // v1.x -> v2.x: Response format change // Before (v1) const result = await gamma.createPresentation({ title: 'Test' }); console.log(result.id); // After (v2) const result = await gamma.presentations.create({ title: 'Test' }); console.log(result.data.id); ``` ```typescript // v1.x -> v2.x: Error handling change // Before (v1) try { await gamma.create({ ... }); } catch (e) { if (e.code === 'RATE_LIMIT') { ... } } // After (v2) import { RateLimitError } from '@gamma/sdk'; try { await gamma.presentations.create({ ... }); } catch (e) { if (e instanceof RateLimitError) { ... } } ``` ### Step 5: Update Type Definitions ```typescript // Check for type changes // tsconfig.json - ensure strict mode catches issues { "compilerOptions": { "strict": true, "noImplicitAny": true } } // Run type check npx tsc --noEmit ``` ### Step 6: Test Thoroughly ```bash set -euo pipefail # Run unit tests npm test # Run integration tests npm run test:integration # Manual smoke test node -e " const { GammaClient } = require('@gamma/sdk'); const g = new GammaClient({ apiKey: process.env.GAMMA_API_KEY }); g.ping().then(() => console.log('OK')).catch(console.error); " ``` ### Step 7: Deprecation Handling ```typescript // Enable deprecation warnings const gamma = new GammaClient({ apiKey: process.env.GAMMA_API_KEY, showDeprecationWarnings: true, }); // Migrate deprecated methods // Deprecated await gamma.getPresentations(); // New await gamma.presentations.list(); ``` ## Migration Checklist - [ ] Current version documented - [ ] Changelog reviewed - [ ] Breaking changes identified - [ ] Upgrade branch created - [ ] SDK upgraded - [ ] Type errors fixed - [ ] Deprecation warnings addressed - [ ] Unit tests passing - [ ] Integration tests passing - [ ] Staging deployment verified - [ ] Production deployment planned ## Rollback Procedure ```bash set -euo pipefail # If issues occur after upgrade git checkout main npm install # Restores previous version from lock file # Or explicitly downgrade npm install @gamma/[email protected] ``` ## Resources - [Gamma Changelog](https://gamma.app/docs/changelog) - [Gamma Migration Guides](https://gamma.app/docs/migration) - [Gamma API Versioning](https://gamma.app/docs/versioning) ## Next Steps Proceed to `gamma-ci-integration` for CI/CD setup.
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
4f83675ca38afull audit observations/trust-audit/skill/jeremylongshore__gamma-upgrade-migration.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 4f83675ca38a | SAFE | B | 89 | first audit |
Questions
What does the Gamma Upgrade Migration skill do?
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Is Gamma Upgrade Migration safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Gamma Upgrade Migration access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Gamma Upgrade Migration work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (4f83675ca38a), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.