smbcloud-gresiq

Guide Rust crate development for smbCloud GresIQ Postgres bootstrap and configuration.

7|6|Updated Feb 3, 2023
One-click install
npx skills add https://github.com/smbcloudXYZ/smbcloud-cli --skill smbcloud-gresiq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smbcloud-gresiq
Source: https://github.com/smbcloudXYZ/smbcloud-cli/tree/main/.agents/skills/smbcloud-gresiq
Command: npx skills add https://github.com/smbcloudXYZ/smbcloud-cli --skill smbcloud-gresiq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides guidance for building, debugging, and extending smbCloud's GresIQ managed PostgreSQL service, focusing on the Rust crate in crates/smbcloud-gresiq, bootstrap logic, branch-aware configuration, TLS setup, and environment variable loading.

Core Features & Use Cases

  • Focused guidance on developing the smbCloud GresIQ Rust crate and workspace wiring.
  • Guidance on managed Postgres bootstrap, branch-aware configuration, TLS setup with tokio-postgres, and environment-variable loading.
  • Scenarios include implementing preview branches, pooled connections, ephemeral credentials, and future service capabilities.

Quick Start

Inspect the gresiq crate and its main modules to understand the bootstrap flow.

Frequently Asked Questions about smbcloud-gresiq

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up TLS with tokio-postgres for a managed Postgres service in Rust?

Configure branch-aware database settings in Rust by loading environment variables through the smbcloud-gresiq crate. It provides guidance on branch-aware configuration to manage distinct database environments during development.

What is the best way to bootstrap a managed Postgres service in a Rust workspace?

Bootstrap a managed Postgres service by inspecting the gresiq crate and its main modules like gresiq.rs and main.rs. The skill details the required source files and Cargo.toml configuration for workspace wiring.

Can I implement preview branches and pooled connections using smbcloud-gresiq?

Yes, you can implement preview branches and pooled connections using smbcloud-gresiq. The skill covers these future capabilities, including ephemeral credentials and extending the managed PostgreSQL service.

Does the smbcloud-gresiq Rust crate require specific environment variables for database config?

The smbcloud-gresiq Rust crate requires environment variable loading for database configuration. The skill documents the required configuration and how to wire dependencies within the workspace for environment-based setup.