Λογότυπο Verify Deploy

Verify Deploy

Κοινότητα
exiao
verify-deploy

Post-merge deploy verification. Waits for deploy, benchmarks production, monitors for regressions. Use after merging a PR to confirm the deploy is healthy.

Επισκόπηση

Εκδότηςexiao
Αποθετήριοskills
Όνομα δεξιότηταςverify-deploy
Αστέρια
40
Forks
12
Συνοδευτικά αρχεία
Μόνο οδηγίες
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από exiao στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Verify Deploy στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/exiao/skills/tree/main/coding/verify-deploy
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/exiao/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/coding/verify-deploy .claude/skills/verify-deploy
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Verify Deploy σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Verify Deploy μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Verify Deploy δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Verify Deploy

Post-merge deploy verification. Waits for deploy, benchmarks production, monitors for regressions. One skill to go from "just merged" to "verified in production."

Use when: a PR was just merged and you need to confirm the deploy is healthy. Never merges PRs. Assumes the user already merged.

Requires: Browser (for benchmarking and canary monitoring).


Phase 1: LAND (Wait for Deploy)

Detect the deploy target

Check the repo for deploy configuration:

  • render.yaml → Render (poll the deploy API or service URL)
  • railway.json or Railway project → Railway
  • fly.toml → Fly.io
  • vercel.json or .vercel → Vercel
  • GitHub Actions deploy workflow → wait for workflow run to complete

If none found, ask the user for the production URL.

Wait for CI

bash
# Watch the latest commit's CI status
gh run list --branch main --limit 3
gh run watch <run_id>

If CI fails, stop immediately. Report the failure and the failing step. Send to Signal if a channel is available.

Wait for deploy

Poll the production URL until it responds with 200. Timeout after 10 minutes.

bash
# Simple health check loop
curl -s -o /dev/null -w "%{http_code}" <production_url>/health

If the platform has an API (Render, Railway), use it to check deploy status. Otherwise, poll the health endpoint every 15 seconds.

Confirm deploy

Once healthy:

  • Hit the health/root endpoint, confirm 200
  • Check response headers for version/commit hash if available
  • Report: "Deploy is live. Starting benchmark."

Phase 2: BENCHMARK (Measure Production)

Browse production and measure performance on the pages affected by the PR.

Identify affected pages

Read the merge commit or recent diff to determine which pages/routes changed:

bash
gh pr view <latest_merged_pr> --json files --jq '.files[].path'

Map changed files to production routes. If unclear, benchmark the homepage + any obvious routes.

For each page, measure:

Using the browser:

  1. Navigate to the page
  2. Screenshot for visual record
  3. Console errors — capture any JS errors or warnings
  4. Page load time — use performance.timing or Performance API:
    javascript
    const timing = performance.getEntriesByType('navigation')[0];
    return {
      domContentLoaded: timing.domContentLoadedEventEnd - timing.startTime,
      load: timing.loadEventEnd - timing.startTime,
      firstByte: timing.responseStart - timing.startTime
    };
  5. Core Web Vitals (if available via web-vitals or PerformanceObserver):
    • LCP (Largest Contentful Paint)
    • CLS (Cumulative Layout Shift)
    • FID / INP (Interaction to Next Paint)
  6. Resource summary:
    javascript
    const resources = performance.getEntriesByType('resource');
    return {
      count: resources.length,
      totalSize: resources.reduce((sum, r) => sum + (r.transferSize || 0), 0),
      slowest: resources.sort((a, b) => b.duration - a.duration).slice(0, 3).map(r => ({ name: r.name, duration: r.duration }))
    };
  7. Failed network requests — check for 4xx/5xx in resource entries

Report benchmark results

Benchmark: https://app.example.com
  Pages tested: 4
  
  /dashboard
    Load: 1.2s · TTFB: 180ms · Resources: 34 (1.8MB)
    LCP: 1.1s · CLS: 0.02
    Console errors: none
    
  /settings
    Load: 0.8s · TTFB: 150ms · Resources: 22 (950KB)
    Console errors: none
    
  Flags:
    ⚠️ /dashboard LCP > 1s
    ✅ No console errors
    ✅ No failed requests

If anything looks bad (load > 3s, console errors, failed requests), flag it clearly but continue to canary phase.


Phase 3: CANARY (Monitor for 5 Minutes)

Post-deploy monitoring loop. Default: 5 minutes, checking every 60 seconds (5 loops).

The user can request a longer window. Respect it.

Each loop:

  1. Hit key pages — the same pages from benchmark phase
  2. Check console — new JS errors since last check?
  3. Check network — failed API calls? 5xx responses?
  4. Screenshot — visual regression check (compare to benchmark screenshot)
  5. Health endpoint — still 200?

