docs.clickmax.io

clickmax-failure-diagnosis

Use when the seller asks why their sales/transactions are failing or being declined, wants failed payments grouped by reason, or wants the recoverable value and next action per failure reason in Clickmax.

First seen Jul 11, 2026

Installation

$ npx skills add https://docs.clickmax.io

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from docs.clickmax.io · top by installs.

npx skills add https://docs.clickmax.io

Browse all from docs.clickmax.io

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Versionv12.1.3
LicenseMIT
CompatibilityRequer o MCP da Clickmax ativo e conectado. Os nomes de tool
More metadata
author
Bilhon Technologies LTDA
version
v12.1.3
tools
["transactions_failure_breakdown","dashboard_my_sales","transactions_get","sales_get_details"]

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 6,189 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 74 installs

SKILL.md

As tools abaixo aparecem com os nomes que o MCP da Clickmax registra. Se o seu cliente de IA prefixar nomes de tool (mcp<servidor>, mcp<servidor>, ou outro), use o nome já prefixado que aparecer na sua lista de tools.

When this applies

Use this skill when the seller wants to understand WHY transactions fail and what to do about it: failures grouped by reason, recoverable value per reason, and the recommended next action.

Not this skill:

  • headline KPIs / paginated dashboard browsing / generic loss cohorts -> clickmax-payments-dashboard-analysis
  • inspecting or refunding a specific transaction -> clickmax-transaction-operations
  • accrued platform-fee debt -> transactions_debt (this is money the seller owes the platform, NOT a failed sale; never use it for failure diagnosis)

Key assumptions

  • transactionsfailurebreakdown already aggregates FAILED transactions into stable code buckets with count, recoverable value, and isPlatformFault, sorted by value.
  • code is a stable category derived from the gateway's free-text reason; rawReasons holds the original strings that fell into each bucket.
  • unknown means the gateway reason did not match a known pattern — lean on rawReasons to describe it.
  • value mirrors the dashboard's failed-value semantics; render it as currency, do not re-scale it against other tools.

Thought process

  1. If the seller asks "why are my sales failing?" (or similar), call transactionsfailurebreakdown. It defaults to the last 30 days; pass from/to only when the seller names a different window, and state the assumed period in the answer.
  2. Translate each code into user-facing text and a next action (map below); never surface the raw code.
  3. Rank by recoverable value, lead with the biggest lever, and separate "act differently" faults from legitimate bank declines.

Execute guide

  • For the failure diagnosis, use transactionsfailurebreakdown. Pass from/to (ISO date-time) only when the seller named a window; pass projectIds/productIds/offerIds only when they narrowed scope.
  • To drill into a single failing sale the seller points at, use salesgetdetails or transactionsget; do NOT paginate dashboardmy_sales just to re-count failures the breakdown already aggregated. When you do need the failing ROWS, pass includeAggregations: false.
  • Never call transactions_debt here — it returns platform-fee debt, not failures.

Failure code → user text + next action

Translate the tool's code into the seller's language (PT example / EN example) and pair it with the action. isPlatformFault: true marks a bug on our side (only integration_error today).

|code|Label (PT / EN)|Next action| |-|-|-| |carddeclined|Cartão recusado pelo banco / Card declined by bank|Ofereça Pix ou boleto; peça outro cartão| |insufficientfunds|Saldo insuficiente / Insufficient funds|Ofereça Pix/boleto ou parcelamento| |invalidcvv|CVV inválido / Invalid security code|Peça para revisar o código de segurança| |expiredcard|Cartão expirado / Expired card|Peça um cartão válido| |carddataerror|Dados do cartão incorretos / Invalid card data|Peça para reconferir número/dados do cartão| |auth3ds|Falha na autenticação 3DS / 3DS authentication failed|Oriente concluir a verificação do banco (3DS)| |fraudsuspected|Bloqueio antifraude / Blocked by fraud check|Revise o pedido; se legítimo, oriente contato com o banco| |integration_error|Erro de integração / Integration error|É bug nosso — encaminhe ao suporte| |unknown|Motivo não classificado / Unclassified reason|Descreva a partir de rawReasons|

Report

  • Open with the period assumed and the total failed count + recoverable value.
  • Result is a diagnostic ranking. The runtime renders presentation cards: emit a cx-ranking (boxed) with one row per failure reason, ordered by recoverable value, each row's hint set to the recommended next action.
  • Money color rule (see presentation contract): a failed sale is recoverable money (retryable / winnable back), not a consummated loss, so every reason row is tone="warning" (yellow) — the chart is yellow end to end, never red. Differentiate the platform-fault case (isPlatformFault) via the hint/action text ("é bug, encaminhe ao suporte"), NOT by changing the tone.
  • Translate every code to user text (map above); never print the raw code. Format value as currency.
  • If the breakdown was computed over a limited window, add a cx-note (variant="info") stating the period premise.
  • Cap long lists with +N more. Treat any recovery follow-up (campaign, message) as opt-in only.

Warnings

  • transactions_debt is platform-fee debt, not failed sales — do not mix it in.
  • value is recoverable money (winnable back via action, but not in the pocket) — so it reads yellow (warning) per the money-color rule, not red (that is for consummated losses like refunds/chargebacks); describe it as "recuperável".
  • Never expose the raw failure code, UUIDs, or raw tool payloads.

Anti-patterns

  • Paginating dashboardmysales to hand-count failures the breakdown already aggregated (dashboardmysales_aggregations returns the same counts in one call).
  • Coloring failure rows negative (red) or leaving them neutral — failures are recoverable, so all rows are warning (yellow); red is only for consummated losses.
  • Dumping rawReasons verbatim instead of synthesizing a labeled reason.