[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ET5867AYRBF8E2E05E7ZMY":3,"skill-same:01M7ET5867AYRBF8E2E05E7ZMY":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7ET5867AYRBF8E2E05E7ZMY","managed-postgres",null,"Using managed Postgres on PaaS platforms — provisioning, connecting, backups, and limits — vendor-neutral patterns.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-managed-postgres\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: managed-postgres\ndescription: Using managed Postgres on PaaS platforms — provisioning, connecting, backups, and limits — vendor-neutral patterns.\ncategory: railway\n---\n\n## Overview\n\nEvery major PaaS offers managed Postgres: a database without the ops burden of\nrunning it yourself. The trade-off is a set of platform-specific constraints\n(connection limits, no superuser, backup semantics) that shape how you build.\nThis skill covers using managed Postgres well regardless of provider.\n\n## When to use\n\n- Provisioning a Postgres database on a PaaS\n- Connecting apps securely (connection strings, pooling, TLS)\n- Understanding backup, point-in-time recovery, and fork\u002Fclone features\n- Working within managed limits (connections, extensions, superuser)\n- Migrating data in or out of a managed instance\n\n## Core concepts\n\n**Connection strings are injected.** Platforms typically provide a\n`DATABASE_URL` env var. Use it directly; never hardcode credentials. Note\nwhether it points at a pooler or the primary — pooled URLs (transaction mode)\nbehave differently from direct ones (prepared statements may break in\ntransaction-pooling mode).\n\n**Pooling is usually mandatory.** Managed instances cap connections (often\ntens, not hundreds). Every app instance × pool size must fit under the cap.\nUse a pooler (the platform's built-in one, or PgBouncer) and keep per-\ninstance pools small (e.g. 5–20). Serverless workloads need pooling even more\n— or a proxy that handles connection spikes.\n\n**Backups: know the RPO\u002FRTO.** Managed Postgres typically offers automated\ndaily backups plus point-in-time recovery (WAL-based) within a retention\nwindow. Verify: backup frequency, retention period, how to restore (new\ninstance? in-place?), and how long a restore takes at your data size. Test a\nrestore — \"we have backups\" is unproven until restored.\n\n**No superuser, limited extensions.** You won't get `SUPERUSER`; some\nextensions requiring it are unavailable. Check the provider's extension\nallowlist early if you need PostGIS, pg_cron, pgvector, or similar —\nextension availability varies and can block a design.\n\n**Forks and branching.** Many platforms offer instant forks\u002Fclones (copy-on-\nwrite) of the database — perfect for preview environments, safe migration\ntesting, and analytics sandboxes. Use them instead of dumping\u002Frestoring for\nephemeral copies.\n\n## Practical workflow\n\n1. **Provision with intent:** choose the plan tier by working-set size\n   (RAM ≈ hot data), storage headroom, and HA needs (standby replicas on\n   higher tiers).\n2. **Connect correctly:** use the provided URL, enable TLS, route through\n   the pooler for app traffic and direct for migrations\u002Fadmin.\n3. **Set pool sizes deliberately:** (instances × pool size) + headroom \u003C\n   max connections; monitor `pg_stat_activity` counts in production.\n4. **Verify extensions** you need are available before committing to the\n   platform for the project.\n5. **Establish the backup story:** confirm automated backups + PITR window,\n   document the restore procedure, and perform a trial restore to a scratch\n   instance.\n6. **Plan data movement:** for imports, use the platform's recommended path\n   (direct `pg_dump`\u002F`pg_restore` over a private network or allowed IPs);\n   for exports\u002Fmigration away, ensure you can get a full logical dump —\n   avoid lock-in by verifying exit paths up front.\n\n## Common pitfalls\n\n- **Connection exhaustion** — app pools sized for self-hosted Postgres blow\n  past managed limits; do the arithmetic and monitor.\n- **Prepared statements vs transaction pooling** — ORMs using prepared\n  statements break on transaction-mode poolers; use session mode or disable\n  prepared statements as appropriate.\n- **Assuming backups exist** — some tiers\u002Fsteps require enabling backups\n  explicitly; verify, don't assume.\n- **Extension surprise** — discovering mid-project that pg_cron or a\n  specific extension isn't available; check the allowlist on day one.\n- **Noisy-neighbor performance variance** — lower tiers share resources;\n  if p99 latency matters, understand what tier gives you dedicated resources.\n- **Lock-in by accident** — proprietary backup formats or no export path;\n  confirm you can always `pg_dump` your data out.\n","## Overview\n\nEvery major PaaS offers managed Postgres: a database without the ops burden of\nrunning it yourself. The trade-off is a set of platform-specific constraints\n(connection limits, no superuser, backup semantics) that shape how you build.\nThis skill covers using managed Postgres well regardless of provider.\n\n## When to use\n\n- Provisioning a Postgres database on a PaaS\n- Connecting apps securely (connection strings, pooling, TLS)\n- Understanding backup, point-in-time recovery, and fork\u002Fclone features\n- Working within managed limits (connections, extensions, superuser)\n- Migrating data in or out of a managed instance\n\n## Core concepts\n\n**Connection strings are injected.** Platforms typically provide a\n`DATABASE_URL` env var. Use it directly; never hardcode credentials. Note\nwhether it points at a pooler or the primary — pooled URLs (transaction mode)\nbehave differently from direct ones (prepared statements may break in\ntransaction-pooling mode).\n\n**Pooling is usually mandatory.** Managed instances cap connections (often\ntens, not hundreds). Every app instance × pool size must fit under the cap.\nUse a pooler (the platform's built-in one, or PgBouncer) and keep per-\ninstance pools small (e.g. 5–20). Serverless workloads need pooling even more\n— or a proxy that handles connection spikes.\n\n**Backups: know the RPO\u002FRTO.** Managed Postgres typically offers automated\ndaily backups plus point-in-time recovery (WAL-based) within a retention\nwindow. Verify: backup frequency, retention period, how to restore (new\ninstance? in-place?), and how long a restore takes at your data size. Test a\nrestore — \"we have backups\" is unproven until restored.\n\n**No superuser, limited extensions.** You won't get `SUPERUSER`; some\nextensions requiring it are unavailable. Check the provider's extension\nallowlist early if you need PostGIS, pg_cron, pgvector, or similar —\nextension availability varies and can block a design.\n\n**Forks and branching.** Many platforms offer instant forks\u002Fclones (copy-on-\nwrite) of the database — perfect for preview environments, safe migration\ntesting, and analytics sandboxes. Use them instead of dumping\u002Frestoring for\nephemeral copies.\n\n## Practical workflow\n\n1. **Provision with intent:** choose the plan tier by working-set size\n   (RAM ≈ hot data), storage headroom, and HA needs (standby replicas on\n   higher tiers).\n2. **Connect correctly:** use the provided URL, enable TLS, route through\n   the pooler for app traffic and direct for migrations\u002Fadmin.\n3. **Set pool sizes deliberately:** (instances × pool size) + headroom \u003C\n   max connections; monitor `pg_stat_activity` counts in production.\n4. **Verify extensions** you need are available before committing to the\n   platform for the project.\n5. **Establish the backup story:** confirm automated backups + PITR window,\n   document the restore procedure, and perform a trial restore to a scratch\n   instance.\n6. **Plan data movement:** for imports, use the platform's recommended path\n   (direct `pg_dump`\u002F`pg_restore` over a private network or allowed IPs);\n   for exports\u002Fmigration away, ensure you can get a full logical dump —\n   avoid lock-in by verifying exit paths up front.\n\n## Common pitfalls\n\n- **Connection exhaustion** — app pools sized for self-hosted Postgres blow\n  past managed limits; do the arithmetic and monitor.\n- **Prepared statements vs transaction pooling** — ORMs using prepared\n  statements break on transaction-mode poolers; use session mode or disable\n  prepared statements as appropriate.\n- **Assuming backups exist** — some tiers\u002Fsteps require enabling backups\n  explicitly; verify, don't assume.\n- **Extension surprise** — discovering mid-project that pg_cron or a\n  specific extension isn't available; check the allowlist on day one.\n- **Noisy-neighbor performance variance** — lower tiers share resources;\n  if p99 latency matters, understand what tier gives you dedicated resources.\n- **Lock-in by accident** — proprietary backup formats or no export path;\n  confirm you can always `pg_dump` your data out.\n",{"name":5,"category":24,"description":7},"railway","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-managed-postgres",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill managed-postgres",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill managed-postgres",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill managed-postgres","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-managed-postgres\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]