delete-test-accounts SKILL.md skillA

delete-test-accounts from aitit-inc/leadace is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add aitit-inc/leadace/delete-test-accounts@git:20260919.567c133

Pins git:20260919.567c133 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
aitit-inc/leadace
Path
.claude/skills/delete-test-accounts/SKILL.md
Versions recorded
2
Latest version
git:20260919.567c133, committed Sep 19, 2026
First version recorded
Sep 2, 2026
Size
2,755 bytes
Repository stars
3
License
a license file GitHub does not identify

Delete test accounts (Supabase Auth user + owned tenant and every tenant-scoped row) from a LeadAce database with backend/scripts/delete-accounts.ts. Triggers: 'delete test accounts', 'テストアカウント削除', 'アカウントを本番から削除', cleaning up signup-test users given by auth UUID or email.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Delete test accounts

`backend/scripts/delete-accounts.ts` removes, per target, the `tenants` row (every tenant-scoped table cascades from it) and the `auth.users` row (Supabase's auth tables cascade from it). Targets are auth user UUIDs or emails. Default is a dry-run inventory; `--apply` deletes — and only when every target is deletable: one `BLOCKED` or `not found` target aborts the whole run with nothing deleted, so a typo cannot produce a partial cleanup.

A target is `BLOCKED` when its membership is not `owner`, when the tenant has other members, or when the tenant still records a Stripe subscription and no `STRIPE_SECRET_KEY` is available. With `STRIPE_SECRET_KEY` in the env file the subscription is canceled before the delete (same call and tolerance as the in-app `DELETE /me/account`).

## Procedure (production)

Production requires user approval for every DB operation, dry-run included. Two approvals, one per command:

1. Inventory (read only) — present the command, get OK, run:
   ```bash
   cd backend && npx tsx scripts/delete-accounts.ts --env-file=.env.production <uuid|email>...
   ```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add aitit-inc/leadace/delete-test-accounts@sha256:c719c3403fea1485

The line at the top of this page pins the label git:20260919.567c133, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qd7xnesq56aacobs.svg)](https://markdownregistry.com/a/art_qd7xnesq56aacobs)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Sep 2, 2026 and Sep 19, 2026, about one every 17 days.

versioncommittedcommitsizeaudit
git:20260919.567c133 latest2026-09-19 567c133 2,755 BA view · diff
git:20260902.c2e151c2026-09-02 c2e151c 2,789 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2755 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

aitit-inc/leadace · 3 stars · license a license file GitHub does not identify · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qd7xnesq56aacobs
GET https://markdownregistry.com/api/v1/resolve?ref=aitit-inc/leadace/delete-test-accounts
GET https://markdownregistry.com/api/v1/blob/c719c3403fea1485b888c69ae2b15f196899b1832359852881d382094b9dd1a5

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from aitit-inc/leadace

eval-gate SKILL.md skill
aitit-inc/leadace · .claude/skills/eval-gate/SKILL.md · Measure a change to who gets an email, at which address, or what it says, against the send gate dataset, before any…
git:20261105.9017943 · audit A · 3 stars
local-e2e SKILL.md skill
aitit-inc/leadace · .claude/skills/local-e2e/SKILL.md · Local LeadAce E2E testing skill. Triggers: 'local E2E', 'ローカル E2E', 'local-e2e', 'E2E テスト', E2E run against the local…
git:20260912.879373c · audit A · 3 stars
quick-refactor SKILL.md skill
aitit-inc/leadace · .claude/skills/quick-refactor/SKILL.md · Cleanup pass on a change once its PR is open, before the Codex review. Triggers: 'quick refactor', 'quick-refactor'…
git:20260919.567c133 · audit A · 3 stars
quick-review SKILL.md skill
aitit-inc/leadace · .claude/skills/quick-review/SKILL.md · Bug-focused review of a change when Codex is unavailable (out of credits). Triggers: 'quick review', 'quick-review'…
git:20260919.567c133 · audit A · 3 stars
record-flows SKILL.md skill
aitit-inc/leadace · .claude/skills/record-flows/SKILL.md · Screen-record a flow in the LeadAce web app on the local stack as a captioned mp4: a throwaway signed-in account, the…
git:20261102.bd879ff · audit A · 3 stars
AGENTS.md AGENTS.md file
aitit-inc/leadace · AGENTS.md
git:20260528.1af8f71 · audit B · 3 stars
CLAUDE.md CLAUDE.md file
aitit-inc/leadace · CLAUDE.md
git:20261103.e9a8e35 · audit A · 3 stars
build-list SKILL.md skill
aitit-inc/leadace · plugin/skills/build-list/SKILL.md · This skill should be used when the user asks to "build a prospect list", "find prospects", "gather leads", "explore…
git:20261105.f167b44 · audit A · 3 stars
check-feedback SKILL.md skill
aitit-inc/leadace · plugin/skills/check-feedback/SKILL.md · Surface PMF signals from rejection feedback: feature_gap notes and competitor presence (already_have_solution /…
git:20260831.9e3776b · audit A · 3 stars
check-responses SKILL.md skill
aitit-inc/leadace · plugin/skills/check-responses/SKILL.md · This skill should be used when the user asks to "check replies", "check responses", "see results", "check if there are…
git:20261023.4b56082 · audit A · 3 stars
daily-cycle SKILL.md skill
aitit-inc/leadace · plugin/skills/daily-cycle/SKILL.md · This skill should be used when the user asks to "run the daily cycle", "run today's sales", "do the daily sales tasks"…
git:20261103.9f5b7f2 · audit A · 3 stars
delete-project SKILL.md skill
aitit-inc/leadace · plugin/skills/delete-project/SKILL.md · This skill should be used when the user asks to "delete a project", "remove a project", or wants to permanently delete…
git:20260831.9e3776b · audit A · 3 stars

Every file in aitit-inc/leadace

Browse by kind, by grade A, or by owner.