stripe-refund-auditor

Solid

Audits Stripe refunds over a date range to surface anomalies (refund-rate spikes, missing reasons, duplicate refunds). Activates when the user asks to "audit refunds", "check Stripe refund anomalies", or "review refund activity".

AI & Automation 35 stars 6 forks Updated today MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /stripe-refund-auditor Audit Stripe refunds over a date range to surface anomalies — refund-rate spikes, missing reasons, suspicious duplicates — and emit a markdown report. ## When to use Trigger when the user asks any of: - "Audit our Stripe refunds for the last 30 days" - "Check refund anomalies in Stripe" - "Review refund activity since {date}" ## What this skill does 1. Read `STRIPE_API_KEY` from the environment (or `.env.local` next to this skill). 2. Run `scripts/audit.py` with the requested date range. The script paginates through `/v1/refunds` and emits a JSON record per refund. 3. Run `scripts/grader.py` over the JSON output to compute a deterministic anomaly score in `[0, 1]`. 4. Render a markdown report listing the highest-scoring anomalies with their `id`, `amount`, `currency`, `status`, and `reason`. ## Files in this skill - `scripts/audit.py` — the deterministic refund-pull + anomaly-detection helper. - `scripts/grader.py` — pure-function grader producing a 0..1 numeric score. - `tests/integration_test.py` — pytest integration test (skipped without `STRIPE_API_KEY`). - `references/refund-schema.md` — Stripe Refund object field reference. - `evals/evals.json` — LLM-judged behavioral evaluation cases. - `.env.example` — placeholder template; copy to `.env.local` and fill in real values. ## Preflight Before invoking, run `vskill check stripe-refund-auditor` to verify: - The Stripe MCP server is configured in your Claude config. - `STRIPE_API_KE...

Details

Author
anton-abyzov
Repository
anton-abyzov/vskill
Created
3 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

do-skills-audit

Audit all Claude Code skills for compliance with canonical template standards. Use when checking skill quality, validating skill structure, linting SKILL.md files, verifying frontmatter, or scanning for skill issues. Runs deterministic validation rules and best practices sync against latest Anthropic docs by default.

14 Updated today
tomcounsell
Code & Development Listed

skill-auditor

Audits and validates skill definitions for quality, completeness, and best practices. Use when reviewing existing skills for proper formatting, evaluating if skills should be split into sub-skills, or ensuring skills follow established conventions.

335 Updated today
aiskillstore
AI & Automation Listed

new-audit-skill

Use when creating a new audit skill for validating code, configuration, or documentation quality. Also use when the user says 'create an audit', 'new audit skill', 'add an audit', 'make an audit for', or 'I want to check X for problems'. Generates audit skills that follow established patterns from the 8 existing audit skills in this repo. Make sure to use this skill whenever someone wants systematic validation of any codebase artifact.

14 Updated today
tomcounsell
Data & Documents Listed

skill-audit-reminder

月初に source/skills/, templates/skills/, skills/, claude-bootstrap/skills/, scheduled-tasks/ を走査し、SKILL.md frontmatter の `last_audit_date` が 6 ヶ月以上前の skill を検出して GitHub Issue を 1 件ずつ起票する。 ADR-0036 で導入した skill backend-neutrality 監査の cadence を裏付ける。 起票済 Open Issue は de-dup で skip し、stale 0 件の月は沈黙する。

0 Updated today
ttamakijp
AI & Automation Solid

skills-eval

Evaluate Claude skill quality through auditing. Use when reviewing or auditing skills.

297 Updated today
athola