- 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.
875 B
875 B
Performance Tuning Prompt (Draft)
Purpose
Provide a structured workflow for identifying and resolving performance bottlenecks in a service or stack.
Instructions
- Define performance goals and baseline metrics (CPU, RAM, latency, throughput).
- Collect current performance data using monitoring tools.
- Identify bottlenecks (CPU, memory, I/O, network, application logic).
- Review and optimize service configuration and resource limits.
- Tune application code or queries as needed.
- Test changes in a staging environment.
- Monitor post-tuning metrics and compare to baseline.
- Document changes and lessons learned.
Checklist
- Baseline metrics defined
- Bottlenecks identified
- Config/resource limits reviewed
- Code/queries optimized
- Changes tested in staging
- Post-tuning metrics collected
- Documentation updated