AI Lab / Prompt Library

Prompt & Content Engineering

An enterprise prompt library: schema-steered extraction, confidence-gated routing, injection guardrails, agent role scaffolds and AI-assisted engineering review, each with example input, output and failure modes.

Agents

Confidence-Gated Intent Router with a Clarify-First Rule

Classify a request into one of a fixed set of intents, extract the details each intent needs, and ask instead of guessing when confidence is low. The custom multi-agent runtime's orchestrator uses this pattern with a 0.7 confidence threshold; this is a generalized template.

View and copy the prompt
Agents

Specialist Agent Role Scaffold (Persona, Inputs, Handoff Awareness)

Define a specialist agent so it commits to specifics, builds on earlier work and knows its output will be reconciled. Each specialist in the custom multi-agent runtime follows this structure; this is a generalized template.

View and copy the prompt
Agents

Untrusted-Input Boundary Guardrail (Prompt-Injection Defence)

Keep user-supplied or retrieved content from being treated as instructions. Every agent in the custom multi-agent runtime, and the LLM fallback in the WhatsApp platform, uses this pattern. This is a generalized template; production versions differ per system and are not published.

View and copy the prompt
Coding

AI-Assisted Systems Engineering: Architecture, Edge-Case and Artifact Review

How I use Claude as an engineering partner across these systems: to stress-test an architecture, generate edge cases and tests, and verify generated artifacts against their source. This template is the review step; it is used alongside, not instead of, my own design and code review.

View and copy the prompt
Documentation

Schema-Steered Structured Extraction (JSON Without Extra Libraries)

Extract structured facts from unstructured text into one JSON object that code can validate and format, without relying on a structured-output library. This pattern drives the single-pass extraction in the SDLC artifact pipeline and the reply interpretation in the WhatsApp platform; this is a generalized template of it.

View and copy the prompt
Productivity

Brief Expander: Casual Request to Structured Brief

Turn a short, casual request into a structured brief that downstream agents can act on, using recent conversation and stored context. In the custom multi-agent runtime this runs before routing and fails soft by passing the raw text through if it errors.

View and copy the prompt
RAG

Cross-Document Synthesis Answer Prompt (Grounded RAG Q&A)

The prompt behind direct answers in the SDLC artifact pipeline. It receives the passages hybrid search found for a question and answers like a colleague who attended every meeting. Its main job is cross-document synthesis: never rely on a single meeting unless the question limits the scope, and when a business need or requirement comes up several times, keep every mention and show how it evolved, rather than collapsing it into one line.

View and copy the prompt