About mercadopago-integration
mercadopago-integration is a safety-scoped skill for developers planning and scaffolding payment integrations. It supports provider-agnostic contracts and mock flows, but excludes live provider operations.
Key features
- 01Define provider-agnostic checkout contracts
- 02Create mock adapters with deterministic fake IDs
- 03Build UI states and polling against mock endpoints
- 04Recommend order schemas and status transitions
- 05Add validation and idempotency patterns
- 06Prepare a security handoff for future rollout
Use cases
- 01Scaffold mock API routes for a payment flow
- 02Design checkout states from pending to final
- 03Test idempotency and status transitions
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ martinacostadev/ mercadopago-integration --skill mercadopago-integrationAfter installing, type/mercadopago-integrationin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
SECURITY.mdassets/migration.sqlreferences/client-implementation.mdcountries.mddatabase-postgresql.mddatabase-prisma.mddatabase-supabase.mdserver-implementation.mdtesting.mdtroubleshooting.mdusage-examples.mdDetails
From the project READMEProvider 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.
Allowed Scope
- Define provider-agnostic contracts (
CheckoutProviderinterfaces). - 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.mdreferences/client-implementation.mdreferences/testing.mdreferences/troubleshooting.mdreferences/usage-examples.mdSECURITY.md— accepted risk documentation (W009)
Comments
Markdown supported