Przejdź do treści
Biblioteka skilli
DevOps i chmura · Przegląd i audyt

pf-maintain

/pf-maintain

Utrzymuje produkt na żywo: sprawdza zależności, luki bezpieczeństwa, certyfikaty i kopie zapasowe, a zmiany zgłasza jako PR.

Repozytorium
atelier ↗
Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Utrzymuje produkt na żywo: sprawdza zależności, luki bezpieczeństwa, certyfikaty i kopie zapasowe, a zmiany zgłasza jako PR.

Wyzwalacze z opisu

maintain the sitekeep it patchedproduction supportupdate dependenciescheck the backupsset up weekly maintenance
Oryginalny opis (EN)

Phase-3 production-support stage: keeps a live product patched, secure, within its contracts, and recoverable. Each run checks dependencies and security advisories, re-runs the contracts on the live site, checks certs and host limits, verifies backups and periodically tests a restore, then opens a maintenance PR (never auto-merged for data-sensitive projects). Can run on a schedule the user approves. Use when the user says /pf-maintain, 'maintain the site', 'keep it patched', 'production support', 'update dependencies', 'check the backups', or 'set up weekly maintenance'. Supports --schedule,

Jak działa

  1. 0. Flags
  2. 1. Gate
  3. 2. The pass (per maintenance.md A, on a maintenance/<date> branch)
  4. 3. Merge policy (maintenance.md A5)
  5. 4. Backups & restore (maintenance.md C)
  6. 4b. Secret hygiene & rotation (maintenance.md E)
  7. 4c. Spend vs forecast (maintenance.md F)
  8. 5. Schedule (maintenance.md B)
  9. 6. Record
  10. Never
Sekcje z nagłówków SKILL.md, w oryginale · 43 linii, 708 słów
Podgląd SKILL.md
---
name: pf-maintain
description: "Phase-3 production-support stage: keeps a live product patched, secure, within its contracts, and recoverable. Each run checks dependencies and security advisories, re-runs the contracts on the live site, checks certs and host limits, verifies backups and periodically tests a restore, then opens a maintenance PR (never auto-merged for data-sensitive projects). Can run on a schedule the user approves. Use when the user says /pf-maintain, 'maintain the site', 'keep it patched', 'production support', 'update dependencies', 'check the backups', or 'set up weekly maintenance'. Supports --schedule, --check, --dry-run. Never auto-deploys a sensitive project and never runs the pentest."
---

# /pf-maintain <slug> [--schedule weekly|monthly] [--check] [--dry-run]

