red-team-data-model
Attack a proposed or existing data model for the ways it breaks under real conditions — concurrency, time windows, money, permissions — without proposing a…
Skill by jesdi
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jesdi-red-team-data-model
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/red-team-data-model
What's inside
- Skill name
red-team-data-model- Description
- Attack a proposed or existing data model for the ways it breaks under real conditions — concurrency, time windows, money, permissions — without proposing a redesign. Use right after sketching a data model, before writing the spec, so the top failure scenarios shape the spec's requirements and tests instead of getting discovered mid-build. Trigger on "red-team my data model", "what breaks in this schema", or "/red-team".
- License
- MIT
- Instructions
- 60 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Red-team the data model
## Rule
Don't improve or redesign. Attack it. The output is a list of ways it fails, not a fix.
## Prompt
Given the tables/fields (from `design.md` or a sketch), produce:
**Top 5 failure scenarios**, ranked worst-consequence-first. Each one:
- **Table/field** — exactly which part of the model is implicated.
- **Scenario** — the concrete sequence of events that breaks it (two users, two
requests, a clock, a race — be specific, not "concurrency issues could
occur").
- **Consequence** — what actually goes wrong in business terms (double-sold
stock, a refund that never happens, a stranger seeing another customer's
order, money debited twice).
## Focus areas, in this order
1. **Concurrency** — two actors racing the same row (two checkouts, one unit
of stock; two edits, one record).
2. **Time windows** — expiry, deadlines, "usually ready within X", reminder
timing, what happens exactly at the boundary and one tick after it.
3. **Money** — partial payments, refund correctness, rounding, double-charge
on retry, what happens if a webhook never arrives.
4. **Permissions** — who can see or mutate what; staff vs. customer vs. owner
boundaries; what an authenticated-but-wrong-role request can still reach.
## Identity inventory (when the change widens a key)
When the change widens an identity or key space (`issue` becomes
`target#issue`, `user` becomes `tenant+user`), the top 5 is not enough: one
missed identity is a cross-tenant bug. After the top 5, grep the code for every
identity built from the old key and list each one as **covered** (the design
rekeys it) or **out of scope** (with the reason). Look for:
- file and directory names (`task-{N}.json`, `messages/{issue}.jsonl`),
including legacy files a save or migration retires;
- hashes, fingerprints and dedupe keys;
- cache keys, lock names, markers, dict and set keys;
- command and URL arguments that take the bare key (`/attach N`);
- log and event fields other code reads back.
This list is exhaustive, not ranked. It is not a fix: say what is keyed by
the old identity, not how to rekey it.
## What NOT to do
- Don't suggest schema changes, indexes, or constraints — that's the design
session's job, after this list exists.
- Don't hedge with "it depends" — pick the worst plausible interpretation and
state its consequence.
- Don't produce more than 5 failure scenarios. Rank and cut; the top failure
matters more than a complete list. (The identity inventory is the one
exhaustive list.)From jesdi/general-skills, MIT.
More from jesdi/general-skills
- 0.570score
pr-visual-diff
jesdi
Capture before/after screenshots of UI views with Playwright and embed them in a PR.
SkillAFreshness: AClaude Code +9 - 0.570score
backlog
jesdi
Manage a GitHub-Issues-backed backlog and a Projects-v2 work graph via five verbs.
SkillAFreshness: AClaude Code +9 - 0.565score
review-page
jesdi
One interactive HTML page for a plan review or a questionnaire, built from a fixed template.
SkillAFreshness: AClaude Code +9 - 0.565score
review-diff
jesdi
Review a branch before merge: first a gate (the repo's check command plus crap-gate), then three independent reviewers in parallel — spec (did we build what…
SkillAFreshness: AClaude Code +9 - 0.565score
to-openspec
jesdi
Turn settled discovery notes and a sketched data model into a spec folder in openspec shape (proposal, spec, design) under specs/<slug>/, plus ticket files…
SkillAFreshness: AClaude Code +9 - 0.565score
pr-risk
jesdi
Merge-risk block of a PR body.
SkillAFreshness: AClaude Code +9 - 0.561score
to-tickets
jesdi
Break a spec, plan, or the current conversation into numbered tracer-bullet ticket files under .agent/tickets/, each declaring its blocking edges and…
SkillAFreshness: AClaude Code +9 - 0.561score
babysit-pr
jesdi
Babysit an open pull request until it is merged or handed to a human.
SkillAFreshness: AClaude Code +9 - 0.555score
implement-spec
jesdi
Implement a specification in code.
SkillAFreshness: AClaude Code +9 - 0.534score
test-prune
jesdi
Mutation-guided test pruning: a fixer proposes deleting redundant tests and strengthening weak ones, an independent reviewer accepts or rejects each proposal…
SkillAFreshness: AClaude Code +9 - 0.524score
deep-quality-review
jesdi
Extremely strict maintainability review of a branch's changes: duplicated concepts, complexity that got rearranged instead of deleted, spaghetti branching…
SkillBFreshness: BClaude Code +9 - 0.524score
crap-gate
jesdi
Score every function a branch changed with CRAP (cyclomatic complexity × untested fraction), fail on existing functions above 15 and new functions above 9…
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 23
- Last commit (this folder)
- Sep 24, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/jesdi/general-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jesdi
- 0.570score
backlog
jesdi
Manage a GitHub-Issues-backed backlog and a Projects-v2 work graph via five verbs.
SkillAFreshness: AClaude Code +9 - 0.570score
pr-visual-diff
jesdi
Capture before/after screenshots of UI views with Playwright and embed them in a PR.
SkillAFreshness: AClaude Code +9 - 0.565score
review-diff
jesdi
Review a branch before merge: first a gate (the repo's check command plus crap-gate), then three independent reviewers in parallel — spec (did we build what…
SkillAFreshness: AClaude Code +9 - 0.565score
review-page
jesdi
One interactive HTML page for a plan review or a questionnaire, built from a fixed template.
SkillAFreshness: AClaude Code +9 - 0.565score
pr-risk
jesdi
Merge-risk block of a PR body.
SkillAFreshness: AClaude Code +9 - 0.565score
to-openspec
jesdi
Turn settled discovery notes and a sketched data model into a spec folder in openspec shape (proposal, spec, design) under specs/<slug>/, plus ticket files…
SkillAFreshness: AClaude Code +9
Cite this page
red-team-data-model skill. Agent Mart. https://agentmart.dev/skills/jesdi-red-team-data-model (last updated 2026-10-24)