AI Tools & Scripts
Production Ops: DB, Scrapers, Trading Bot (5 skills)
Five operations playbooks: safe live-DB work for FastAPI + PostgreSQL-function apps, a contract for scrapers and importers, docker/nginx/TLS ops for a trading bot, Bybit options settlement reconciliation, and a pre-settlement readiness audit.
What you get: 1 file · 43.22 KB · ZIP
See purchase optionsProduct description
Five skills for people who run real production systems with an AI agent and want it to work carefully. Each one is a worked procedure with the pitfalls learned the hard way, not a generic checklist.
- fastapi-postgres-workflow - for FastAPI apps whose logic lives in PostgreSQL functions: query the live DB without committing, diff a function file against what is really deployed, regression-test a rewritten recursive function against every real input before applying it, deploy checks, and a security audit checklist. Scripts:
db.py,func_regress.py. - data-collectors-map - inventory a repo's scrapers and importers, then build new ones to a 10-rule contract (stable ids, provenance, idempotent re-runs, gaps not guesses, polite and safe fetching). Includes a stdlib parser template and a local-LLM extractor that drops values without evidence.
- trading-bot-server-ops - docker compose + nginx + Let's Encrypt runbook: diagnose "the site does not open", renew certificates, serve by bare IP, deploy without restarting a live scheduler, harden nginx headers and sshd.
- exchange-delivery-reconciliation - read-only post-mortem of a Bybit options settlement against independent exchange oracles, including the transaction-log cashBalance chain check. Scripts:
pull_exchange_state.py,check_cashbalance_chain.py. - delivery-path-readiness-audit - decide whether a code path is ready for a specific upcoming settlement by checking production history and live account state, not just reading code.
Best for solo developers and small teams running a bot or an internal app on their own server. You adapt the placeholders (hosts, paths, table names) in each skill's "Adapt to your setup" section. The Bybit skills are specific to Bybit's V5 API; the other three are general. Nothing here places orders: the exchange scripts only make signed GET requests.
Example request
My trading bot's web UI shows a certificate error and I need to deploy a backend fix today. What do you check first, and how do you deploy without restarting the scheduler during the settlement window?
Example result
Example on a fictional setup (server your-prod-host, domain example.com, compose project bot).
Diagnosis, read-only, in order:
1. DNS: dig +short example.com A returns the server IP, so DNS is fine.
2. Certificate: openssl x509 -in /etc/letsencrypt/live/example.com/fullchain.pem -noout -dates inside the nginx container shows notAfter in the past. Verdict: expired certificate, not a dead domain.
3. Renewal automation: /etc/cron.d/ has no certbot entry, which explains why nothing renewed.
Fix: certbot renew --dry-run in the nginx container first (changes no real certificate), then certbot renew, then nginx -t && nginx -s reload. Add the twice-daily cron with a reload deploy-hook.
Deploy plan, nothing executed yet:
- Precondition: it is outside the settlement window and the read-only query for running jobs returns [].
- Back up the SQLite DB with the backup API into backups/.
- git pull --ff-only, docker compose build backend, then docker compose up -d --no-deps backend (never a bare up -d, which can recreate the scheduler).
- Reload nginx so it re-resolves the new backend IP, then verify health, a 401 on a protected route, and the startup line in the logs.
How to install
Unzip into your Claude Code skills folder (~/.claude/skills/ or .claude/skills/ in a project) and start a new session; the skill loads by its description.
What you get
1 file · 43.22 KB
- production-ops-playbooks.zipZIP · 43.22 KB
AI Tools & Scripts
Production Ops: DB, Scrapers, Trading Bot (5 skills)
Five operations playbooks: safe live-DB work for FastAPI + PostgreSQL-function apps, a contract for scrapers and importers, docker/nginx/TLS ops for a trading bot, Bybit options settlement reconciliation, and a pre-settlement readiness audit.
Getly opened the uploaded files and found nothing that would stop them opening. It is not a virus scan or a quality rating.
Tags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 1 file - ZIP - 43.22 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$12.00



