data-migration
Skill1 starsChanged 38 days agoApache-2.0View on GitHub
Plan and execute migration of company data into Loams from Postgres, MySQL, Elasticsearch, Qdrant, Neo4j, Kafka, ClickHouse, or object storage, with dual-write, backfill, verification, and rollback. Use after the pilot and before cutover.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- philtzjp/skillstheir own version, first seen Nov 27, 2026
- Cure-Consulting-Group/ProductEngineeringSkillstheir own version, first seen Nov 12, 2026
- RBraga01/a-teamtheir own version, first seen Nov 1, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 13, 2026
- tejastn10/workbenchtheir own version, first seen Oct 13, 2026
- shaheershoaib/data-migrationtheir own version, first seen Sep 5, 2026
Used with
Projects with it also use incident-response.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- korchard333/claude-power-platform-community★ 46same name
- RBraga01/a-team★ 30same name
- muon-m2/magento2-tools★ 6same name
- Cure-Consulting-Group/ProductEngineeringSkills★ 3same name
- philtzjp/skills★ 2same name
- tejastn10/workbench★ 1same name
- Abdox-menara/guard-skills★ 0same name
- geoffsdesk/portage★ 0same name
- Jinbae10/skills★ 0same name
- shaheershoaib/data-migration★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- company/AGENTS.mdAGENTS.md
- agent-platformSkill
- app-migrationSkill
- byog-deploySkill
- conformance-testingSkill
- cutover-operationsSkill
- decision-recordsSkill
- identity-authzSkill
- loams-adoptionSkill
- loams-fitSkill
- loams-rust-sdkSkill
- observability-meteringSkill
- rust-workspaceSkill
- sdk-portabilitySkill
- stack-inventorySkill
- target-architectureSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
9
Distinctive
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 46
Choose IDs: Keep stable IDs where external references exist.
- Distinctive: line 48
Backfill first: Read-only snapshot → transform → write in batches with idempotency keys.
- Distinctive: line 50
Dual-write: Write to both systems behind a flag.
- Distinctive: line 56
Rollback: Keep the old store writable and the backfill replayable.
- Distinctive: line 58
Retire: Stop dual-write, revoke old credentials, archive or delete per retention, record the decision.
- Distinctive: line 70
No migration without a measured rollback.
- Distinctive: line 71
No PII in logs or test fixtures.
- Distinctive: line 72
Do not delete the source until the retention and legal owners sign off.
- Distinctive: line 73
Do not run a backfill against production without a rate limit and a stop switch.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Data migration
Data migration is a product change, not a copy job. The old and new systems must agree on what a record means.
When to use
- Stage 4, after a pilot passes.
- A store is being replaced by collections, SQL, graph, streams, House, or the bucket.
- A dual-write or backfill needs a verification plan.
Inputs
company/stack-inventory/data-map.md.company/architecture/fit.mdandtarget.md.- Source schemas, sample records, volumes, growth, and retention.
- Design 01, Design 44.
Strategy
Pick one per store:
| Strategy | When | Cost |
| Compatibility | The source protocol is supported (Postgres/MySQL wire, ES API) | Lowest; keep the client |
| Native API | You want Loams' schema, search, or consistency | Rewrite the data path |
| Bridge | Cut over gradually; Loams in front, old store behind | Dual-write complexity |
| Rebuild | The old data is disposable or can be regenerated | Longest; verify provenance |
Procedure
- Map the schema. Source fields → Loams fields, types, IDs, vectors,
analyzers, filters. Write the mapping in
company/runbooks/migration-<store>.md. - Choose IDs. Keep stable IDs where external references exist. Document how new IDs are minted (UUIDv7 is a good default).
- Backfill first. Read-only snapshot → transform → write in batches with idempotency keys. Record counts and a content hash per batch.
- Dual-write. Write to both systems behind a flag. Compare on read or in a sampler. Never dual-write without a divergence metric.
- Verify. Counts per partition, checksums on a sample, query-result parity for the top queries, vector recall on a labeled set, and latency.
- Switch reads. Shadow reads, then canary, then full. Keep writes dual until the rollback window closes.
- Rollback. Keep the old store writable and the backfill replayable. Test the rollback before cutover.
- Retire. Stop dual-write, revoke old credentials, archive or delete per retention, record the decision.
Outputs
company/runbooks/migration-<store>.md— mapping, order, commands, owners.- Backfill and verification scripts (checked in, no secrets).
company/runbooks/rollback-<store>.md.- A short migration report with counts, hashes, and open gaps.
Guardrails
- No migration without a measured rollback.
- No PII in logs or test fixtures; use synthetic samples.
- Do not delete the source until the retention and legal owners sign off.
- Do not run a backfill against production without a rate limit and a stop switch.
References
- Design 01
- Design 44
- Migration playbook
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.

