All authors

Claude Skills by felipealvarenga
github.com/felipealvarenga13 skills0 installs13 views
- Accounting SyncUse when code pushes transactions, invoices, payments or journal entries from a product into an accounting system (QuickBooks Online, Xero, NetSuite, Omie, Conta Azul) or reads changes back. Covers explicit account and entity mapping per tenant, summary journal entries with your ids, storing their ids and version tokens for idempotent updates, closed-period handling, conflict detection and policy when the customer edits in the accounting system, rate limits and batching, OAuth refresh-token r...Votes: 0GitHub stars: 7
- Audit TrailUse when code changes money, limits, permissions, customer data or configuration in a financial product, or when an agent acts on behalf of a user. Covers append-only event records with actor, action, before and after, time, reason and request context; corrections as new events; tamper evidence; UTC time with per-object sequence; links to idempotency keys and external references; dual identity for agents and approvers; retention by regulation; queries and exports for auditors; and a test per ...Votes: 0GitHub stars: 7
- Brazil Payment RailsUse when code accepts, sends, refunds or reconciles payments in Brazil, or integrates a Brazilian PSP, acquirer or bank. Covers Pix (keys, static and dynamic QR codes, txid and end-to-end id, devolucao and MED, over and under payment), boleto (linha digitavel, registration, D+1 clearing, return files, late interest and fines), card installments and receivables, CPF and CNPJ validation including the alphanumeric CNPJ from July 2026, business-day calendars, electronic invoices (NF-e, NFS-e) and...Votes: 0GitHub stars: 7
- Double Entry LedgerUse when designing or changing a ledger, wallet, balance, journal, posting or account model, or any table that answers "how much does X hold or owe". Covers immutable journal entries, postings that balance per currency, balances derived from postings, account types and normal balances, period close, corrections by reversal, external references for idempotent posting, and a sample chart of accounts for a payments product. Triggers on a balance column, an UPDATE of an amount, a wallet or credit...Votes: 0GitHub stars: 7
- Fintech AuditUse when asked to audit, review, check or harden a repository's money code, or before merging a change that touches payments, balances, ledgers, webhooks, reconciliation, accounting sync or personal and card data. Runs the deterministic lint that ships with this skill, confirms each hit by reading the code, applies the review checklists of the relevant fintech skills, and reports findings with file and line, the rule broken, the fix and the test to add. Triggers on "audit my payments code", "...Votes: 0GitHub stars: 7
- Idempotent PaymentsUse when code creates, captures, refunds, transfers or pays out money, or calls a payment processor, bank or wallet API. Covers caller-chosen idempotency keys with request fingerprints and stored responses, unique indexes that make the first writer win, the unknown-outcome problem after a timeout, persist-before-call with a pending-intent reconciler, a guarded payment state machine, bounded retries on retryable errors only, and the transactional outbox for events. Triggers on a double charge,...Votes: 0GitHub stars: 7
- Interest And AmortizationUse when code computes interest, installments, amortization schedules, accruals, late charges or an effective rate. Covers nominal versus effective rates, day-count conventions, constant-installment (Price) and constant-amortization (SAC) schedules, rounding each installment with the residual on the last one so principal sums exactly, accruing at a higher scale and rounding only when posting, prepayments, and the fields a total-cost disclosure needs. Triggers on a loan, BNPL, credit line, sub...Votes: 0GitHub stars: 7
- Money ArithmeticUse when code stores, adds, multiplies, allocates, converts, rounds, parses or formats amounts of money. Covers integer minor units with an explicit currency, ISO 4217 exponents (0, 2 and 3 decimals), one named rounding policy applied at one point, largest-remainder allocation so the parts always sum to the whole, rate application, currency conversion, and the wire format for amounts. Triggers on a new amount, price, balance, fee or rate column, field or type; on splitting an amount between p...Votes: 0GitHub stars: 7
- Money TestsUse when writing or reviewing tests for code that handles money, payments, ledgers, schedules or reconciliation. Covers property tests for sum preservation and round trips, frozen test vectors reviewed by humans, golden schedules, ledger invariants after random operations, mutation testing as the measure of a suite, synthetic data with valid check digits and edge amounts, an injected clock for month ends and leap days, idempotency and concurrency tests with fault injection, recorded processor...Votes: 0GitHub stars: 7
- Pii And Card DataUse when code collects, stores, logs, displays, exports or sends personal data (names, emails, phones, addresses, CPF, CNPJ, SSN, dates of birth), bank account numbers or card data. Covers keeping card numbers out of your systems with tokenization and hosted fields, never storing the CVV, a field classification map, allowlist redaction at the logger, encryption and key management, masking in UIs and support tools, minimization and retention, third-party sharing, synthetic test data with valid...Votes: 0GitHub stars: 7
- ReconciliationUse when code compares two or more records of the same money: ledger against processor report, processor against bank statement, invoices against payments, internal balances against a partner's. Covers normalizing each source, tiered deterministic matching (reference first, then amount and date window, then explicit grouping rules), one-to-one by default, breaks with reason codes and owners, immutable run results, and the metrics that show whether reconciliation is healthy. Triggers on a payo...Votes: 0GitHub stars: 7
- Transaction ClassificationUse when code assigns a category, account, merchant or type to bank, card or ledger transactions with rules, machine learning or an LLM, and especially when the result posts to books automatically. Covers a labeled holdout with per-class precision, recall and coverage, deterministic layers before the model (user rules, approved repeats, merchant normalization, transfer pairing), confidence gating calibrated on data, structured output validated against the chart, learning from corrections, kee...Votes: 0GitHub stars: 7
- Webhook HandlingUse when code receives callbacks from a payment processor, bank, PSP or any provider that reports money events. Covers signature verification on the raw body with timestamp tolerance, treating the payload as a notification and confirming state by API before acting, dedupe by event id, out-of-order delivery, store-then-acknowledge with asynchronous processing, correct status codes for retry, secret rotation, replay tooling and lag monitoring. Triggers on a new webhook endpoint, a missed or dup...Votes: 0GitHub stars: 7