agentleFS
stoffl6781stoffl6781/claude-skill/skills/deploy/SKILL.md

deploy

Skill1 starsChanged 8 months agoMITView on GitHub

Go-Live Checkliste und Deployment. Nutze bei: 'deployen', 'go live', 'Production', 'Launch', 'Release', 'ist die App bereit', 'Deployment Checkliste'.

  • Reads credentials

100 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use azure-kusto-graph, azure-kusto-irql and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    azure-kusto-graph

    Build and query Kusto graphs from natural language. Covers transient graphs (make-graph), persistent graph models/snapshots, pattern matching (graph-match), shortest paths, connected components, and graph-to-table export. Generates the edges-first thinking: define edges, define node lookups, union, make-graph. WHEN: make-graph, graph-match, graph-shortest-paths, graph-to-table, graph-mark-components, persistent graph, graph model, graph snapshot, build a graph from data, find paths between nodes, pattern matching in graph, connected components, transient graph, Kusto graph, KQL graph.

    Also in 3 projects that use this

  • MicrosoftSkill

    azure-kusto-irql

    Compose IRQL (Incident Response Query Language) queries for Kusto cybersecurity investigations. Translates natural language hunting questions into composable IRQL pipelines using Get_*, Extract_*, and Enrich_* functions. WHEN: IRQL query, security hunt, threat hunting KQL, incident response query, compose hunting pipeline, failed logins, phishing investigation, lateral movement, process execution, file creation events.

    Also in 3 projects that use this

  • pvnarpSkill

    incident

    Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.

    Also in 7 projects that use this

  • ww-w-aiSkill

    starter

    Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).

    Also in 3 projects that use this

  • +8 more from microsoft

The file

Files
SKILL.md

/deploy – Deployment & Go-Live

Du bist DevOps-Engineer. Du stellst sicher, dass das Deployment sauber läuft.

Vor dem Start

  1. QA-Status prüfen: Feature getestet? Keine kritischen Bugs?
  2. Tests: Alle grün?
  3. Build: Kompiliert fehlerfrei?

Falls QA nicht gemacht:

QA wurde noch nicht durchgeführt. Zuerst /qa ausführen.

Pre-Deployment Checklist

Code-Qualität

# Tests
php artisan test --parallel 2>/dev/null || npm test 2>/dev/null
# Lint
vendor/bin/pint --test 2>/dev/null || npm run lint 2>/dev/null
# Build
npm run build 2>/dev/null
php artisan view:cache 2>/dev/null
  • Alle Tests grün
  • Linter ohne Fehler
  • Build erfolgreich
  • Kein dd(), dump(), var_dump() im Code
  • Keine console.log() in Production-JS
  • Code committed und gepusht

Umgebung (Laravel)

  • APP_ENV=production
  • APP_DEBUG=false
  • APP_KEY gesetzt (nicht der aus .env.example)
  • APP_URL korrekt (mit https://)
  • LOG_LEVEL=warning (nicht debug)
  • MAIL_MAILER=smtp (nicht log/mailtrap)
  • SESSION_DRIVER=redis (nicht file)
  • CACHE_STORE=redis (nicht file)
  • QUEUE_CONNECTION=redis (nicht sync)

Datenbank

  • Backup erstellt (BEVOR Migration!)
  • php artisan migrate --force erfolgreich
  • Keine offenen Migrations die nicht committed sind

Security

  • SSL-Zertifikat gültig
  • HTTPS erzwungen (URL::forceScheme('https'))
  • Mollie Live-Key (nicht test_)
  • .env nicht im Webroot erreichbar
  • .env nicht in Git
  • Keine Secrets in Code hardcodiert
  • Rate Limiting auf Login/API aktiv

Performance (Laravel)

php artisan config:cache
php artisan route:cache
php artisan view:cache
php artisan event:cache
php artisan optimize

Queue & Scheduler

  • Horizon/Worker läuft (php artisan horizon)
  • Supervisor/systemd konfiguriert (Auto-Restart)
  • Scheduler in Crontab: * * * * * php artisan schedule:run
  • Jobs verarbeiten korrekt (Horizon Dashboard prüfen)

Assets

  • npm run build (minified, versioned)
  • Keine lokalen Fonts/Scripts von externen CDNs (DSGVO!)
  • Bilder optimiert (WebP/AVIF)

Deployment-Schritte

Laravel (typisch)

# 1. Maintenance Mode
php artisan down --retry=60

# 2. Code holen
git pull origin main

# 3. Dependencies
composer install --no-dev --optimize-autoloader
npm ci && npm run build

# 4. Migrationen
php artisan migrate --force

# 5. Cache
php artisan optimize

# 6. Queue restart
php artisan queue:restart
php artisan horizon:terminate  # Supervisor startet neu

# 7. Online
php artisan up

WordPress (typisch)

# 1. Backup (DB + Files)
# 2. Plugins deaktivieren
# 3. Updates einspielen (Core, Plugins, Theme)
# 4. Child-Theme prüfen
# 5. Plugins aktivieren
# 6. Cache leeren
# 7. Testen

Post-Deployment

Sofort prüfen (erste 15 Minuten)

  • Startseite lädt
  • Login funktioniert
  • Hauptfeature funktioniert (1x durchklicken)
  • E-Mails werden versendet (Test-Mail)
  • Queue verarbeitet Jobs (Horizon Dashboard)
  • Keine Errors in Log (tail -f storage/logs/laravel.log)
  • SSL funktioniert (kein Mixed Content)

Monitoring einrichten

  • Error-Tracking (Sentry / Bugsnag)
  • Uptime-Monitoring (UptimeRobot / Betterstack)
  • Log-Rotation konfiguriert
  • Backup-Schedule verifiziert

Rollback-Plan

Falls etwas schiefgeht:

# Laravel
php artisan down
git checkout {vorheriger-commit}
composer install --no-dev --optimize-autoloader
php artisan migrate:rollback
php artisan optimize
php artisan up

Ergebnis in Feature-Spec

## Deployment

**Deployed:** {YYYY-MM-DD}
**Umgebung:** Production
**URL:** {https://...}
**Status:** Live
**Rollback:** {commit-hash falls nötig}

INDEX aktualisieren

Status des Features auf Done setzen.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.