data-durability
Skill0 starsChanged 53 days agoApache-2.0View on GitHub
Protects data: backups, restores, migrations without loss. Use when data must not be lost.
In this repository33 other files it gives its agents.
- algorithmsSkill
- break-down-workSkill
- ci-cdSkill
- clarify-requirementsSkill
- concurrencySkill
- containers-and-deploySkill
- data-analysisSkill
- debugSkill
- dependenciesSkill
- design-apiSkill
- design-architectureSkill
- estimate-and-risksSkill
- explain-codeSkill
- git-workflowSkill
- handle-errors-and-loggingSkill
- implement-featureSkill
- incident-responseSkill
- ml-experimentSkill
- model-dataSkill
- observabilitySkill
- performanceSkill
- refactorSkill
- research-and-compareSkill
- review-codeSkill
- security-reviewSkill
- write-adrSkill
- write-cliSkill
- write-docsSkill
- write-goSkill
- write-pythonSkill
- write-sqlSkill
- write-testsSkill
- write-typescriptSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Keep at least one copy on another disk and one outside the building (3-2-1).
- Distinctive: line 11
Test a restore on a schedule: restore into an empty directory, open the files, run a query on each database.
- Distinctive: line 13
Before a risky change (migration, upgrade), take a backup and write down the restore command.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Steps
- List what must survive: databases, config, user files. Name the owner and how much loss is acceptable (hours, a day).
- Back up with a tool that keeps versions and checks itself (restic, borg, or the database's own backup). A plain
rsync --deletemirror is not a backup: it copies deletions and damage too. - Copy databases consistently:
sqlite3 db ".backup copy.db",pg_dump, or the engine's backup API. Never copy a live database file withcp. - Keep at least one copy on another disk and one outside the building (3-2-1).
- Test a restore on a schedule: restore into an empty directory, open the files, run a query on each database.
- In code: write a temporary file,
fsyncit, then rename it over the old one, so a crash never leaves half a file. - Before a risky change (migration, upgrade), take a backup and write down the restore command.
Checklist
- Every important path is in the backup (check the backup's file list, not the config)
- Database copies are made with the engine's backup method
- A copy exists off-site
- The last restore test passed, and its date is known
- State files are written atomically (temp file, fsync, rename)
- A backup was taken before this change, and the restore command is written down
Output
- What is backed up, where, how often, and the date of the latest backup
- Paths not covered, if any
- Result and date of the last restore test
- The restore command for the change at hand
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

