Skip to content

davidbirchall/squad-skills-ai-engineering

v0.2.0

AI engineering skills for LLM-powered applications and agent systems: LLM integration, prompt engineering, agent design and orchestration, tool and MCP integration, context engineering, retrieval-augmented generation, evaluation, testing, security, and observability.

ai-cost-latency-control

Controlling cost and latency of LLM features in a TypeScript/NestJS chat backend - budgets per user, tenant, and request, token accounting from provider usage fields, prompt caching and stable prefixes, model routing between small and large models, max output tokens, timeouts, fallbacks, retries with jitter and idempotency, time-to-first-token as the primary UX metric, parallel tool calls, semantic and response caching caveats, cost dashboards and alerts, and degradation modes. Provider-agnostic. Load when estimating or capping spend, reducing response latency, adding retries or fallbacks, or setting up cost monitoring.

Read SKILL.md at the source

Pinned to revision c74eff4a9f08, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.