claude-autopm 1.27.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/autopm/.claude/scripts/pm/prd-new.js +292 -2
- package/autopm/.claude/scripts/pm/template-list.js +119 -0
- package/autopm/.claude/scripts/pm/template-new.js +344 -0
- package/autopm/.claude/templates/prds/README.md +334 -0
- package/autopm/.claude/templates/prds/api-feature.md +306 -0
- package/autopm/.claude/templates/prds/bug-fix.md +413 -0
- package/autopm/.claude/templates/prds/data-migration.md +483 -0
- package/autopm/.claude/templates/prds/documentation.md +439 -0
- package/autopm/.claude/templates/prds/ui-feature.md +365 -0
- package/lib/template-engine.js +347 -0
- package/package.json +1 -1
|
@@ -0,0 +1,483 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: {{id}}
|
|
3
|
+
title: {{title}}
|
|
4
|
+
type: prd
|
|
5
|
+
status: draft
|
|
6
|
+
priority: {{priority}}
|
|
7
|
+
created: {{timestamp}}
|
|
8
|
+
author: {{author}}
|
|
9
|
+
timeline: {{timeline}}
|
|
10
|
+
migration_type: {{migration_type}}
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# PRD: Data Migration - {{title}}
|
|
14
|
+
|
|
15
|
+
## Executive Summary
|
|
16
|
+
|
|
17
|
+
Execute data migration for {{migration_purpose}} from {{source_system}} to {{target_system}}.
|
|
18
|
+
|
|
19
|
+
**Migration Type**: {{migration_type}}
|
|
20
|
+
**Data Volume**: {{data_volume}}
|
|
21
|
+
**Estimated Duration**: {{estimated_duration}}
|
|
22
|
+
|
|
23
|
+
## Migration Overview
|
|
24
|
+
|
|
25
|
+
### Background
|
|
26
|
+
{{background}}
|
|
27
|
+
|
|
28
|
+
### Business Justification
|
|
29
|
+
{{business_justification}}
|
|
30
|
+
|
|
31
|
+
### Migration Scope
|
|
32
|
+
- **Source System**: {{source_system}}
|
|
33
|
+
- **Target System**: {{target_system}}
|
|
34
|
+
- **Data Volume**: {{data_volume}} records
|
|
35
|
+
- **Data Types**: {{data_types}}
|
|
36
|
+
- **Dependencies**: {{dependencies}}
|
|
37
|
+
|
|
38
|
+
## Migration Type Classification
|
|
39
|
+
|
|
40
|
+
**Type**: {{migration_type}}
|
|
41
|
+
|
|
42
|
+
- [ ] **Schema Migration** - Database structure changes only
|
|
43
|
+
- [ ] **Data Migration** - Moving data between systems
|
|
44
|
+
- [ ] **Platform Migration** - Entire system migration
|
|
45
|
+
- [ ] **Version Upgrade** - Database version update
|
|
46
|
+
- [ ] **Cloud Migration** - On-premise to cloud
|
|
47
|
+
- [ ] **Data Consolidation** - Multiple sources to one
|
|
48
|
+
- [ ] **Data Transformation** - Format/structure changes
|
|
49
|
+
|
|
50
|
+
## Data Analysis
|
|
51
|
+
|
|
52
|
+
### Source Data Assessment
|
|
53
|
+
|
|
54
|
+
**Schema Analysis**:
|
|
55
|
+
```sql
|
|
56
|
+
{{source_schema}}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**Data Quality**:
|
|
60
|
+
- **Completeness**: {{completeness_percentage}}%
|
|
61
|
+
- **Accuracy**: {{accuracy_percentage}}%
|
|
62
|
+
- **Consistency**: {{consistency_percentage}}%
|
|
63
|
+
- **Duplicates**: {{duplicate_count}} records ({{duplicate_percentage}}%)
|
|
64
|
+
- **Invalid Records**: {{invalid_count}} records ({{invalid_percentage}}%)
|
|
65
|
+
|
|
66
|
+
**Data Profiling**:
|
|
67
|
+
| Table | Records | Size | Growth Rate |
|
|
68
|
+
|-------|---------|------|-------------|
|
|
69
|
+
| {{table_1}} | {{records_1}} | {{size_1}} | {{growth_1}} |
|
|
70
|
+
| {{table_2}} | {{records_2}} | {{size_2}} | {{growth_2}} |
|
|
71
|
+
|
|
72
|
+
### Target Data Structure
|
|
73
|
+
|
|
74
|
+
**Schema Design**:
|
|
75
|
+
```sql
|
|
76
|
+
{{target_schema}}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Data Mapping**:
|
|
80
|
+
| Source Table.Field | Target Table.Field | Transformation | Notes |
|
|
81
|
+
|-------------------|-------------------|----------------|-------|
|
|
82
|
+
| {{src_1}} | {{tgt_1}} | {{transform_1}} | {{notes_1}} |
|
|
83
|
+
| {{src_2}} | {{tgt_2}} | {{transform_2}} | {{notes_2}} |
|
|
84
|
+
|
|
85
|
+
### Data Transformation Rules
|
|
86
|
+
|
|
87
|
+
{{#if transformation_rules}}
|
|
88
|
+
{{#each transformation_rules}}
|
|
89
|
+
**{{rule_name}}**:
|
|
90
|
+
- Source: `{{source}}`
|
|
91
|
+
- Target: `{{target}}`
|
|
92
|
+
- Logic: {{logic}}
|
|
93
|
+
- Example: {{example}}
|
|
94
|
+
|
|
95
|
+
{{/each}}
|
|
96
|
+
{{/if}}
|
|
97
|
+
|
|
98
|
+
## Migration Strategy
|
|
99
|
+
|
|
100
|
+
### Approach Selection
|
|
101
|
+
|
|
102
|
+
**Chosen Strategy**: {{migration_strategy}}
|
|
103
|
+
|
|
104
|
+
| Strategy | Pros | Cons | Selected |
|
|
105
|
+
|----------|------|------|----------|
|
|
106
|
+
| **Big Bang** | Fast, simple | High risk, downtime | {{bigbang_selected}} |
|
|
107
|
+
| **Trickle** | Low risk, no downtime | Complex, longer duration | {{trickle_selected}} |
|
|
108
|
+
| **Phased** | Moderate risk, controlled | Multiple deployments | {{phased_selected}} |
|
|
109
|
+
| **Parallel Run** | Safe, reversible | Resource intensive | {{parallel_selected}} |
|
|
110
|
+
|
|
111
|
+
### Migration Phases
|
|
112
|
+
|
|
113
|
+
**Phase 1: Preparation** ({{prep_duration}}):
|
|
114
|
+
- [ ] Data assessment and profiling
|
|
115
|
+
- [ ] Schema design and validation
|
|
116
|
+
- [ ] Mapping documentation
|
|
117
|
+
- [ ] Tool selection and setup
|
|
118
|
+
- [ ] Test environment preparation
|
|
119
|
+
|
|
120
|
+
**Phase 2: Development** ({{dev_duration}}):
|
|
121
|
+
- [ ] Migration scripts development
|
|
122
|
+
- [ ] Transformation logic implementation
|
|
123
|
+
- [ ] Validation procedures
|
|
124
|
+
- [ ] Rollback procedures
|
|
125
|
+
- [ ] Testing framework
|
|
126
|
+
|
|
127
|
+
**Phase 3: Testing** ({{test_duration}}):
|
|
128
|
+
- [ ] Unit testing (transformation logic)
|
|
129
|
+
- [ ] Integration testing (end-to-end flow)
|
|
130
|
+
- [ ] Performance testing (volume, speed)
|
|
131
|
+
- [ ] Data validation (accuracy, completeness)
|
|
132
|
+
- [ ] Rollback testing
|
|
133
|
+
|
|
134
|
+
**Phase 4: Execution** ({{exec_duration}}):
|
|
135
|
+
- [ ] Pre-migration backup
|
|
136
|
+
- [ ] Migration execution
|
|
137
|
+
- [ ] Real-time monitoring
|
|
138
|
+
- [ ] Data validation
|
|
139
|
+
- [ ] Post-migration verification
|
|
140
|
+
|
|
141
|
+
**Phase 5: Verification** ({{verify_duration}}):
|
|
142
|
+
- [ ] Data integrity checks
|
|
143
|
+
- [ ] Business validation
|
|
144
|
+
- [ ] Performance verification
|
|
145
|
+
- [ ] User acceptance testing
|
|
146
|
+
- [ ] Documentation updates
|
|
147
|
+
|
|
148
|
+
## Technical Requirements
|
|
149
|
+
|
|
150
|
+
### Infrastructure
|
|
151
|
+
|
|
152
|
+
**Source Environment**:
|
|
153
|
+
- Database: {{source_db}}
|
|
154
|
+
- Version: {{source_version}}
|
|
155
|
+
- Size: {{source_size}}
|
|
156
|
+
- Location: {{source_location}}
|
|
157
|
+
|
|
158
|
+
**Target Environment**:
|
|
159
|
+
- Database: {{target_db}}
|
|
160
|
+
- Version: {{target_version}}
|
|
161
|
+
- Expected Size: {{target_size}}
|
|
162
|
+
- Location: {{target_location}}
|
|
163
|
+
|
|
164
|
+
**Migration Tools**:
|
|
165
|
+
{{#if migration_tools}}
|
|
166
|
+
{{#each migration_tools}}
|
|
167
|
+
- {{name}}: {{purpose}}
|
|
168
|
+
{{/each}}
|
|
169
|
+
{{/if}}
|
|
170
|
+
|
|
171
|
+
### Performance Requirements
|
|
172
|
+
|
|
173
|
+
- **Migration Speed**: {{migration_speed}} records/second
|
|
174
|
+
- **Downtime Window**: {{downtime_window}}
|
|
175
|
+
- **Batch Size**: {{batch_size}} records
|
|
176
|
+
- **Parallel Threads**: {{parallel_threads}}
|
|
177
|
+
- **Network Bandwidth**: {{bandwidth_requirement}}
|
|
178
|
+
|
|
179
|
+
### Data Validation
|
|
180
|
+
|
|
181
|
+
**Pre-Migration Validation**:
|
|
182
|
+
- [ ] Record count verification
|
|
183
|
+
- [ ] Data type validation
|
|
184
|
+
- [ ] Constraint verification
|
|
185
|
+
- [ ] Referential integrity check
|
|
186
|
+
- [ ] Business rule validation
|
|
187
|
+
|
|
188
|
+
**Post-Migration Validation**:
|
|
189
|
+
- [ ] Row count reconciliation
|
|
190
|
+
- [ ] Data integrity verification
|
|
191
|
+
- [ ] Performance benchmarking
|
|
192
|
+
- [ ] Business logic validation
|
|
193
|
+
- [ ] User acceptance testing
|
|
194
|
+
|
|
195
|
+
**Validation Queries**:
|
|
196
|
+
```sql
|
|
197
|
+
-- Record count comparison
|
|
198
|
+
{{count_query}}
|
|
199
|
+
|
|
200
|
+
-- Data integrity check
|
|
201
|
+
{{integrity_query}}
|
|
202
|
+
|
|
203
|
+
-- Business validation
|
|
204
|
+
{{business_query}}
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
## Risk Assessment
|
|
208
|
+
|
|
209
|
+
### Technical Risks
|
|
210
|
+
|
|
211
|
+
| Risk | Impact | Probability | Mitigation |
|
|
212
|
+
|------|--------|-------------|------------|
|
|
213
|
+
| Data loss during migration | Critical | Low | Full backup, transaction logs |
|
|
214
|
+
| Performance degradation | High | Medium | Load testing, optimization |
|
|
215
|
+
| Data corruption | Critical | Low | Validation scripts, checksums |
|
|
216
|
+
| Downtime exceeds window | High | Medium | Phased approach, parallel run |
|
|
217
|
+
| Transformation errors | Medium | High | Extensive testing, validation |
|
|
218
|
+
|
|
219
|
+
### Business Risks
|
|
220
|
+
|
|
221
|
+
| Risk | Impact | Probability | Mitigation |
|
|
222
|
+
|------|--------|-------------|------------|
|
|
223
|
+
| Business disruption | High | Medium | Off-hours migration, communication |
|
|
224
|
+
| Data inconsistency | High | Low | Validation procedures |
|
|
225
|
+
| User adoption issues | Medium | High | Training, documentation |
|
|
226
|
+
| Regulatory compliance | Critical | Low | Audit trail, validation |
|
|
227
|
+
|
|
228
|
+
## Rollback Plan
|
|
229
|
+
|
|
230
|
+
### Rollback Triggers
|
|
231
|
+
- Data loss > {{data_loss_threshold}}%
|
|
232
|
+
- Data corruption detected
|
|
233
|
+
- Performance degradation > {{perf_degradation_threshold}}%
|
|
234
|
+
- Migration time exceeds {{time_threshold}}
|
|
235
|
+
- Critical errors > {{error_threshold}}
|
|
236
|
+
|
|
237
|
+
### Rollback Procedure
|
|
238
|
+
|
|
239
|
+
**Immediate Rollback** (< 30 minutes):
|
|
240
|
+
1. Stop migration process
|
|
241
|
+
2. Restore from pre-migration backup
|
|
242
|
+
3. Verify data integrity
|
|
243
|
+
4. Resume normal operations
|
|
244
|
+
5. Communicate status
|
|
245
|
+
|
|
246
|
+
**Full Rollback** (< 2 hours):
|
|
247
|
+
1. {{rollback_step_1}}
|
|
248
|
+
2. {{rollback_step_2}}
|
|
249
|
+
3. {{rollback_step_3}}
|
|
250
|
+
4. Data validation and verification
|
|
251
|
+
5. System health check
|
|
252
|
+
6. User notification
|
|
253
|
+
|
|
254
|
+
**Rollback Validation**:
|
|
255
|
+
```sql
|
|
256
|
+
-- Verify rollback success
|
|
257
|
+
{{rollback_validation_query}}
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
## Testing Strategy (TDD)
|
|
261
|
+
|
|
262
|
+
### Test Environment Setup
|
|
263
|
+
- [ ] Replica of production data (anonymized)
|
|
264
|
+
- [ ] Identical infrastructure configuration
|
|
265
|
+
- [ ] Migration tools installed and configured
|
|
266
|
+
- [ ] Monitoring and logging enabled
|
|
267
|
+
|
|
268
|
+
### Test Scenarios
|
|
269
|
+
|
|
270
|
+
**Unit Tests** (Migration Scripts):
|
|
271
|
+
- [ ] Data extraction accuracy
|
|
272
|
+
- [ ] Transformation logic correctness
|
|
273
|
+
- [ ] Data loading verification
|
|
274
|
+
- [ ] Error handling
|
|
275
|
+
- [ ] Edge cases (nulls, special characters, large values)
|
|
276
|
+
|
|
277
|
+
**Integration Tests** (End-to-End):
|
|
278
|
+
- [ ] Full migration workflow
|
|
279
|
+
- [ ] Data consistency across systems
|
|
280
|
+
- [ ] Referential integrity
|
|
281
|
+
- [ ] Performance under load
|
|
282
|
+
- [ ] Concurrent operations
|
|
283
|
+
|
|
284
|
+
**Data Validation Tests**:
|
|
285
|
+
- [ ] Record count match ({{expected_record_count}})
|
|
286
|
+
- [ ] Field-level comparison (sample: {{sample_size}}%)
|
|
287
|
+
- [ ] Aggregate validation (sums, counts)
|
|
288
|
+
- [ ] Business logic validation
|
|
289
|
+
- [ ] Data type consistency
|
|
290
|
+
|
|
291
|
+
**Performance Tests**:
|
|
292
|
+
- [ ] Migration speed (target: {{speed_target}} rec/s)
|
|
293
|
+
- [ ] Query performance (target: < {{query_target}}ms)
|
|
294
|
+
- [ ] Index efficiency
|
|
295
|
+
- [ ] Resource utilization (CPU, memory, disk)
|
|
296
|
+
|
|
297
|
+
**Rollback Tests**:
|
|
298
|
+
- [ ] Backup restoration
|
|
299
|
+
- [ ] Data integrity post-rollback
|
|
300
|
+
- [ ] Time to restore (< {{restore_time_target}})
|
|
301
|
+
- [ ] Service availability
|
|
302
|
+
|
|
303
|
+
### Test Data Coverage
|
|
304
|
+
|
|
305
|
+
- **Volume Testing**: {{volume_test_percentage}}% of production data
|
|
306
|
+
- **Edge Cases**: {{edge_case_count}} scenarios
|
|
307
|
+
- **Error Scenarios**: {{error_scenario_count}} cases
|
|
308
|
+
- **Performance Testing**: {{performance_load}}x expected load
|
|
309
|
+
|
|
310
|
+
## Data Quality & Cleansing
|
|
311
|
+
|
|
312
|
+
### Data Cleansing Rules
|
|
313
|
+
|
|
314
|
+
{{#if cleansing_rules}}
|
|
315
|
+
{{#each cleansing_rules}}
|
|
316
|
+
**{{rule_name}}**:
|
|
317
|
+
- Issue: {{issue}}
|
|
318
|
+
- Fix: {{fix}}
|
|
319
|
+
- Impact: {{impact}} records
|
|
320
|
+
{{/each}}
|
|
321
|
+
{{/if}}
|
|
322
|
+
|
|
323
|
+
### Data Enrichment
|
|
324
|
+
|
|
325
|
+
{{#if enrichment_rules}}
|
|
326
|
+
{{#each enrichment_rules}}
|
|
327
|
+
- {{field}}: {{enrichment_logic}}
|
|
328
|
+
{{/each}}
|
|
329
|
+
{{/if}}
|
|
330
|
+
|
|
331
|
+
### Deduplication Strategy
|
|
332
|
+
- **Detection**: {{dedup_detection_method}}
|
|
333
|
+
- **Resolution**: {{dedup_resolution_strategy}}
|
|
334
|
+
- **Estimated Duplicates**: {{estimated_duplicates}}
|
|
335
|
+
|
|
336
|
+
## Monitoring & Logging
|
|
337
|
+
|
|
338
|
+
### Migration Monitoring
|
|
339
|
+
|
|
340
|
+
**Real-time Metrics**:
|
|
341
|
+
- Records migrated (current/total)
|
|
342
|
+
- Migration speed (records/second)
|
|
343
|
+
- Error count and rate
|
|
344
|
+
- Resource utilization
|
|
345
|
+
- Estimated completion time
|
|
346
|
+
|
|
347
|
+
**Logging Requirements**:
|
|
348
|
+
- [ ] Transaction logs (all operations)
|
|
349
|
+
- [ ] Error logs (detailed stack traces)
|
|
350
|
+
- [ ] Performance logs (timing, bottlenecks)
|
|
351
|
+
- [ ] Audit logs (data changes)
|
|
352
|
+
- [ ] Validation logs (pass/fail)
|
|
353
|
+
|
|
354
|
+
**Dashboard Metrics**:
|
|
355
|
+
```
|
|
356
|
+
Migration Progress: [=========> ] 45%
|
|
357
|
+
Records Migrated: 4,500,000 / 10,000,000
|
|
358
|
+
Speed: 5,000 rec/s
|
|
359
|
+
Errors: 12 (0.0003%)
|
|
360
|
+
ETA: 2h 15m
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
### Alerts Configuration
|
|
364
|
+
- Migration stopped/failed
|
|
365
|
+
- Error rate > {{error_rate_threshold}}%
|
|
366
|
+
- Performance < {{perf_threshold}} rec/s
|
|
367
|
+
- Disk space < {{disk_threshold}}%
|
|
368
|
+
- Memory usage > {{memory_threshold}}%
|
|
369
|
+
|
|
370
|
+
## Security & Compliance
|
|
371
|
+
|
|
372
|
+
### Data Security
|
|
373
|
+
- [ ] Data encryption in transit (TLS 1.3)
|
|
374
|
+
- [ ] Data encryption at rest (AES-256)
|
|
375
|
+
- [ ] Access control (RBAC)
|
|
376
|
+
- [ ] Audit logging (all operations)
|
|
377
|
+
- [ ] PII/PHI protection (anonymization if needed)
|
|
378
|
+
|
|
379
|
+
### Compliance Requirements
|
|
380
|
+
{{#if compliance_requirements}}
|
|
381
|
+
{{#each compliance_requirements}}
|
|
382
|
+
- **{{regulation}}**: {{requirement}}
|
|
383
|
+
{{/each}}
|
|
384
|
+
{{/if}}
|
|
385
|
+
|
|
386
|
+
### Data Retention
|
|
387
|
+
- **Backup Retention**: {{backup_retention}} days
|
|
388
|
+
- **Log Retention**: {{log_retention}} days
|
|
389
|
+
- **Archive Policy**: {{archive_policy}}
|
|
390
|
+
|
|
391
|
+
## Success Metrics
|
|
392
|
+
|
|
393
|
+
- **Data Accuracy**: {{accuracy_target}}% (100% critical data)
|
|
394
|
+
- **Completeness**: {{completeness_target}}% (no data loss)
|
|
395
|
+
- **Migration Speed**: {{speed_target}} records/second
|
|
396
|
+
- **Downtime**: < {{downtime_target}} hours
|
|
397
|
+
- **Error Rate**: < {{error_rate_target}}%
|
|
398
|
+
- **Rollback Success**: < {{rollback_time_target}} minutes (if needed)
|
|
399
|
+
|
|
400
|
+
## Communication Plan
|
|
401
|
+
|
|
402
|
+
### Stakeholder Communication
|
|
403
|
+
|
|
404
|
+
**Pre-Migration**:
|
|
405
|
+
- Migration schedule and impact
|
|
406
|
+
- User actions required
|
|
407
|
+
- Support contact information
|
|
408
|
+
- Rollback plan overview
|
|
409
|
+
|
|
410
|
+
**During Migration**:
|
|
411
|
+
- Real-time progress updates (every {{update_frequency}})
|
|
412
|
+
- Issue escalation process
|
|
413
|
+
- Status dashboard URL
|
|
414
|
+
|
|
415
|
+
**Post-Migration**:
|
|
416
|
+
- Completion confirmation
|
|
417
|
+
- Verification results
|
|
418
|
+
- Known issues (if any)
|
|
419
|
+
- Next steps
|
|
420
|
+
|
|
421
|
+
### User Training
|
|
422
|
+
{{#if user_training_needed}}
|
|
423
|
+
- [ ] Documentation updates
|
|
424
|
+
- [ ] Training sessions scheduled
|
|
425
|
+
- [ ] FAQ prepared
|
|
426
|
+
- [ ] Support team briefed
|
|
427
|
+
{{/if}}
|
|
428
|
+
|
|
429
|
+
## Post-Migration Activities
|
|
430
|
+
|
|
431
|
+
### Immediate (Day 0-1)
|
|
432
|
+
- [ ] Data validation (100% critical data)
|
|
433
|
+
- [ ] Performance monitoring
|
|
434
|
+
- [ ] Error log review
|
|
435
|
+
- [ ] User feedback collection
|
|
436
|
+
- [ ] Support ticket monitoring
|
|
437
|
+
|
|
438
|
+
### Short-term (Week 1)
|
|
439
|
+
- [ ] Extended validation
|
|
440
|
+
- [ ] Performance optimization
|
|
441
|
+
- [ ] Issue resolution
|
|
442
|
+
- [ ] Documentation finalization
|
|
443
|
+
- [ ] Backup cleanup
|
|
444
|
+
|
|
445
|
+
### Long-term (Month 1)
|
|
446
|
+
- [ ] Migration retrospective
|
|
447
|
+
- [ ] Process documentation
|
|
448
|
+
- [ ] Lessons learned
|
|
449
|
+
- [ ] Tool evaluation
|
|
450
|
+
- [ ] Decommission old system (if applicable)
|
|
451
|
+
|
|
452
|
+
## Appendix
|
|
453
|
+
|
|
454
|
+
### Migration Scripts
|
|
455
|
+
|
|
456
|
+
**Extraction Script**:
|
|
457
|
+
```sql
|
|
458
|
+
{{extraction_script}}
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
**Transformation Script**:
|
|
462
|
+
```sql
|
|
463
|
+
{{transformation_script}}
|
|
464
|
+
```
|
|
465
|
+
|
|
466
|
+
**Loading Script**:
|
|
467
|
+
```sql
|
|
468
|
+
{{loading_script}}
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
### References
|
|
472
|
+
- [Data Migration Best Practices](https://aws.amazon.com/cloud-data-migration/)
|
|
473
|
+
- [Database Migration Guide](https://www.microsoft.com/en-us/sql-server/migration-guide)
|
|
474
|
+
- [ETL Best Practices 2025](https://www.talend.com/resources/what-is-etl/)
|
|
475
|
+
- [Data Quality Framework](https://www.informatica.com/resources/articles/what-is-data-quality.html)
|
|
476
|
+
|
|
477
|
+
### Changelog
|
|
478
|
+
- {{timestamp}}: Initial data migration PRD created by {{author}}
|
|
479
|
+
|
|
480
|
+
---
|
|
481
|
+
|
|
482
|
+
*Data Migration PRD - Generated from template: data-migration*
|
|
483
|
+
*Template follows 2025 best practices: Comprehensive validation, TDD testing, rollback procedures, compliance-ready*
|