Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

financial-audit-trail

БесплатноБез исполняемых скриптовНе проверен

Build immutable audit trails for all financial transactions with user attribution, change logging, tamper detection, and compliance-ready export for external…

finsilabsот finsilabs★ 69 звёзд на GitHub

Об этом скилле

Financial Audit Trail

Overview

A financial audit trail records every change to financial data — orders, payments, refunds, manual price adjustments, and invoice approvals — with who made the change, when, from what IP, and what the record looked like before and after. This infrastructure is required for PCI-DSS logging compliance, SOX ITGC evidence, GDPR erasure audit trails, and financial statement audits. Every major e-commerce platform generates some audit history; the gap is usually in completeness, manual change attribution, and export format for auditors.

When to Use This Skill

  • When your finance team cannot reconstruct who changed an order total, applied a manual discount, or voided an invoice
  • When preparing for an external audit and needing to produce a complete, searchable transaction history for a specific time period
  • When building SOX-compliant financial systems that require evidence of control operation
  • When implementing PCI-DSS logging requirements for access to cardholder data environments
  • When GDPR erasure requests require proof that a customer's financial data was actually anonymized
  • When investigating discrepancies between your e-commerce revenue and the payment processor's settlement report

Core Instructions

Step 1: Determine the merchant's platform and what is already captured

Platform Built-in Audit Capability What You Need to Add
Shopify Order timeline records all events (created, payment captured, refunded, edited); admin action attribution is limited Export timeline data via Admin API; for admin changes, enable Staff activity logging under Settings
WooCommerce Order notes show customer-visible actions; system notes show some status changes Install WooCommerce Admin Audit Log or Simple History plugin for full admin action tracking
BigCommerce Store logs in Advanced Settings → Store Logs for system events; order history available via API For admin action attribution, export via API and combine with server access logs
Custom / Headless Nothing built in Must build — see Custom section

Step 2: Extract and supplement platform audit data


Shopify

Enabling and accessing audit data:

  1. Go to Settings → Activity (Shopify admin) to see recent staff activity
  2. For more granular data, install Shopify Audit or use the Admin API:
    • GET /admin/api/2024-04/events.json returns all store events
    • Filter by verb (confirmed, placed, edited, refunded, etc.) and subject_type (Order, Refund, Customer)
  3. Each order has a Timeline section showing all state changes with timestamps

Export for auditors:

  1. Go to Orders → Export to download order data as CSV
  2. For detailed refund records: Orders → [specific order] → Timeline shows each action
  3. Use the Shopify Admin API to extract the full event stream:
// Fetch all financial events for a date range
const events = await shopify.event.list({
  verb: 'confirmed,placed,refunded,voided',
  created_at_min: '2026-01-01T00:00:00Z',
  created_at_max: '2026-12-31T23:59:59Z',
  limit: 250,
});

Staff action tracking (Shopify Plus):

  • Go to Settings → Users and permissions → Staff activity log
  • This shows admin actions including order edits, price adjustments, and refunds with user attribution

WooCommerce

WooCommerce order notes provide some audit history, but do not track which admin user made a change. Install a dedicated audit plugin.

Simple History plugin (free, recommended):

  1. Install Simple History from the WordPress plugin directory
  2. It automatically logs:
    • Order status changes with user attribution
    • Product price changes
    • WooCommerce setting changes
    • User login/logout events
  3. Go to Dashboard → Simple History to view the log
  4. Export as CSV via Simple History → Settings → Export

WooCommerce Admin Audit Log (premium, ~$50/year):

  1. Install from WooCommerce.com or a third-party marketplace
  2. Provides more granular logging including:
    • Manual order total edits
    • Discount application with staff user attribution
    • Refund amounts and approving user
  3. Export in CSV or PDF for auditors

Manual order edit tracking: For any manual financial change (discount applied, total adjusted), add an Order Note (internal, not visible to customer) documenting:

  • What was changed
  • Why it was changed
  • Who approved it

This is the minimum acceptable evidence for an auditor when automated logging is not in place.


BigCommerce

Accessing store logs:

  1. Go to Advanced Settings → Store Logs
  2. Filter by log type: Order (financial changes), User (admin activity), System
  3. Export as CSV

Order history via API: Use the BigCommerce Orders API to extract a complete order history with status transitions:

// Get all orders modified in a dat
Полный SKILL.md на GitHub

Установить financial-audit-trail в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

claude-code
cursor
gemini-cli
copilot
codex-cli
kiro
opencode

Вложенные файлы

evals/append-only-schema-with-immutability-enf/criteria.jsonevals/append-only-schema-with-immutability-enf/task.mdevals/audit-logger-service-with-hash-chaining/criteria.jsonevals/audit-logger-service-with-hash-chaining/task.mdevals/compliance-export-and-chain-integrity-ve/criteria.jsonevals/compliance-export-and-chain-integrity-ve/task.mdtile.json

FAQ

Что делает скилл financial-audit-trail?

Build immutable audit trails for all financial transactions with user attribution, change logging, tamper detection, and compliance-ready export for external audits

Как установить скилл financial-audit-trail?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл financial-audit-trail запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить financial-audit-trail с