Use before designing the architecture of a project whose point is correctness, security, or reliability - identifies what must stay true and how it credibly fails, before any entity model exists.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Name Your Risks?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/swagatskalita092-name-your-risks)
---
name: name-your-risks
description: Use before designing the architecture of a project whose point is correctness, security, or reliability - identifies what must stay true and how it credibly fails, before any entity model exists.
---
# Name your risks
Before locking an architecture, write down what must stay true for the project to actually be correct, and how it could plausibly fail. Start from the risk, not the technique.
**Invariants:** plain, falsifiable sentences of the form "this has failed if ___ becomes possible." For a multi-tenant system: "a user from one account can never read another account's data." For a checkout flow: "inventory is never sold below zero."
**Credible failure modes:** for each invariant, name the realistic, boring way it actually breaks - a forgotten filter on a new endpoint, a race between two requests, a cache that doesn't invalidate, a background job acting on stale state. These are the real shapes bugs take, and naming them up front turns "I tested it" into "I tested the thing that was actually likely to go wrong."
**Why this comes first:** an architecture designed without naming the risks tends to bolt correctness on as an afterthought. Naming the risk first means the entity model gets built to serve it, not the other way around.
**Severity and likelihood, both as honest judgment calls:** tag each invariant critical/high/medium for severity (how bad if it breaks) and common/occasional/rare for likelihood (how often it would plausibly trigger). Don't invent a number for either, a solo project rarely has real data to back one. A critical-but-rare invariant still needs testing (the cost of being wrong is too high), and a medium-but-common one deserves real testing too, not just the worst-case-only ones.
**In practice:** finish "this project has failed if ___" at least twice. Tag each invariant with severity and likelihood - the worst-and-most-likely get the most adversarial testing later, but don't let severity alone crowd out something merely medium that happens constantly. Only then sketch the entity model, checking each piece against the list.