devops-dailylisted
Install: claude install-skill talentedgeai/infinite-leverage
It is now 6:03 AM. Today's date is YYYY-MM-DD.
## Step 0 — Load credentials
```python
def parse_env(path):
vals = {}
try:
with open(path) as f:
for line in f:
line = line.strip()
if not line or line.startswith("#") or "=" not in line:
continue
k, _, v = line.partition("=")
vals[k.strip()] = v.strip().strip('"').strip("'")
except FileNotFoundError:
pass
return vals
env = {}
for f in [".env", ".env.development", ".env.production", ".env.local"]:
env.update(parse_env(f))
```
```bash
cd ~/code-projects/{project-slug}
```
## Step 1 — Check production deployment status
```bash
vercel ls --limit 5
vercel inspect $(vercel ls --limit 1 --json | jq -r '.[0].url') 2>/dev/null || true
curl -s -o /dev/null -w "%{http_code}" https://{project-slug}.vercel.app
```
Record: latest deployment status (READY / ERROR / BUILDING), HTTP response code, deploy timestamp.
Flag as ❌ if: status is ERROR, HTTP is not 200, or last successful deploy is > 48 hours old.
## Step 2 — Check GitHub Actions CI/CD runs
```bash
gh run list --limit 10 --json status,conclusion,name,createdAt,url
gh run list --limit 10 --json status,conclusion,name,createdAt,url \
| jq '.[] | select(.conclusion == "failure" or .conclusion == "cancelled")'
```
Identify:
- Any failed or cancelled runs in the last 24 hours
- Which workflow failed (build, test, deploy, lint)
- Whether the failure