Agent skill

background-service-manager-best-practices

Sub-skill of background-service-manager: Best Practices.

Stars 4
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/operations/devtools/background-service-manager/best-practices

SKILL.md

Best Practices

Best Practices

  1. Always use PID files - Track running processes reliably
  2. Implement graceful shutdown - Handle SIGTERM properly
  3. Log to files - Use /tmp/ or dedicated log directory
  4. Check before start - Prevent duplicate instances
  5. Clean stale PIDs - Remove orphaned PID files
  6. Add status monitoring - Show resource usage
  7. Support restart - Stop + start in one command
  8. Environment variables - Configure via env, not hardcoded

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results