AI and coding agents
Machine-readable contracts and a pasteable prompt so Cursor, Claude, and similar tools integrate Validakey through the official PHP client — not hand-rolled envelopes.
Artifact URLs
| URL | Use |
|---|---|
/llms.txt |
Short discovery index and hard rules for agents. |
/llms-full.txt |
Full agent guide (rules, getting started, access, PHP client). |
/openapi.json |
OpenAPI 3.1 from the Explorer catalog. Envelope routes are marked SDK-only. |
/ai/skill/ |
Cursor/Claude Agent Skill (SKILL.md). |
Skill vs OpenAPI
- Skill / llms.txt — teach the agent when and how to use validakey-php (preferred path).
- OpenAPI — inventory of routes, Bearer account schemas, and sealed wire shape. Envelope cleartext is not the HTTP body.
Prompt for Cursor
Paste this into your coding agent:
Integrate Validakey on this project.
1. Fetch https://validakey.com/llms.txt and https://validakey.com/ai/skill/ and follow them.
2. Use composer require validakey/validakey-php only — do not hand-roll sealed envelopes.
3. Configure VALIDAKEY_BASE_URL=https://validakey.com/v1, VALIDAKEY_API_UUID, VALIDAKEY_USER_APP_ID;
use VALIDAKEY_API_PKEY only on a server for account APIs, never in end-user apps.
4. Persist Instance ID; implement mint then validate with ValidakeyClient.
5. OpenAPI (for reference): https://validakey.com/openapi.json