Alert criteria (send to Signal immediately, don't wait for loop):

  • New console errors that weren't present in benchmark phase
  • Any 5xx response from the app or its APIs
  • Health endpoint returns non-200
  • Page fails to load entirely
  • Significant visual change from benchmark screenshot (use judgment)

Alert format

Send to Signal with:

🚨 Deploy issue detected

URL: https://app.example.com/dashboard
Issue: 3 new console errors after deploy
Time: 2 minutes post-deploy

Errors:
  - TypeError: Cannot read property 'data' of undefined (main.js:1234)
  - Failed to fetch: /api/v1/portfolio (503)
  - Unhandled promise rejection (analytics.js:56)

Action needed: check the latest merge commit.

Clean exit

If all loops pass with no issues:

✅ Deploy verified

Monitored for 5 minutes (5 checks)
Pages: 4 · Errors: 0 · Avg load: 1.1s
No regressions detected. Deploy is healthy.

Error Handling

  • CI fails → Stop. Report. Alert via Signal.
  • Deploy times out (>10 min) → Stop. Report. Alert via Signal.
  • Browser can't start → Stop. This skill requires browser.
  • Canary finds issues → Alert immediately. Continue monitoring to see if it's transient or persistent. Report final status at end of window.

Anti-Patterns

  • Never merge PRs. The user merges.
  • Don't store baselines or historical data. Each run is self-contained.
  • Don't skip the canary phase even if benchmark looks clean. Bugs surface under real traffic.
  • Don't silently swallow console errors. Report everything, let the user decide what matters.
  • Don't run longer than requested. If the user says 5 minutes, stop at 5 minutes.

Scheduled Mode (--scheduled)

When invoked by a daily cron job, skip Phases 1-3 and run a lighter health-check flow across a fixed set of monitored apps:

  1. Curl every endpoint in your Apps monitored config, record HTTP status + latency.
  2. Deploy detection: gh api to count commits in the last 24h for each repo.
  3. If recent commits exist, browser-benchmark that app's frontend (load time, TTFB, console errors, failed requests). Skip CWV/resource breakdowns.
  4. No canary. Leave canary alerting to your error-tracking service (e.g. Sentry).
  5. In cron mode, don't message directly — return the report for the scheduler to deliver.
  6. Lead with problems. If any check failed (non-200, unreachable site, failed cron run), open with a 🚨 Issues block listing each failure on one line. If everything passed, open with ✅ All systems healthy. The detailed tables follow either way.

Output the "🏥 App Health Check" report format (table of endpoints + flags + optional "🆕 Recent deploys" section).

Apps monitored config

Keep the monitored set in a config the skill reads (or list it inline), one row per app:

AppFrontend URLAPI URLEndpointsRepo
<your-app>https://your-app.example.comhttps://your-api.example.com/health, /, ...<owner>/<repo>

Use the configured URLs exactly — don't rediscover or substitute domains at runtime. Additional one-off sites can be passed in a prompt; include them in the health table but don't permanently add them unless they recur.

Commit counting

Use the repo's default branch, then count commits since 24h ago. Keep gh api as GET when passing fields, and paginate the count — otherwise repos with more than 100 commits in the window get silently undercounted:

bash
default=$(gh api --method GET repos/$OWNER/$REPO --jq .default_branch)
count=$(gh api --paginate --method GET repos/$OWNER/$REPO/commits \
  -f sha="$default" \
  -f since="$SINCE_ISO" \
  -f per_page=100 \
  --jq '.[].sha' | wc -l)

Generate SINCE_ISO in Python (datetime.now(timezone.utc) - timedelta(hours=24)) rather than shell date — quoting around inline date math fails silently inside automation wrappers.

Scheduled-mode pitfalls

  • Check health endpoint semantics, not just status. A monitored URL can return 200 but serve an SPA HTML shell (or other non-health body) for ANY path — including made-up ones. Keep the HTTP status in the table but label it (200, SPA HTML) and don't imply backend API health. Probe the real backend health endpoint, not the static frontend host.
  • Don't parse truncated health bodies. Tool wrappers often keep only a short body_preview; a long field can truncate the JSON before later fields and break parsing. If status is 200 but parsed JSON is null, refetch the full body before reporting degraded health.
  • Slow-endpoint retry. If an endpoint returns 200 but is unusually slow, retry once or twice before finalizing. Keep the original latency visible in the table, but annotate the flag if it recovers — avoids over-alerting on one-off cold starts.
  • Browser benchmark accuracy. Don't count PerformanceResourceTiming.responseStatus === 0 as a failed request — cross-origin resources often report 0 due to CORS visibility even when they loaded fine. Read the load-time console output before clearing the buffer, and clear it between sites so warnings from a prior page aren't attributed to the next one.
  • Cron run health (if monitored). When checking a platform's scheduled-job runs (e.g. Render cron), filter the events feed for the actual run-ended event type, not build events — back-to-back build events can bury the last run if you only fetch a small page. Page through until you find a real run result, and don't flag a not-yet-run scheduled job as a failure.
  • Don't over-alert. This is an informational digest, not incident response. Keep flags tight and factual.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Verify Deploy;

Post-merge deploy verification. Waits for deploy, benchmarks production, monitors for regressions. Use after merging a PR to confirm the deploy is healthy.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Verify Deploy στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Verify Deploy είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Verify Deploy στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/exiao/skills/tree/main/coding/verify-deploy. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Verify Deploy;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Verify Deploy;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Verify Deploy με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Verify Deploy;

Δημοσιεύεται στο GitHub από τον χρήστη exiao. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