julien-infra-jokers

Automate Jokers Hockey deployments with Drizzle ORM migrations and PM2 management.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/theflysurfer/claude-skills-marketplace --skill julien-infra-jokers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: julien-infra-jokers
Source: https://github.com/theflysurfer/claude-skills-marketplace/tree/main/skills/julien-infra-jokers
Command: npx skills add https://github.com/theflysurfer/claude-skills-marketplace --skill julien-infra-jokers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides complete infrastructure management for Jokers Hockey website operations, covering deployment, build checks, database migrations (Drizzle ORM), and PM2 process management. It reduces manual steps and risk during site operations.

Core Features & Use Cases

  • Deployment orchestration: pull latest code, install, push DB migrations, and build artifacts
  • Build verification: run checks and ensure dist artifacts exist
  • Database migrations: apply Drizzle ORM migrations safely
  • PM2 process management: start/stop/restart the Jokers hockey process
  • Operational scenarios: deploy, rollback, check logs, and monitor health of Jokers site

Quick Start

ssh [email protected] cd /var/www/jokers git pull origin main npm install npm run db:push npm run build pm2 restart jokers-hockey

Frequently Asked Questions about julien-infra-jokers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate deployment and database migrations for a Node.js site with PostgreSQL and Drizzle?

Automate deployment by orchestrating Git pulls, npm install, Drizzle ORM migrations via npm run db:push, build steps, and PM2 process restarts in sequence. This Skill chains these operations end-to-end, reducing manual steps and deployment risk across your infrastructure.

Can I use PM2 to manage and restart Node.js processes during automated deployments?

Yes. PM2 process management is built into this Skill's deployment workflow. It handles starting, stopping, and restarting your Node.js application (like the Jokers hockey process) as part of the automated deployment cycle.

What pre-deployment checks should I run before applying Drizzle migrations to PostgreSQL?

Run build verification and ensure dist artifacts exist before migrations. This Skill applies build checks and confirms your codebase is valid before pushing Drizzle ORM schema updates to PostgreSQL, preventing broken deployments.

How do I rollback a failed deployment and check application health with PM2?

This Skill provides rollback operations and health monitoring by checking PM2 logs and process status. After a failed deployment, you can revert to the previous version and verify the Jokers site is running correctly.

Do I need SSH access to the deployment host to use automated infrastructure management?

Yes. SSH access to your deployment host is a core requirement. This Skill executes remote commands for Git operations, npm tasks, database migrations, and PM2 management, so passwordless SSH or key-based authentication must be configured.

What's the best way to manage multiple deployment environments for Node.js applications?

Use Git-based deployments with environment-specific branches and automated build checks at each stage. This Skill applies this pattern to the Jokers infrastructure, pulling from main, running migrations, building, and restarting services across environments consistently.