homelab/.github/prompts/service-decommission.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

853 B

Service Decommissioning Prompt (Draft)

Purpose

Safely retire and remove a service, ensuring data is handled appropriately and documentation is updated.

Instructions

  1. Confirm service is no longer required and obtain approval for decommissioning.
  2. Notify stakeholders and schedule decommissioning window.
  3. Backup all relevant data and configs before removal.
  4. Remove service from production (stop containers, disable endpoints, etc.).
  5. Archive or securely delete data as per policy.
  6. Update documentation and inventory to reflect removal.
  7. Monitor for any unexpected issues post-decommission.

Checklist

  • Approval obtained
  • Stakeholders notified
  • Data/configs backed up
  • Service removed from production
  • Data archived/deleted
  • Documentation/inventory updated
  • Post-removal monitoring complete