Skip to content
OpenSmartRoute
Skillv1.0.0

persona-upgrade-migration

Upgrade Persona API versions and handle breaking changes. Use when working with Persona identity verification. Trigger with phrases like "persona upgrade-migration", "persona upgrade-migration".

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (plugins/saas-packs/persona-pack/skills/persona-upgrade-migration/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill persona-upgrade-migration. Copyright stays with the author (MIT).

persona upgrade migration | sed 's/\b(.)/\u\1/g'

Overview

API versioning via Persona-Version header, deprecated field migration, test against sandbox.

Prerequisites

  • Completed persona-install-auth setup
  • Valid Persona API key (sandbox or production)

Instructions

Step 1: Implementation

import os, requests

HEADERS = {
    "Authorization": f"Bearer {os.environ['PERSONA_API_KEY']}",
    "Persona-Version": "2023-01-05",
}
BASE = "https://withpersona.com/api/v1"

# Upgrade Persona API versions and handle breaking changes
resp = requests.get(f"{BASE}/inquiries?page[size]=10", headers=HEADERS)
resp.raise_for_status()
inquiries = resp.json()["data"]
for inq in inquiries:
    print(f"  {inq['id']}: {inq['attributes']['status']}")

Output

  • API versioning via Persona-Version header, deprecated field migration, test against sandbox.

Error Handling

Error Cause Solution
401 Unauthorized Invalid API key Check PERSONA_API_KEY
429 Rate Limited Too many requests Implement backoff
404 Not Found Wrong resource ID Verify ID format

Resources

Next Steps

See related Persona skills for more workflows.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-persona-upgra-fe8629/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-persona-upgra-fe8629.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-persona-upgra-fe8629",
  "kind": "skill",
  "name": "persona-upgrade-migration",
  "description": "Upgrade Persona API versions and handle breaking changes. Use when working with Persona identity verification. Trigger with phrases like \"persona upgrade-migration\", \"persona upgrade-migration\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "saas",
      "persona",
      "identity",
      "kyc",
      "verification",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Upgrade Persona API versions and handle breaking changes. Use when working with Persona identity verification. Trigger with phrases like \"persona upgrade-migration\", \"persona upgrade-migration\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "plugins/saas-packs/persona-pack/skills/persona-upgrade-migration/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/plugins/saas-packs/persona-pack/skills/persona-upgrade-migration/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/plugins/saas-packs/persona-pack/skills/persona-upgrade-migration/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Write,",
      "Edit,",
      "Bash(npm:*),",
      "Bash(git:*)"
    ],
    "license": "MIT"
  },
  "instructions": "# persona upgrade migration | sed 's/\\b\\(.\\)/\\u\\1/g'\n\n## Overview\n\nAPI versioning via Persona-Version header, deprecated field migration, test against sandbox.\n\n## Prerequisites\n\n- Completed `persona-install-auth` setup\n- Valid Persona API key (sandbox or production)\n\n## Instructions\n\n### Step 1: Implementation\n\n```python\nimport os, requests\n\nHEADERS = {\n    \"Authorization\": f\"Bearer {os.environ['PERSONA_API_KEY']}\",\n    \"Persona-Version\": \"2023-01-05\",\n}\nBASE = \"https://withpersona.com/api/v1\"\n\n# Upgrade Persona API versions and handle breaking changes\nresp = requests.get(f\"{BASE}/inquiries?p",
  "cost": {
    "context_tokens": 337
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-persona-upgra-fe8629/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.