This is a principles-based guide that teaches you how to think about server management rather than memorizing commands. It covers process management tool selection (PM2 vs systemd vs containers), monitoring strategy with alert severity levels, log rotation basics, and scaling decisions. The content is organized around decision frameworks: when to scale vertically versus horizontally, what makes a proper health check, which metrics actually matter. It's refreshingly pragmatic about avoiding common anti-patterns like running as root or skipping monitoring until something breaks. Best for developers who need to understand the reasoning behind production ops choices, not sysadmins who already live this daily.

skills.sh installs
349
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill server-management --agent claude-code

Installs into .claude/skills of the current project.

Files

Server Management

Server management principles for production operations. Learn to THINK, not memorize commands.


1. Process Management Principles

Tool Selection

ScenarioTool
Node.js appPM2 (clustering, reload)
Any appsystemd (Linux native)
ContainersDocker/Podman
OrchestrationKubernetes, Docker Swarm

Process Management Goals

GoalWhat It Means
Restart on crashAuto-recovery
Zero-downtime reloadNo service interruption
ClusteringUse all CPU cores
PersistenceSurvive server reboot

2. Monitoring Principles

What to Monitor

CategoryKey Metrics
AvailabilityUptime, health checks
PerformanceResponse time, throughput
ErrorsError rate, types
ResourcesCPU, memory, disk

Alert Severity Strategy

LevelResponse
CriticalImmediate action
WarningInvestigate soon
InfoReview daily

Monitoring Tool Selection

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Backend & APIs, DevOps & CI/CD, Productivity & Planning
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1pedronauck avatardrizzle-safe-migrationspedronauck/skillsProduction-safe Drizzle migration workflow for schema changes that require data backfills or constraint tightening. Use when changing enums/check constraints/de339skills.sh installs
2jezweb avatarclaude-apijezweb/claude-skillsBuild with Claude Messages API using structured outputs for guaranteed JSON schema validation. Covers prompt caching (90% savings), streaming SSE, tool use, and325skills.sh installs
3sickn33 avatardatabase-cloud-optimization-cost-optimizesickn33/antigravity-awesome-skillsdatabase cloud optimization cost optimize320skills.sh installs
4jezweb avatargoogle-chat-apijezweb/claude-skillsBuild Google Chat bots and webhooks with Cards v2, interactive forms, and Cloudflare Workers. Covers Spaces/Members/Reactions APIs, bearer token verification, a314skills.sh installs
5davila7 avatarlambda-labs-gpu-clouddavila7/claude-code-templatesReserved and on-demand GPU cloud instances for ML training and inference. Use when you need dedicated GPU instances with simple SSH access, persistent filesyste309skills.sh installs
6bmad-code-org avatarbmad-review-edge-case-hunterbmad-code-org/bmad-methodDeprecated — forwards to bmad-review.295skills.sh installs