From portfolio
When the user needs to backup, restore, or manage S3/R2 backup of the portfolio PostgreSQL database.
How this skill is triggered — by the user, by Claude, or both
Slash command
/portfolio:backupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Creates `pg_dump` snapshots of the portfolio database and optionally pushes/pulls them to S3-compatible storage (Cloudflare R2, AWS S3, MinIO).
Creates pg_dump snapshots of the portfolio database and optionally pushes/pulls them to S3-compatible storage (Cloudflare R2, AWS S3, MinIO).
# Create a local pg_dump backup
portfolio backup
portfolio backup --out /tmp/portfolio.sql
# Upload the latest snapshot to S3-compatible storage
portfolio backup push
# Restore the latest snapshot from S3-compatible storage
portfolio backup pull
portfolio backup pull --key portfolio.2026-06-01_120000.sql # Specific key
push also writes a latest.sql key for easy pull-by-default. pull provides the psql restore command in the response. The local backup is written to a timestamped file in the current directory.
Each variable accepts both the PORTFOLIO_ prefixed form shown below and the unprefixed form (e.g. S3_ENDPOINT).
| Variable | Required | Description |
|---|---|---|
PORTFOLIO_S3_ENDPOINT | Yes | S3-compatible endpoint URL (e.g. https://<accountid>.r2.cloudflarestorage.com) |
PORTFOLIO_S3_BUCKET | Yes | Bucket name |
PORTFOLIO_S3_ACCESS_KEY_ID | Yes | S3 access key |
PORTFOLIO_S3_SECRET_ACCESS_KEY | Yes | S3 secret key |
PORTFOLIO_S3_REGION | No (default: auto) | S3 region |
PORTFOLIO_S3_PREFIX | No | Key prefix (e.g. portfolio/) |
PORTFOLIO_DB_URL must also be set for all backup commands.
| Variable | Default | Description |
|---|---|---|
PORTFOLIO_BACKUP_ENABLED | false | Enable periodic backup in Docker service |
PORTFOLIO_BACKUP_INTERVAL | 24h | Interval between backups when enabled |
portfolio backup push to upload.npx claudepluginhub kaiukov/my-portfolio --plugin portfolioProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.