homelab/.github/prompts/service-migration.prompt.md
nathan 016d38d5ab feat(prompts): add Docker service lifecycle and session management workflows
- Add service management prompts (review, standardize, troubleshoot, integration)
- Add Docker Swarm migration and tutoring workflows (swarm-migration, swarm-tutor)
- Add SSO onboarding guide for Authentik integration (sso-onboarding)
- Add session lifecycle prompts (start, end, status) for context continuity
- Add node bootstrap scripts for Debian Trixie (day0bootstrap.sh) and Ubuntu/Debian (pi_init.sh)

These prompts implement gated, step-by-step workflows with explicit confirmation
requirements to prevent accidental changes during service operations. Bootstrap
scripts standardize IP configuration (10.0.0.200) and install Docker + Ansible
on new nodes.
2026-04-12 16:30:53 -04:00

24 lines
999 B
Markdown

# Service Migration Prompt (Draft)
## Purpose
Guide the migration of a service from one environment, stack, or platform to another, ensuring data integrity, minimal downtime, and clear documentation.
## Instructions
1. Identify the source and target environments (include versions, OS, dependencies).
2. Inventory all service data, configs, secrets, and dependencies.
3. Plan migration steps (data export/import, config translation, network changes).
4. Schedule migration window and notify stakeholders.
5. Perform a backup of all critical data before migration.
6. Execute migration steps, monitoring for errors.
7. Validate service functionality in the new environment.
8. Update documentation and inform users of completion.
9. Roll back if critical issues are detected.
## Checklist
- [ ] Source and target environments documented
- [ ] Data and configs backed up
- [ ] Migration plan reviewed
- [ ] Stakeholders notified
- [ ] Post-migration validation complete
- [ ] Documentation updated