deploylisted
Install: claude install-skill AreteDriver/ai-skills
# /deploy - Deployment Checklist & Setup
Deployment guides for various platforms.
## Usage
```
/deploy # Analyze project, suggest deployment
/deploy systemd # Linux systemd service
/deploy docker # Docker deployment
/deploy cloud # Cloud deployment guide
```
## What This Skill Does
1. **Analyze Application** - Type, dependencies, requirements
2. **Generate Config** - Deployment configuration files
3. **Create Checklist** - Pre-deployment verification
4. **Document Process** - Step-by-step deployment guide
5. **Add Monitoring** - Health checks, logging
## Systemd Service Deployment
### Service File
```ini
# /etc/systemd/system/myapp.service
[Unit]
Description=My Application
After=network.target
[Service]
Type=simple
User=myapp
Group=myapp
WorkingDirectory=/opt/myapp
Environment="PATH=/opt/myapp/.venv/bin"
ExecStart=/opt/myapp/.venv/bin/python -m myapp serve
Restart=always
RestartSec=5
# Security hardening
NoNewPrivileges=yes
PrivateTmp=yes
ProtectSystem=strict
ProtectHome=yes
ReadWritePaths=/opt/myapp/data
[Install]
WantedBy=multi-user.target
```
### Deployment Script
```bash
#!/bin/bash
# deploy.sh
set -e
APP_DIR=/opt/myapp
SERVICE=myapp
echo "Deploying myapp..."
# Stop service
sudo systemctl stop $SERVICE || true
# Update code
cd $APP_DIR
git pull origin main
# Update dependencies
.venv/bin/pip install -e .
# Run migrations (if applicable)
# .venv/bin/python -m myapp migrate
# Start service
sudo systemctl start