azure-bootstrap-subpackages

Implements azure-bootstrap Tier 2/3 subpackages and v3 runtime modules for Azure Python services.

1|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/TheViziusGroup/vibe-engineering-skills --skill azure-bootstrap-subpackages-theviziusgroup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-bootstrap-subpackages
Source: https://github.com/TheViziusGroup/vibe-engineering-skills/tree/main/plugins/azure-bootstrap/skills/azure-bootstrap-subpackages
Command: npx skills add https://github.com/TheViziusGroup/vibe-engineering-skills --skill azure-bootstrap-subpackages-theviziusgroup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fastapi, tenacity, azure-servicebus, apscheduler, pypdf, sqlalchemy.

What problem does it solve? Building production Azure services in Python requires repeatedly wiring up alerts, rate limiting, retries, Service Bus consumers, health checks, and observability plumbing; this Skill provides the reference for the azure-bootstrap library's opt-in subpackages and v3 runtime modules so those cross-cutting concerns are implemented correctly. ## Core Features & Use Cases - Operational subpackages: Covers alerts, fastapi_middleware, health, auth (Graph webhook, API key, HMAC), ratelimit (TokenBucket, MultiUnitLimiter), retry, ingress attachment classification, notify, heartbeat, config_refresh, subscription, servicebus (handle_message, ReplayGuard, DLQ digest), sb_lock, openai usage tracking, tokens, scheduler, metrics, and pdf_safety. - v3 runtime modules: Documents db/get_db/Outbox/drain_outbox, AcsEmailSender, hardened HTTP client with SSRF guard, documentdb, AKS helpers (SIGTERM, build_info, leader election), governance budget_guard, and the azbootstrap scaffold CLI for Terraform/Helm/GitOps templates. - End-to-end recipes: Provides tested patterns for Azure Functions, FastAPI pipelines, and AKS Service Bus workers with correlation scopes, lock renewal, and graceful shutdown. - Use Case: When building a FastAPI webhook receiver on Azure, use this Skill to wire install_graph_webhook_route with a webhook_bucket rate limiter, WebhookDedup, and readiness probes in one pass. ## Quick Start Ask the AI to build a FastAPI app using azure_bootstrap with middleware, a Graph webhook route, health probes, and an API-key-protected admin endpoint.

Frequently Asked Questions about azure-bootstrap-subpackages

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

FAQPage Schema
How do I add rate limiting to a FastAPI endpoint with azure_bootstrap?

Use TokenBucket or presets like webhook_bucket() (240 burst, 4 per second) and admin_bucket() (30 burst, 0.5 per second), then attach fastapi_rate_limit(bucket) as a FastAPI dependency. It returns a 429 with an empty body when the budget is exhausted.

How do I process Azure Service Bus messages with DLQ handling in Python?

Use handle_message(receiver, msg, processor, schema=...) from azure_bootstrap.servicebus, which parses JSON, validates against a schema, opens a correlation scope, and classifies failures into complete, abandon, or dead-letter. run_dlq_digest sends HMAC-signed resubmit tokens for dead-lettered messages.

Does azure_bootstrap support async Service Bus consumers?

Yes, the v3 servicebus.async_ext module provides run_async_consumer for asyncio receive loops, ReplayGuard for bounded idempotency, and service_bus_transport_type() to select amqp or websocket transport via the SERVICE_BUS_TRANSPORT_TYPE environment variable.

How do I verify webhook signatures in FastAPI?

Use verify_hmac_signature(secret, raw_body, header_value) for constant-time HMAC-SHA256 verification of GitHub/Sumo-style signatures, or install_graph_webhook_route for Microsoft Graph webhooks with validation token handshake, dedup, and rate limiting built in.

What is the transactional outbox pattern in azure_bootstrap?

The db.outbox module provides Outbox.enqueue to stage messages in a Postgres table within your transaction, and drain_outbox to send them via a sender like AcsEmailSender using FOR UPDATE SKIP LOCKED batching. This guarantees messages are not lost between the database commit and the send.

When should I use the azbootstrap scaffold CLI?

Use azbootstrap scaffold when starting a new Azure service to generate Terraform AKS configs, Bicep files, Helm worker charts, GitOps kustomize bases, CI/CD workflows, and OPA/Conftest policy starters from templates. Run azbootstrap list to see available templates.