Pine Labs Agent Skills
Install Pine Labs payment knowledge into AI coding assistants. Get product-aware guidance for checkout, callbacks and refunds.
Build Pine Labs payment integrations faster with AI coding assistants.
Pine Labs Agent Skills add product-specific payment knowledge to your AI coding environment. The installed skills help your assistant understand Pine Labs APIs, payment flows, security requirements, and implementation best practices while you write or review integration code.
Instead of generating generic payment code, your coding assistant can use Pine Labs-specific implementation guidance for checkout, orders, webhooks, refunds, payouts, subscriptions, and other payment workflows.
Why use Pine Labs Agent Skills?
Generic AI assistants know how to write code, but they don't know Pine Labs-specific implementation rules. Without product context, assistants produce code that compiles but may:
- Skip callback signature verification
- Mix UAT and production endpoints
- Expose credentials in frontend code
- Retry financial operations without idempotency
- Treat browser redirects as final payment confirmation
Agent Skills give the assistant the judgment layer it needs to avoid these common integration mistakes.
Get started
Install Pine Labs Agent Skills into your project with a single command:
npx pinelabs-agent-skills-cli add skills
The CLI prompts for which assistant frameworks to configure, writes skill files into the project, and updates framework manifests.
For non-interactive setup:
npx pinelabs-agent-skills-cli add skills --frameworks claude-code --yes
Supported AI coding assistants
Agent Skills support nine AI coding assistants:
- Claude Code ā Anthropic
- Cursor ā AI-first editor
- VS Code Copilot ā GitHub
- Gemini CLI ā Google
- Kiro ā AWS
- OpenCode ā Open source
- GitHub Copilot CLI ā GitHub
- Codex CLI ā OpenAI
- Antigravity ā AI assistant
What Agent Skills add to your AI assistant
API and integration guidance
Identify the relevant Pine Labs API and implementation pattern for your task.
Security-first implementation
Apply secure patterns for credentials, callbacks, tokens, payment data, and sensitive information.
Sandbox-first development
Use UAT for development and testing before moving an integration to production.
Payment operation safety
Apply idempotency patterns for money-moving operations and avoid unsafe retry behaviour.
Production readiness
Review integrations for common go-live issues, including environment configuration, callback verification, credential exposure, and payment confirmation.
What's included?
The installation adds Pine Labs payment skills to your project.
pinelabs-skills/
āāā SKILL.md <- Root router, global safety rules, and integration flow
āāā .pinelabs-skills-version.json <- Version marker for doctor/update stale-install detection
āāā validation-and-testing.md <- UAT, negative testing, webhook, refund, and release evidence checklist
āāā validation-and-testing/ <- Focused checkout, refund, webhook, SDK, subscription, and settlement test guides
ā āāā checkout-orders.md <- Idempotency, timeout, duplicate, callback, and final-state tests
ā āāā refunds.md <- Full/partial refund, timeout, duplicate, and reconciliation tests
ā āāā webhooks.md <- Signature, replay, duplicate, and ordering tests
ā āāā mobile-web-sdks.md <- Callback, cancellation, interruption, and recovery tests
ā āāā subscriptions.md <- Plan, presentation, retry, and lifecycle tests
ā āāā settlements.md <- Payout, split-release, UTR, and delayed-settlement tests
āāā go-live.md <- Production readiness gates and rollout checklist
āāā webhooks.md <- Raw-body, signature verification, replay, and idempotency guidance
āāā common-mistakes.md <- Review checklist for unsafe or brittle integration patterns
āāā upgrade-advisor.md <- Update flow for current, stale, and legacy installed skills
āāā upgrade-advisor/ <- Installer and integration upgrade routes with source-verified release checks
ā āāā installer.md <- Version marker, managed manifest, and catalog update workflow
ā āāā integration.md <- SDK/API/OpenAPI upgrade, regression, and rollback workflow
āāā migration-guides/ <- Provider migration routing and concept maps
ā āāā README.md <- Migration guide router
ā āāā razorpay-reference.md <- Credentials, lifecycle, webhook, refund, and reconciliation mapping
ā āāā *.md <- Provider-specific migration workflows
āāā evals/ <- Workflow evaluation prompts for safe assistant routing
ā āāā validation-and-testing.evals.json <- Duplicate, replay, pending callback, and refund-timeout prompts
ā āāā common-mistakes.evals.json <- Credential and frontend-fulfillment prompts
ā āāā migration-razorpay.evals.json <- Legacy-order routing and rollback prompt
ā āāā upgrade-advisor.evals.json <- Source-verified SDK upgrade prompt
āāā getting-started/ <- Domain folder for onboarding and auth
ā āāā README.md <- Domain router for setup and environment basics
ā āāā authentication.md <- OAuth token generation and credential handling
ā āāā dashboard-signup-and-token.md <- Dashboard signup, API key setup, and first token guidance
ā āāā references/REFERENCE.md <- Index for getting-started skill files
āāā payments/ <- Payment gateway domain folder
ā āāā README.md <- Domain router for payment gateway scenarios
ā āāā orders.md <- Order creation, fetch, capture, cancel lifecycle
ā āāā checkout.md <- Hosted checkout and redirect flow guidance
ā āāā card-payments.md <- Card payment APIs including auth/capture flow
ā āāā upi-payments.md <- UPI collect/intent/QR payment implementations
ā āāā netbanking.md <- Net banking payment option integration
ā āāā wallet.md <- Wallet payment option integration
ā āāā payment-links.md <- Payment link creation and lifecycle actions
ā āāā payment-option.md <- Payment option eligibility and UPI VPA lookup
ā āāā customers.md <- Customer profile create/fetch/update workflows
ā āāā tokenization.md <- Card/network token create/fetch/delete workflows
ā āāā convenience-fee.md <- Convenience fee calculation flows
ā āāā pay-by-points.md <- Reward points eligibility and redemption
ā āāā affordability-suite.md <- EMI/offer discovery and affordability checks
ā āāā bnpl.md <- BNPL payment journey and controls
ā āāā apple-pay.md <- Apple Pay payment authorization flow
ā āāā brand-wallet.md <- Brand wallet lifecycle and balance operations
ā āāā brand-wallet-payments.md <- Wallet-funded payments and load-money flows
ā āāā international-payments.md <- Cross-border payments and conversion support
ā āāā e-challans.md <- E-challan create/retrieve/download flows
ā āāā upi-reserve-pay.md <- Fund-blocking and reserve-pay workflows
ā āāā mobile-sdks/ <- Native mobile SDK guidance group
ā ā āāā README.md <- Router: asks Android/iOS/Flutter when platform is unspecified
ā ā āāā android.md <- Android native SDK integration guidance
ā ā āāā ios.md <- iOS native SDK integration guidance
ā ā āāā flutter.md <- Flutter native SDK integration guidance
ā āāā web-sdks/ <- WebView/browser SDK guidance group
ā ā āāā README.md <- Router: asks Android/iOS/Flutter/React Native when unspecified
ā ā āāā android.md <- Android web SDK integration guidance
ā ā āāā ios.md <- iOS web SDK integration guidance
ā ā āāā flutter.md <- Flutter web SDK integration guidance
ā ā āāā react-native.md <- React Native web SDK integration guidance
ā ā āāā faqs.md <- Web SDK troubleshooting and FAQs
ā āāā references/REFERENCE.md <- Index for payments skill files
āāā settlements/ <- Settlements and fund movement domain folder
ā āāā README.md <- Domain router for refunds/payouts/settlements
ā āāā refunds.md <- Refund initiation and status handling
ā āāā payouts.md <- Payout balance, bulk, and scheduled operations
ā āāā settlements.md <- Settlement fetch and reconciliation guidance
ā āāā split-settlements.md <- Multi-party settlement release/cancel flows
ā āāā references/REFERENCE.md <- Index for settlement skill files
āāā subscriptions/ <- Recurring payments domain folder
ā āāā README.md <- Domain router for recurring billing
ā āāā subscriptions-plans.md <- Plan creation and management
ā āāā subscriptions-subscriptions.md <- Subscription lifecycle APIs (create/pause/resume/cancel)
ā āāā subscriptions-presentations.md <- Debit presentation and retry operations
ā āāā references/REFERENCE.md <- Index for subscriptions skill files
āāā p3p/ <- P3P x402 and UPI ReservePay domain folder
āāā README.md <- Domain router for P3P pay and SDK integration
āāā pay.md <- CLI-driven mandate, PPT token, and debit guidance
āāā sdk-integration.md <- x402 SDK integration guidance for apps
āāā references/ <- CLI and SDK reference files plus domain index
āāā templates/ <- Next.js, Express, Python, and vanilla client templates
āāā evals/p3p-pay.evals.json <- P3P pay skill evaluation cases
The package includes:
- Best-practices skill ā security, routing, UAT, idempotency, and production guidance
- API-area reference skills ā payment-specific guidance for APIs and workflows
- P3P skills ā x402/UPI ReservePay guidance for agent payments and SDK integration
- Workflow guides ā validation checklists, go-live gates, migration guides, and upgrade paths
The assistant starts with the best-practices guidance and loads the relevant API reference based on your task.
Explore available skills āSecurity defaults
Pine Labs Agent Skills apply security-first guidance to help developers build and review payment integrations safely.
-
Use UAT for development and testing
Build and validate integrations against the UAT environment before moving to production. -
Keep credentials server-side
StorePINELABS_CLIENT_IDandPINELABS_CLIENT_SECRETin a secure server-side environment. Never expose secrets in frontend code or client-side bundles. -
Verify callback signatures
Always verify callback or webhook signatures before processing payment events or updating transaction status. -
Use idempotency for money-moving operations
Use idempotency keys for operations such as payments, refunds, and other financial transactions to prevent unintended duplicate processing. -
Protect sensitive data
Never log secrets, access tokens, card data, or sensitive PII. Review application and debugging logs before sharing or storing them. -
Confirm production actions
Require explicit confirmation before executing production payment operations or making changes that can affect live transactions. -
No telemetry
The installer does not collect telemetry. It only writes local skill files and managed manifest blocks in the project path you choose.
How Agent Skills differ from MCP Server
| Agent Skills | MCP Server | |
|---|---|---|
| What it provides | Product knowledge and implementation guidance | Live tool access to Pine Labs APIs |
| How it works | Local skill files in your project | Hosted server with natural language execution |
| Best for | Writing and reviewing integration code | Querying, testing, and executing APIs directly |
They are complementary. Agent Skills tell the assistant how to do Pine Labs work correctly. MCP Server lets the assistant do Pine Labs work directly.
For most developers, Agent Skills are the better starting point ā you need guidance before you need live tool access.
Package details
| Property | Value |
|---|---|
| npm package | pinelabs-agent-skills-cli |
| Binary | pinelabs-agent-skills |
| Node.js | 18 or newer |
| License | MIT |
| Unpacked size | ~722 kB |
Resources
Integration Guide
Install Pine Labs Agent Skills with a single command and configure any of the eight supported AI coding assistants.
Use Cases
Explore how Pine Labs product context helps with checkout, callbacks, refunds, payouts, and production readiness.
npm Package
Package details, install metadata, and version history on npm.
