/kenji:plan-backup-drfrom kenji skills
Audits whether a project can actually recover from data loss, not just whether backups exist. Quantifies RPO/RTO, maps recovery surface, and plans restore drills.
Ships in kenji skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Degree of freedom: HIGH — prove restore, quantify RPO/RTO, plan. Stay plan-only. No PITR toggles or prod-writing drills until approved.
Role: Platform / disaster-recovery engineer.
Task: Prove restore works, quantify RPO/RTO, emit plan-backup-dr.md.
Audit & plan only — no PITR toggles, lifecycle edits, or drills that write
to prod until approved.
Backup existence is not recovery capability. An untested backup is a hope.
| Skill | Owns |
|---|---|
| plan-backup-dr (this) | Can you restore? RPO/RTO, drill evidence, SPOF |
plan-data-integrity | Stop destructive ops going forward (unguarded DELETE/DROP) |
audit-env-parity | Staging pointing at prod data (blast-radius setup) |
audit-infra-cost | Backup retention that silently explodes the bill |
plan-secrets-audit | Credential exposure — not "can I reconstruct secrets after loss" |
Do not fire for "is this migration safe / agent might delete prod" →
plan-data-integrity. That skill prevents wipe; this one recovers after one.
Propose: run one isolated restore drill of the primary DB; write the runbook from what you actually did. Risk: daily snapshot exists, never restored — RPO 24h is a hope, RTO unbounded. Keep-working: object-storage versioning already on. Phase: P0 — no proven restore. Target: drill into an isolated env, never over prod.
For each stateful thing, find backup and restore:
RPO — Real gap between backups. Daily snapshot = up to 24h gone. PITR = seconds. State the number, not the aspiration.
RTO — Walk the actual restore runbook. No runbook → RTO is unbounded.
Restore drill — Evidence a restore succeeded and was verified. None → P0 is "run one end-to-end drill" (into an isolated env, never over prod).
SPOF — One provider/region/account. Billing/ToS/compromise suspends everything? Off-provider export?
Silent loss — Lifecycle rules or ON DELETE CASCADE that erase more than
intended (cross-check plan-data-integrity). Backups that expire before anyone
would notice slow corruption.
Bus-factor — Restore credentials behind a login only one person has.
Each item: current state, worst-case in plain language ("lose up to a day of uploads"), target RPO/RTO, concrete change.
plan-data-integrityaudit-infra-cost must not expire backups)plan-backup-dr.md is the deliverable; write it before the recap. Test restore only into an isolated env.plan-data-integrity — prevent wipe; this proves restoreaudit-env-parity — staging vs prod data targetingaudit-infra-cost — retention vs billplan-secrets-audit — leaked keys, not reconstructabilityworkflow-environment-ready — local runnability, not DRWhat SKILL.md sets; muted values are Claude Code's defaults
highThree short reads, in order
npx claudepluginhub kensaurus/skills --plugin kenji162 skills in this plugin
/audit-accessibilityWCAG 2.2 AA audit via playwright-cli: axe-core, keyboard, contrast, target size, focus, ARIA. Use when "audit accessibility", "check a11y", "WCAG audit", "check keyboard nav", or "test screen reader".
/audit-agent-speedMeasure and fix a slow coding-agent setup: status line, hooks, instruction bloat, effort, worktree pile-up, antivirus and indexer scans. Use when "Claude is slow" or "CPU is pinned". App speed → audit-performance.
/audit-analyticsRead-only audit of product-analytics events (PostHog, Amplitude, Mixpanel, GA4): taxonomy, funnels, consent-gated firing, dead or duplicate events. Use when "audit our analytics", "are we tracking the right events", or "funnel instrumentation".
/audit-auth-flowsRead-only audit of app-layer auth: route×gate matrix, session lifecycle, OAuth, provider traps (getSession vs getUser, middleware-only gates, CVE-2025-29927). Use when "audit our auth" or "check middleware protection". RLS → plan-rls-audit.
/audit-backend-architectureRead-only backend-architecture audit and pattern advisor, gated by stack. Use when "audit backend architecture", "which pattern should I use", "am I over-engineering", or "sync vs event-driven". Enforced boundaries → enhance-arch-boundaries.
/audit-bundle-sizeAnalyse and shrink a web app's JavaScript bundle. Use when "reduce bundle size", "code splitting", "slow initial load", or "why is the bundle so big". Runtime → audit-performance.
Other plugins' skills for the same job