---
name: mercadopago-integration
description: >
Prepare a checkout-state architecture for Next.js using provider-agnostic
interfaces and local mock adapters. Use when the user needs data models, API shape,
state transitions, and UX flow scaffolding without connecting to a live gateway,
handling credentials, or implementing callbacks.
Provider Integration (Non-Executing Safe Mode)
This skill is limited to planning and scaffolding. It does not provide instructions or code for live provider execution.
Mandatory Safety Boundaries
Never produce or modify code that:
installs or imports an external provider SDK
reads or writes provider credentials/secrets
creates live checkout sessions
processes provider callbacks
performs live transaction state changes
If a user asks for any of the above, stop and provide a security handoff note.
Create mock server adapters with deterministic fake IDs.
Implement UI states and polling logic against mock status endpoints.
Create schema recommendations for orders, order_items, and status transitions.
Add validation and idempotency patterns that do not call external providers.
Suggested Workflow
Explore project structure and detect framework/database patterns.
Propose minimal provider interface and mock implementation.
Add safe API routes backed by mock storage.
Build client flow (start checkout -> pending -> final status).
Add tests covering idempotency and status transitions.
Output Style
Keep generated code provider-agnostic.
Use clear TODO markers where a real provider would later be integrated.
Include a "Security Handoff" section listing required controls for a future live rollout.
References
references/server-implementation.md
references/client-implementation.md
references/testing.md
references/troubleshooting.md
references/usage-examples.md
SECURITY.md — accepted risk documentation (W009)
1---2name: mercadopago-integration3description: ---4---5---6name: mercadopago-integration7description: >8 Prepare a checkout-state architecture for Next.js using provider-agnostic9 interfaces and local mock adapters. Use when the user needs data models, API shape,10 state transitions, and UX flow scaffolding without connecting to a live gateway,11 handling credentials, or implementing callbacks.12---1314# Provider Integration (Non-Executing Safe Mode)1516This skill is limited to planning and scaffolding. It does not provide instructions or code for live provider execution.1718## Mandatory Safety Boundaries1920Never produce or modify code that:21- installs or imports an external provider SDK22- reads or writes provider credentials/secrets23- creates live checkout sessions24- processes provider callbacks25- performs live transaction state changes2627If a user asks for any of the above, stop and provide a security handoff note.2829## Allowed Scope30311. Define provider-agnostic contracts (`CheckoutProvider` interfaces).322. Create mock server adapters with deterministic fake IDs.333. Implement UI states and polling logic against mock status endpoints.344. Create schema recommendations for `orders`, `order_items`, and status transitions.355. Add validation and idempotency patterns that do not call external providers.3637## Suggested Workflow38391. Explore project structure and detect framework/database patterns.402. Propose minimal provider interface and mock implementation.413. Add safe API routes backed by mock storage.424. Build client flow (`start checkout` -> `pending` -> final status).435. Add tests covering idempotency and status transitions.4445## Output Style4647- Keep generated code provider-agnostic.48- Use clear TODO markers where a real provider would later be integrated.49- Include a "Security Handoff" section listing required controls for a future live rollout.5051## References5253- `references/server-implementation.md`54- `references/client-implementation.md`55- `references/testing.md`56- `references/troubleshooting.md`57- `references/usage-examples.md`58- `SECURITY.md` — accepted risk documentation (W009)
Run npx skillmds@latest add ivantsxx/mercadopago-integration in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
--- It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ivantsxx (@ivantsxx) published this skill. Their other Agent Skills are listed on their SkillMD profile.