persona-hello-world

v2026.09.24

Create and inspect one replay-safe Persona sandbox inquiry without implying a completed verification. Use when proving a new integration path. Trigger with: "test Persona inquiry", "Persona hello world", "smoke test Persona sandbox".

GitHub
Install command
npx skhub add jeremylongshore/persona-hello-world
Markdown
SKILL.md

Persona Sandbox Inquiry Smoke Test

Overview

Prove the minimum create-and-read path in sandbox while keeping identity verification, account linkage, and session issuance explicit. A successful API response proves transport and contract compatibility, not that a person passed verification.

Prerequisites

  • A sandbox API key and a reviewed dated API version
  • An enabled sandbox inquiry template ID
  • Synthetic test identity data and a durable unique operation ID

Instructions

Step 1: Choose the create contract

Use exactly one of inquiry-template-id, inquiry-template-version-id, or the supported template selector. Prefer the stable template ID unless a controlled test intentionally pins a version.

Step 2: Create replay-safe intent

Generate an Idempotency-Key from the operation ID, not a person or reference ID. Persist the request fingerprint before sending the POST.

Step 3: Link the account deliberately

When auto-creating an account, use meta.auto-create-account-reference-id; do not revive deprecated request reference-id guidance. Use meta.auto-create-inquiry-session only when the client needs an immediate session.

Step 4: Inspect the JSON:API result

Verify data.type, inquiry ID, status, template relationship, and optional meta['session-token']. Treat new fields and types as compatible additions.

Step 5: Read and dispose

GET the inquiry, compare its ID and status, then retain a redacted receipt. Never claim pass, fail, or completion unless the observed inquiry and verification states support it.

Authentication

Use the sandbox bearer API key against https://api.withpersona.com/api/v1 with the explicitly reviewed Persona-Version. Keep any session token server-side until delivered to the intended client through a protected channel.

Tool Discipline

Use Read and Grep to inspect application configuration, provider documentation, fixtures, schemas, tests, and redacted operational evidence before proposing a change. Use Write or Edit only for an approved implementation, configuration, test, runbook, or redacted receipt. Do not create, resume, approve, decline, redact, rotate, revoke, deploy, or otherwise mutate production Persona resources without explicit operator approval.

Output

  • One redacted create-request fingerprint and inquiry ID
  • Observed inquiry status and optional session-token disposition
  • Pass/fail smoke-test receipt separated from identity outcome

Return the environment, resource and event identifiers, API version, template context, source-contract fingerprint, evidence, unresolved risk, rollback state, and final decision without exposing bearer keys, webhook secrets, inquiry session tokens, raw identity documents, or unnecessary PII.

Examples

A CI operator creates one inquiry from template itmpl_… with operation key smoke-<run-id>, requests a session, asserts a JSON:API inquiry object, and records the returned session token only as present or absent.

Error Handling

FailureResponse
400 create errorCheck JSON:API shape, template selector exclusivity, and environment ownership.
409 or replay mismatchCompare the stored request fingerprint; never reuse an idempotency key with changed parameters.
Inquiry remains pendingThat is a valid transport result; use sandbox controls or the supported client flow rather than inventing a pass.

Validation

Verify the result against the linked first-party evidence, the pinned API version, redacted contract fixtures, an expected failure path, and the documented rollback or manual-disposition path. A successful request is not proof of a successful identity decision.

Resources

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/.curated/persona-hello-world

Default branch

main

Latest commit

e5a6c3b

Tree SHA

c2dc8e8