Keep a live product healthy over time — the factory as production support. Read first:
- `${CLAUDE_PLUGIN_ROOT}/references/maintenance.md` (this stage's contract, incl. backups & restore)
- `${CLAUDE_PLUGIN_ROOT}/references/security.md`, `performance-budget.md`, `seo-ai-visibility.md` (the contracts it re-checks)
- `${CLAUDE_PLUGIN_ROOT}/references/cost-posture.md` (spend watch), `recommendations.md` (any option it surfaces), `state-schema.md`

## 0. Flags
`--schedule weekly|monthly`: set/confirm the recurring schedule (via the scheduled-task tools; the user approves) and stop. `--check`: report last run, what is pending, backup/restore status, **secrets due for rotation, and the latest spend-vs-forecast reading**; stop. `--dry-run`: print what it would do; change nothing; stop.

## 1. Gate
Locate the project; read `factory.json`. Require `deploy.live_url` (something is live to maintain). Seat = `pm_lane`.

## 2. The pass (per `maintenance.md` A, on a `maintenance/<date>` branch)
Dependencies + advisories (`npm outdated`/`audit`, `osv-scanner`) → apply safe patch/minor updates, hold majors with a note; a light `/pf-harden` re-check for drift (perf/SEO/security/a11y); certs + host limits; backups healthy + periodic restore drill (step 4). Open **one** `maintenance/<date>` PR with everything.

## 3. Merge policy (`maintenance.md` A5)
`data_sensitivity: high` → the PR **waits for the user's review + merge**, then the normal deploy (auto-rollback applies). Low-stakes site → if the user pre-authorized, auto-merge only **safe** updates (patch/minor, green tests); majors and any contract failure always wait. **Never auto-deploy a sensitive project.**

## 4. Backups & restore (`maintenance.md` C)
Confirm code is on GitHub (authoritative) and data backups ran (Supabase daily; the Blob dump if set up). Periodically (and on `--check`) run a **restore drill**: restore the latest backup into a scratch DB and verify it loads — report pass/fail. If no off-Supabase / longer-retention backup exists and the project's data warrants it, recommend `/pf-setup backup` (free `pg_dump` → Azure Blob). **Never back up a secret.**

## 4b. Secret hygiene & rotation (`maintenance.md` E)
Read `maintenance.secret_rotation` (names + last-rotated dates only — **never values**). Flag any secret past its cadence (tokens 90d, DB keys 180d, shorter for `data_sensitivity: high`) and any to retire now (a leave/leak/over-scope event the user mentions). For each due secret, **guide** the rotation: open the provider's key page in Chrome, tell the user exactly which key to regenerate and the scope, wait while **the user** generates it, update the env var **by name** (prefill the name, never the value), verify the new key with a health check, then have the old one revoked. Record the new date in `maintenance.secret_rotation`. Claude never types, pastes, stores or reads a secret value.

## 4c. Spend vs forecast (`maintenance.md` F)
Per provider the project uses: read the real month-to-date bill / free-tier usage — via the Azure cost tools where available, else open the provider's billing page in Chrome and read it (no payment method needed to read). Compare to `planning.budget_forecast`, to $0, and to each free-tier limit; flag anything over ~80% of a free limit or above the forecast. **Recommend-only** — report the number and the cheapest option that still clears the quality/security bar (`cost-posture.md`, `recommendations.md`); never downgrade the product to dodge a bill and never create/change anything billable without a yes. Record in `maintenance.spend` (numbers + date, no payment details).

## 5. Schedule (`maintenance.md` B)
On `--schedule`, create the recurring task (the scheduled-task tools) scoped to run `/pf-maintain` for this project; confirm the cadence with the user. A scheduled run **proposes** (PR) + alerts; it never deploys/merges a sensitive project and never runs the pentest. The user can change/stop it anytime.

## 6. Record
Write `factory.json.maintenance` (`schedule`, `last_run`, `backups`, `restore_tested`, `open_pr`, `secret_rotation`, `spend`); `log {stage:"maintain", event:"<summary>"}`. Report what it found, the PR link, the backup/restore status, any secrets due for rotation, and the spend-vs-forecast reading.

## Never
- Auto-deploy or auto-merge a `data_sensitivity: high` project — it proposes, the user merges.
- Run the pentest, or schedule anything that deploys without the go-live yes.
- Roll back or auto-revert a database; back up or print a secret.
- Type, paste, read or store a secret value during rotation — the env-var **name** only; never revoke the old key before the new one is verified live.
- Downgrade the product or create/change anything billable to act on a spend alert — spend findings are recommend-only (price + yes).
- Recommend a paid tier unless the project's real recovery/scale needs force it (price + yes).

Wersje

W bazie nie ma innych skilli o nazwie pf-maintain.

Migawka bazy z 13.11.2026 · wersja paczki dfbfae449f4c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95maintain
    Konfiguruje cykliczne zadania utrzymaniowe po zatwierdzeniu produktu: sugeruje harmonogram i planuje je przez cron.
  • 90wordpress-maintenance-ops
    Utrzymuje stronę WordPress: aktualizacje, kontrole stanu, kopie zapasowe oraz porządek w pluginach i motywach.
  • 100go-live
    Prowadzi kontrolę go/no-go przed uruchomieniem aplikacji dla płacących klientów: przepływ główny, płatności, bezpieczeństwo, kopie z testem odtworzenia, błędy, alerty dostępności i rollback.
  • 90backup-restore
    Projektuje kopie zapasowe wokół przetestowanych odtworzeń, odzyskiwania do punktu w czasie i bezpieczeństwa backupów oraz sprawdza, czy backupy zadziałają w awarii.
  • 90production-readiness
    Sprawdza, czy pojedyncza zmiana lub funkcja jest bezpieczna dla prawdziwych użytkowników: autoryzacja, sekrety, limity, migracje, kopie zapasowe, wycofanie.
  • 100supabase-backup
    Wykonuje kopie zapasowe projektu Supabase do własnego bucketu S3, R2 lub B2, sprawdza ich odtwarzanie i planuje je w GitHub Actions.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.